a2acalling 0.6.31 → 0.6.33

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/bin/cli.js CHANGED
@@ -466,8 +466,7 @@ const commands = {
466
466
  const ownerName = args.flags.owner || args.flags.o || configAgent.owner || configAgent.name || null;
467
467
 
468
468
  // Get topics from disclosure manifest based on tier (with inheritance)
469
- const manifest = loadManifest();
470
- const tierTopics = getTopicsForTier(manifest, tier);
469
+ const tierTopics = getTopicsForTier(tier);
471
470
 
472
471
  // Parse custom topics if provided, otherwise use tier topics
473
472
  let allowedTopics;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "a2acalling",
3
- "version": "0.6.31",
3
+ "version": "0.6.33",
4
4
  "description": "Agent-to-agent calling for OpenClaw - A2A agent communication",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/lib/client.js CHANGED
@@ -42,9 +42,9 @@ function resolveProtocolAndPort(host) {
42
42
  hostname === '::1' ||
43
43
  hostname.startsWith('127.');
44
44
 
45
- const port = hasExplicitPort ? parsed.port : (isLocalhost ? 80 : 443);
45
+ const port = hasExplicitPort ? parsed.port : 80;
46
46
  // Use HTTP for localhost or explicit non-443 ports, HTTPS otherwise.
47
- const useHttp = isLocalhost || (hasExplicitPort && port !== 443);
47
+ const useHttp = isLocalhost || port === 80 || (hasExplicitPort && port !== 443);
48
48
  const protocol = useHttp ? http : https;
49
49
 
50
50
  return { protocol, hostname, port };