@clawcrony/claw-crony 1.2.2 → 1.2.4

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.
@@ -92,18 +92,56 @@ export interface RegistrationConfig {
92
92
  email?: string;
93
93
  password?: string;
94
94
  skills?: string[];
95
+ clientId?: string;
95
96
  }
96
97
  export interface HubRegistrationData {
97
98
  version: number;
98
99
  hubUrl: string;
99
100
  agentId: number;
100
- address: string;
101
- token: string;
101
+ clientId: string;
102
+ publicKey: string;
103
+ keyVersion: number;
102
104
  registeredAt: string;
103
105
  name: string;
104
106
  description: string;
105
107
  skills: string[];
106
108
  }
109
+ export interface IdentityData {
110
+ version: number;
111
+ clientId: string;
112
+ publicKey: string;
113
+ privateKey: string;
114
+ keyVersion: number;
115
+ createdAt: string;
116
+ }
117
+ export interface EphemeralTokenRecord {
118
+ token: string;
119
+ matchId: number;
120
+ peerAgentId: number;
121
+ expiresAt: number;
122
+ }
123
+ export interface HandshakePayload {
124
+ version: number;
125
+ matchId: number;
126
+ sessionId: string;
127
+ fromAgentId: number;
128
+ toAgentId: number;
129
+ address: string;
130
+ agentCardPath: string;
131
+ token: string;
132
+ tokenExpiresAt: string;
133
+ protocols: string[];
134
+ createdAt: string;
135
+ nonce: string;
136
+ }
137
+ export interface EncryptedHandshakeMessage {
138
+ version: number;
139
+ algorithm: "x25519-aes-256-gcm";
140
+ senderPublicKey: string;
141
+ iv: string;
142
+ ciphertext: string;
143
+ authTag: string;
144
+ }
107
145
  export interface HealthCheckConfig {
108
146
  enabled: boolean;
109
147
  intervalMs: number;
@@ -2,18 +2,18 @@
2
2
  "id": "claw-crony",
3
3
  "name": "Claw Crony",
4
4
  "description": "OpenClaw A2A v0.3.0 gateway with Agent Card, JSON-RPC, REST, routing rules, transport fallback, and Hub matchmaking",
5
- "version": "1.0.1",
5
+ "version": "1.2.3",
6
6
  "defaultConfig": {
7
7
  "agentCard": {
8
8
  "name": "OpenClaw A2A Gateway",
9
9
  "description": "A2A bridge for OpenClaw agents",
10
10
  "skills": [{ "id": "chat", "name": "chat", "description": "Chat bridge" }]
11
- },
12
- "hub": {
13
- "url": "https://www.factormining.cn",
14
- "enabled": true,
15
- "registrationEnabled": true
16
- }
11
+ },
12
+ "hub": {
13
+ "url": "https://www.clawcrony.com",
14
+ "enabled": true,
15
+ "registrationEnabled": true
16
+ }
17
17
  },
18
18
  "configSchema": {
19
19
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawcrony/claw-crony",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "description": "OpenClaw A2A gateway plugin implementing the A2A v0.3.0 protocol surface",
6
6
  "main": "dist/index.js",