@artinet/sdk 0.5.15 → 0.5.17
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 +11 -34
- package/dist/server/express/server.d.ts +24 -24
- package/dist/services/a2a/factory/builder.d.ts +26 -26
- package/dist/services/a2a/factory/builder.js +38 -72
- package/dist/services/a2a/factory/service.js +2 -1
- package/dist/services/a2a/helpers/agentcard-builder.d.ts +7 -0
- package/dist/services/a2a/helpers/agentcard-builder.js +22 -0
- package/dist/services/a2a/helpers/index.d.ts +1 -0
- package/dist/services/a2a/helpers/index.js +1 -0
- package/dist/services/a2a/methods/get-task.d.ts +46 -46
- package/dist/services/a2a/service.d.ts +152 -152
- package/dist/transport/trpc/a2a/factory/router.d.ts +1084 -1084
- package/dist/transport/trpc/a2a/routes/info.d.ts +36 -36
- package/dist/transport/trpc/a2a/routes/message/route.d.ts +225 -225
- package/dist/transport/trpc/a2a/routes/tasks/route.d.ts +257 -257
- package/dist/transport/trpc/a2a/trpc.d.ts +120 -120
- package/dist/types/interfaces/services/a2a/service.d.ts +2 -1
- package/dist/types/schemas/a2a/agent.d.ts +818 -818
- package/dist/types/schemas/a2a/agent.js +1 -23
- package/dist/types/schemas/a2a/auth.d.ts +197 -197
- package/dist/types/schemas/a2a/auth.js +4 -19
- package/dist/types/schemas/a2a/error.d.ts +24 -24
- package/dist/types/schemas/a2a/message.d.ts +4499 -4499
- package/dist/types/schemas/a2a/message.js +2 -10
- package/dist/types/schemas/a2a/notification.d.ts +403 -403
- package/dist/types/schemas/a2a/notification.js +3 -7
- package/dist/types/schemas/a2a/parameters.d.ts +264 -264
- package/dist/types/schemas/a2a/parameters.js +1 -14
- package/dist/types/schemas/a2a/protocol.d.ts +5988 -5988
- package/dist/types/schemas/a2a/rpc.d.ts +20 -20
- package/dist/types/schemas/a2a/rpc.js +0 -5
- package/dist/types/schemas/a2a/task.d.ts +2513 -2513
- package/dist/types/schemas/a2a/task.js +10 -11
- package/package.json +1 -1
|
@@ -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 |
|
|
17
|
-
description?: string |
|
|
18
|
-
params?: Record<string, unknown> |
|
|
19
|
-
}[] |
|
|
20
|
-
streaming?: boolean |
|
|
21
|
-
pushNotifications?: boolean |
|
|
22
|
-
stateTransitionHistory?: boolean |
|
|
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;
|
|
23
23
|
};
|
|
24
24
|
defaultInputModes: string[];
|
|
25
25
|
defaultOutputModes: string[];
|
|
@@ -28,33 +28,33 @@ export declare const agentInfoRoute: import("@trpc/server").TRPCQueryProcedure<{
|
|
|
28
28
|
id: string;
|
|
29
29
|
description: string;
|
|
30
30
|
tags: string[];
|
|
31
|
-
examples?: string[] |
|
|
32
|
-
inputModes?: string[] |
|
|
33
|
-
outputModes?: string[] |
|
|
34
|
-
security?: Record<string, string[]>[] |
|
|
31
|
+
examples?: string[] | undefined;
|
|
32
|
+
inputModes?: string[] | undefined;
|
|
33
|
+
outputModes?: string[] | undefined;
|
|
34
|
+
security?: Record<string, string[]>[] | undefined;
|
|
35
35
|
}[];
|
|
36
|
-
security?: Record<string, string[]>[] |
|
|
37
|
-
preferredTransport?: string |
|
|
36
|
+
security?: Record<string, string[]>[] | undefined;
|
|
37
|
+
preferredTransport?: string | undefined;
|
|
38
38
|
additionalInterfaces?: {
|
|
39
39
|
url: string;
|
|
40
40
|
transport: string;
|
|
41
|
-
}[] |
|
|
42
|
-
iconUrl?: string |
|
|
41
|
+
}[] | undefined;
|
|
42
|
+
iconUrl?: string | undefined;
|
|
43
43
|
provider?: {
|
|
44
44
|
url: string;
|
|
45
45
|
organization: string;
|
|
46
|
-
} |
|
|
47
|
-
documentationUrl?: string |
|
|
46
|
+
} | undefined;
|
|
47
|
+
documentationUrl?: string | undefined;
|
|
48
48
|
securitySchemes?: Record<string, {
|
|
49
49
|
name: string;
|
|
50
50
|
type: "apiKey";
|
|
51
51
|
in: "header" | "query" | "cookie";
|
|
52
|
-
description?: string |
|
|
52
|
+
description?: string | undefined;
|
|
53
53
|
} | {
|
|
54
54
|
type: "http";
|
|
55
55
|
scheme: string;
|
|
56
|
-
description?: string |
|
|
57
|
-
bearerFormat?: string |
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
bearerFormat?: string | 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 |
|
|
66
|
-
} |
|
|
65
|
+
refreshUrl?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
67
|
clientCredentials?: {
|
|
68
68
|
tokenUrl: string;
|
|
69
69
|
scopes: Record<string, string>;
|
|
70
|
-
refreshUrl?: string |
|
|
71
|
-
} |
|
|
70
|
+
refreshUrl?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
72
72
|
implicit?: {
|
|
73
73
|
authorizationUrl: string;
|
|
74
74
|
scopes: Record<string, string>;
|
|
75
|
-
refreshUrl?: string |
|
|
76
|
-
} |
|
|
75
|
+
refreshUrl?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
77
77
|
password?: {
|
|
78
78
|
tokenUrl: string;
|
|
79
79
|
scopes: Record<string, string>;
|
|
80
|
-
refreshUrl?: string |
|
|
81
|
-
} |
|
|
80
|
+
refreshUrl?: string | undefined;
|
|
81
|
+
} | undefined;
|
|
82
82
|
};
|
|
83
|
-
description?: string |
|
|
84
|
-
oauth2MetadataUrl?: string |
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
oauth2MetadataUrl?: string | undefined;
|
|
85
85
|
} | {
|
|
86
86
|
type: "openIdConnect";
|
|
87
87
|
openIdConnectUrl: string;
|
|
88
|
-
description?: string |
|
|
88
|
+
description?: string | undefined;
|
|
89
89
|
} | {
|
|
90
90
|
type: "mutualTLS";
|
|
91
|
-
description?: string |
|
|
92
|
-
}> |
|
|
93
|
-
supportsAuthenticatedExtendedCard?: boolean |
|
|
91
|
+
description?: string | undefined;
|
|
92
|
+
}> | undefined;
|
|
93
|
+
supportsAuthenticatedExtendedCard?: boolean | undefined;
|
|
94
94
|
signatures?: {
|
|
95
95
|
protected: string;
|
|
96
96
|
signature: string;
|
|
97
|
-
header?: Record<string, unknown> |
|
|
98
|
-
}[] |
|
|
97
|
+
header?: Record<string, unknown> | undefined;
|
|
98
|
+
}[] | undefined;
|
|
99
99
|
};
|
|
100
100
|
meta: object;
|
|
101
101
|
}>;
|