@envarai/connect 2026.1110.1 → 2026.1110.2

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 CHANGED
@@ -28,7 +28,7 @@ For the independent seller-side developer path, start with [EnvarPay](https://gi
28
28
  ## Install
29
29
 
30
30
  ```sh
31
- npm install --global --ignore-scripts @envarai/connect@2026.1110.1
31
+ npm install --global --ignore-scripts @envarai/connect@2026.1110.2
32
32
  envar-connect --version
33
33
  ```
34
34
 
@@ -23,6 +23,9 @@ export interface ConnectionStatus {
23
23
  platform: string;
24
24
  revision: number;
25
25
  readiness: Record<string, unknown>;
26
+ protocol_support?: {
27
+ a2a_relay_v1?: boolean;
28
+ };
26
29
  }
27
30
  export declare class EnvarWorkClient {
28
31
  readonly origin: string;
@@ -92,6 +92,11 @@ export class EnvarWorkClient {
92
92
  return await this.request('/api/v1/agent-connections/current/credential', {}, undefined, 'DELETE');
93
93
  }
94
94
  async relayHello(cardDigest) {
95
+ // Older product routers can return 403 for an unknown protocol route.
96
+ // Negotiate through the existing authenticated connection endpoint first;
97
+ // never reinterpret a real handshake authorization failure as support.
98
+ if ((await this.status()).protocol_support?.a2a_relay_v1 !== true)
99
+ return false;
95
100
  try {
96
101
  const value = await this.request('/api/v1/connector/a2a-relay/hello', {
97
102
  relay_version: '1', a2a_wire_version: '1.0', runtime_card_digest: cardDigest,
package/docs/a2a-relay.md CHANGED
@@ -33,3 +33,9 @@ cancellation, durable lookup after native runtime restart, media artifacts and
33
33
  streaming remain unverified and disabled. A package version or Card claim alone
34
34
  cannot enable these capabilities. Upgrade through the existing connection
35
35
  instructions, preserving credentials, native binding, SQLite journal and lock.
36
+
37
+ Connect 2026.1110.2 reads authenticated connection status first and negotiates
38
+ relay only when the server explicitly advertises `a2a_relay_v1: true`. An older
39
+ server or a paused relay therefore continues Work v1 without a request to an
40
+ unknown route. Actual 401/403 authorization failures remain fatal; they are
41
+ never treated as evidence of protocol compatibility.
@@ -3,7 +3,7 @@
3
3
  Install the release documented by this checkout:
4
4
 
5
5
  ```sh
6
- npm install --global --ignore-scripts @envarai/connect@2026.1110.1
6
+ npm install --global --ignore-scripts @envarai/connect@2026.1110.2
7
7
  envar-connect --version
8
8
  ```
9
9
 
@@ -18,7 +18,7 @@ Replace `CONTAINER` with your container name. Run `node --version` there. On a l
18
18
  Create a private Envar Agent and copy its connection command. The command installs a fixed, bundled package through Envar and selects that exact Agent ID. The official npm package is also available:
19
19
 
20
20
  ```sh
21
- npm install --prefix "$HOME/.envarpay/cli" --ignore-scripts --no-audit --no-fund @envarai/connect@2026.1110.1
21
+ npm install --prefix "$HOME/.envarpay/cli" --ignore-scripts --no-audit --no-fund @envarai/connect@2026.1110.2
22
22
  "$HOME/.envarpay/cli/node_modules/.bin/envar-connect" connect --agent AGENT_UUID --framework hermes
23
23
  ```
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envarai/connect",
3
- "version": "2026.1110.1",
3
+ "version": "2026.1110.2",
4
4
  "description": "Connect your own Agent to Envar: tasks, native adapters and recovery",
5
5
  "type": "module",
6
6
  "license": "MIT",