@tangle-network/agent-provider-cli-bridge 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -54,6 +54,9 @@ export function createCliBridgeProvider(options) {
54
54
  });
55
55
  };
56
56
  const createEnvironment = async (input) => {
57
+ if (input.runtimeAttachments !== undefined) {
58
+ throw new Error("CLI Bridge provider does not support runtime MCP attachments");
59
+ }
57
60
  if (typeof input.profile === "string") {
58
61
  throw new Error(`createCliBridgeProvider requires an inline AgentProfile; named profile "${input.profile}" is unsupported`);
59
62
  }
@@ -101,7 +104,7 @@ export function createCliBridgeProvider(options) {
101
104
  return resolveCapabilities(configuredBackend, options.defaultModel, true, true);
102
105
  },
103
106
  create(input) {
104
- return createAgentEnvironmentWithIdempotency(createRecords, input, () => createEnvironment(input));
107
+ return createAgentEnvironmentWithIdempotency(createRecords, input, createEnvironment);
105
108
  },
106
109
  async get(id, getOptions) {
107
110
  if (id.length === 0 || id.trim() !== id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-provider-cli-bridge",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "AgentEnvironmentProvider adapter for cli-bridge retained sessions and one-shot turns",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -64,11 +64,11 @@
64
64
  "LICENSE"
65
65
  ],
66
66
  "dependencies": {
67
- "@tangle-network/agent-interface": "^2.0.0",
68
- "undici": "8.10.0"
67
+ "@tangle-network/agent-interface": "^2.4.0",
68
+ "undici": "8.10.1"
69
69
  },
70
70
  "devDependencies": {
71
- "@types/node": "26.4.0",
71
+ "@types/node": "26.4.1",
72
72
  "typescript": "7.0.2",
73
73
  "vitest": "4.1.11"
74
74
  },