@tangle-network/agent-provider-cli-bridge 0.8.0 → 0.8.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.
Files changed (2) hide show
  1. package/dist/wire.js +2 -2
  2. package/package.json +1 -1
package/dist/wire.js CHANGED
@@ -112,8 +112,8 @@ function assertRetainedTurnInputSupported(turn) {
112
112
  unsupported.push("contextTransfer");
113
113
  if (turn.nativeContinuation !== undefined)
114
114
  unsupported.push("nativeContinuation");
115
- if (turn.detach === true)
116
- unsupported.push("detach");
115
+ // `detach` controls the provider's response reader. The bridge request stays unchanged.
116
+ // The streaming path rejects detached turns before it calls this encoder.
117
117
  if (unsupported.length > 0) {
118
118
  throw new Error(`cli-bridge retained turns cannot represent ${unsupported.join(", ")}`);
119
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-provider-cli-bridge",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "AgentEnvironmentProvider adapter for cli-bridge retained sessions and one-shot turns",
5
5
  "type": "module",
6
6
  "license": "MIT",