@harness-gw/sdk 0.13.0 → 0.15.0

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
@@ -63,7 +63,7 @@ You need a running harness. Hermes is the primary one; see
63
63
  docker run --rm \
64
64
  -v "$PWD/config.yaml:/run/harness-gw/config.yaml:ro" \
65
65
  -v "$PWD/hermes-token:/run/secrets/hermes-token:ro" \
66
- ghcr.io/almogbaku/harness-gw:0.13.0 \
66
+ ghcr.io/almogbaku/harness-gw:0.15.0 \
67
67
  config check --config /run/harness-gw/config.yaml
68
68
  ```
69
69
 
@@ -73,7 +73,7 @@ You need a running harness. Hermes is the primary one; see
73
73
  docker run --rm -p 127.0.0.1:4100:4100 \
74
74
  -v "$PWD/config.yaml:/run/harness-gw/config.yaml:ro" \
75
75
  -v "$PWD/hermes-token:/run/secrets/hermes-token:ro" \
76
- ghcr.io/almogbaku/harness-gw:0.13.0 \
76
+ ghcr.io/almogbaku/harness-gw:0.15.0 \
77
77
  serve --config /run/harness-gw/config.yaml
78
78
  ```
79
79
 
@@ -118,11 +118,11 @@ await connection.prompt(sessionId, [{ type: "text", text: "Hello" }], {})
118
118
 
119
119
  The package has three entry points:
120
120
 
121
- | Import | What it holds |
122
- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
123
- | `@harness-gw/sdk` | The ACP connection with reconnect and backoff, the workspace client (Agents, Sessions, read state, activity), approvals, questions, and `HgwRemoteClient` for the HTTP routes |
124
- | `@harness-gw/sdk/protocol` | The wire alone: `_hgw/*` method names, the `_meta.hgw` zod schemas and their types, route paths and `HGW_EXTENSION_VERSION`. It loads without the client |
125
- | `@harness-gw/sdk/node` | Server-only: `mcpAppStableOriginKey` and `artifactFileId`, the ids an MCP server derives as the gateway does. It needs Node's `crypto` |
121
+ | Import | What it holds |
122
+ | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
123
+ | `@harness-gw/sdk` | The ACP connection with reconnect and backoff, the workspace client (Agents, Sessions, read state, activity), approvals, questions, and `HgwRemoteClient` for the HTTP routes |
124
+ | `@harness-gw/sdk/protocol` | The wire alone: `_hgw/*` method names, the `_meta.hgw` zod schemas and their types, route paths and `HGW_EXTENSION_VERSION`. It loads without the client |
125
+ | `@harness-gw/sdk/node` | Server-only: `mcpAppStableOriginKey` and `artifactFileId`, the ids an MCP server derives as the gateway does, and `canonicalUrl`, a URL's WHATWG serialization with no trailing slash, the form the key hashes. It needs Node's `crypto` |
126
126
 
127
127
  The client checks the gateway's extension version during `initialize`. On a
128
128
  mismatch it fails `initialized` with both versions named and stops instead of