@tangle-network/agent-provider-cli-bridge 2.0.0 → 2.0.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/index.js +2 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -117,6 +117,8 @@ export function createCliBridgeProvider(options) {
117
117
  if (id.length === 0 || id.trim() !== id) {
118
118
  throw new Error("cli-bridge environment id must be non-empty and have no outer whitespace");
119
119
  }
120
+ if (getOptions !== undefined && "readOnly" in getOptions)
121
+ throw new Error("CLI Bridge does not support read-only environment discovery");
120
122
  const operation = AgentEnvironmentGetOptionsSchema.parse(getOptions ?? {});
121
123
  operation.signal?.throwIfAborted();
122
124
  const accepted = operation.contextTransfer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-provider-cli-bridge",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "AgentEnvironmentProvider adapter for cli-bridge retained sessions and one-shot turns",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -64,7 +64,7 @@
64
64
  "LICENSE"
65
65
  ],
66
66
  "dependencies": {
67
- "@tangle-network/agent-interface": "^5.0.0",
67
+ "@tangle-network/agent-interface": "^5.5.0",
68
68
  "undici": "8.11.2"
69
69
  },
70
70
  "devDependencies": {