gopherhole_openclaw_a2a 0.3.5 → 0.3.6
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 +1 -1
- package/dist/src/connection.js +2 -2
- package/dist/src/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/connection.ts +2 -2
- package/src/types.ts +2 -2
package/README.md
CHANGED
package/dist/src/connection.js
CHANGED
|
@@ -23,7 +23,7 @@ export class A2AConnectionManager {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
async connectToGopherHole() {
|
|
26
|
-
const hubUrl = this.config.bridgeUrl || 'wss://gopherhole.ai/ws';
|
|
26
|
+
const hubUrl = this.config.bridgeUrl || 'wss://hub.gopherhole.ai/ws';
|
|
27
27
|
const timeoutMs = this.config.requestTimeoutMs ?? 180000;
|
|
28
28
|
this.gopherhole = new GopherHole({
|
|
29
29
|
apiKey: this.config.apiKey,
|
|
@@ -237,7 +237,7 @@ export class A2AConnectionManager {
|
|
|
237
237
|
if (!this.config.apiKey) {
|
|
238
238
|
return [];
|
|
239
239
|
}
|
|
240
|
-
const hubUrl = this.config.bridgeUrl || 'wss://gopherhole.ai/ws';
|
|
240
|
+
const hubUrl = this.config.bridgeUrl || 'wss://hub.gopherhole.ai/ws';
|
|
241
241
|
// Convert wss:// to https:// for API calls
|
|
242
242
|
const apiBase = hubUrl.replace('wss://', 'https://').replace('/ws', '');
|
|
243
243
|
try {
|
package/dist/src/types.d.ts
CHANGED
package/package.json
CHANGED
package/src/connection.ts
CHANGED
|
@@ -37,7 +37,7 @@ export class A2AConnectionManager {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
private async connectToGopherHole(): Promise<void> {
|
|
40
|
-
const hubUrl = this.config.bridgeUrl || 'wss://gopherhole.ai/ws';
|
|
40
|
+
const hubUrl = this.config.bridgeUrl || 'wss://hub.gopherhole.ai/ws';
|
|
41
41
|
const timeoutMs = this.config.requestTimeoutMs ?? 180000;
|
|
42
42
|
|
|
43
43
|
this.gopherhole = new GopherHole({
|
|
@@ -305,7 +305,7 @@ export class A2AConnectionManager {
|
|
|
305
305
|
return [];
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
const hubUrl = this.config.bridgeUrl || 'wss://gopherhole.ai/ws';
|
|
308
|
+
const hubUrl = this.config.bridgeUrl || 'wss://hub.gopherhole.ai/ws';
|
|
309
309
|
// Convert wss:// to https:// for API calls
|
|
310
310
|
const apiBase = hubUrl.replace('wss://', 'https://').replace('/ws', '');
|
|
311
311
|
|
package/src/types.ts
CHANGED
|
@@ -47,7 +47,7 @@ export interface A2AResponse {
|
|
|
47
47
|
* "channels": {
|
|
48
48
|
* "a2a": {
|
|
49
49
|
* "enabled": true,
|
|
50
|
-
* "bridgeUrl": "wss://gopherhole.ai/ws",
|
|
50
|
+
* "bridgeUrl": "wss://hub.gopherhole.ai/ws",
|
|
51
51
|
* "apiKey": "gph_your_api_key"
|
|
52
52
|
* }
|
|
53
53
|
* }
|
|
@@ -55,7 +55,7 @@ export interface A2AResponse {
|
|
|
55
55
|
*/
|
|
56
56
|
export interface A2AChannelConfig {
|
|
57
57
|
enabled?: boolean;
|
|
58
|
-
bridgeUrl?: string; // WebSocket URL (default: wss://gopherhole.ai/ws)
|
|
58
|
+
bridgeUrl?: string; // WebSocket URL (default: wss://hub.gopherhole.ai/ws)
|
|
59
59
|
apiKey?: string; // GopherHole API key (gph_...)
|
|
60
60
|
agentId?: string; // Our agent ID (default: "openclaw")
|
|
61
61
|
agentName?: string; // Display name for agent card
|