@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 +1 -1
- package/dist/connector/client.d.ts +3 -0
- package/dist/connector/client.js +5 -0
- package/docs/a2a-relay.md +6 -0
- package/docs/compatibility.md +1 -1
- package/docs/native-connector.md +1 -1
- package/package.json +1 -1
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.
|
|
31
|
+
npm install --global --ignore-scripts @envarai/connect@2026.1110.2
|
|
32
32
|
envar-connect --version
|
|
33
33
|
```
|
|
34
34
|
|
package/dist/connector/client.js
CHANGED
|
@@ -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.
|
package/docs/compatibility.md
CHANGED
package/docs/native-connector.md
CHANGED
|
@@ -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.
|
|
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
|
|