@sekuire/sdk 0.1.16 → 0.1.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/dist/a2a-client.d.ts +6 -0
- package/dist/a2a-delegator.d.ts +1 -0
- package/dist/index.d.ts +604 -587
- package/dist/index.esm.js +14987 -14922
- package/dist/index.js +14987 -14922
- package/dist/sdk.d.ts +11 -0
- package/package.json +1 -1
package/dist/a2a-client.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export interface A2AClientOptions {
|
|
|
11
11
|
authToken: string;
|
|
12
12
|
/** Optional timeout in milliseconds (default: 30000) */
|
|
13
13
|
timeout?: number;
|
|
14
|
+
/** Optional device fingerprint for API-key auth on task endpoints */
|
|
15
|
+
deviceFingerprint?: string;
|
|
14
16
|
}
|
|
15
17
|
/**
|
|
16
18
|
* A2A Protocol Client
|
|
@@ -42,6 +44,7 @@ export declare class A2AClient {
|
|
|
42
44
|
private authToken;
|
|
43
45
|
private runtimeToken;
|
|
44
46
|
private timeout;
|
|
47
|
+
private deviceFingerprint;
|
|
45
48
|
constructor(options: A2AClientOptions);
|
|
46
49
|
setRuntimeToken(token: string): void;
|
|
47
50
|
/**
|
|
@@ -106,6 +109,9 @@ export declare class A2AClient {
|
|
|
106
109
|
*/
|
|
107
110
|
private jsonRpc;
|
|
108
111
|
private fetch;
|
|
112
|
+
private fetchTask;
|
|
113
|
+
private taskAuthHeaders;
|
|
114
|
+
private isLikelyJwt;
|
|
109
115
|
}
|
|
110
116
|
/**
|
|
111
117
|
* A2A Protocol Error
|
package/dist/a2a-delegator.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare class A2ATaskDelegator {
|
|
|
51
51
|
delegate(request: DelegationRequest): Promise<DelegationResult>;
|
|
52
52
|
delegateWithStreaming(request: DelegationRequest): AsyncGenerator<TaskUpdateEvent, DelegationResult>;
|
|
53
53
|
private delegateDirect;
|
|
54
|
+
private completeRegisteredTaskAndWarn;
|
|
54
55
|
cancelDelegation(taskId: string): void;
|
|
55
56
|
cancelAllDelegations(): void;
|
|
56
57
|
discoverAgents(skill: string): Promise<Array<{
|