@agen-ai/acp-transport 0.4.0 → 0.4.1

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
@@ -5,7 +5,8 @@ This optional AgenAI Agent SDK package connects a host to streams supplied by th
5
5
  host. It validates messages against packaged, hash-pinned ACP schemas and owns
6
6
  framing, correlation, reverse requests, deadlines and connection cleanup.
7
7
 
8
- The coordinated SDK version is `0.4.0`. The package is ESM, MIT
8
+ The coordinated SDK source version is `0.4.1` and remains unpublished; the published
9
+ release is `0.4.0`. The package is ESM, MIT
9
10
  licensed and side-effect-free on import, with exact Ajv `8.17.1` as its sole runtime
10
11
  dependency. It is independent of the provider-neutral `@agen-ai/agent-protocol`
11
12
  and `@agen-ai/agent-runtime` packages.
@@ -56,7 +57,7 @@ bounded protocol limits, typed errors and explicit extension registration.
56
57
  No internal file path is a supported import.
57
58
 
58
59
  Transport errors and validated remote JSON-RPC errors retain their ACP meanings. Provider adapters
59
- own translation into Agent Protocol V10 failures and any provider-owned retry observation; the
60
+ own translation into Agent Protocol V11 failures and any provider-owned retry observation; the
60
61
  transport has no dependency on that protocol and grants no turn replay or quota authority.
61
62
 
62
63
  An adapter migrating from a private transport import should use these public
package/dist/errors.js CHANGED
@@ -5,8 +5,6 @@ class AcpClientError extends Error {
5
5
  this.diagnostics = diagnostics;
6
6
  this.name = "AcpClientError";
7
7
  }
8
- reasonCode;
9
- diagnostics;
10
8
  }
11
9
  class AcpProtocolError extends AcpClientError {
12
10
  constructor(reasonCode, diagnostics = {}) {
@@ -20,7 +18,6 @@ class AcpRequestError extends AcpClientError {
20
18
  this.requestId = requestId;
21
19
  this.name = "AcpRequestError";
22
20
  }
23
- requestId;
24
21
  }
25
22
  class AcpRemoteError extends AcpRequestError {
26
23
  constructor(requestId, code, remoteMessage, data) {
@@ -30,9 +27,6 @@ class AcpRemoteError extends AcpRequestError {
30
27
  this.data = data;
31
28
  this.name = "AcpRemoteError";
32
29
  }
33
- code;
34
- remoteMessage;
35
- data;
36
30
  }
37
31
  class AcpRpcHandlerError extends Error {
38
32
  constructor(code, message, data) {
@@ -41,8 +35,6 @@ class AcpRpcHandlerError extends Error {
41
35
  this.data = data;
42
36
  this.name = "AcpRpcHandlerError";
43
37
  }
44
- code;
45
- data;
46
38
  }
47
39
  export {
48
40
  AcpClientError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agen-ai/acp-transport",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,