@tangle-network/agent-provider-cli-bridge 2.0.4 → 2.0.5
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/dist/sandbox/box.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export declare const BOX_PINS: {
|
|
|
23
23
|
readonly cliBridgeCommit: "263f700dc5ca8b7b6e53b986d376102e0d82b42f";
|
|
24
24
|
readonly agentProfileMaterialize: "1.1.4";
|
|
25
25
|
};
|
|
26
|
+
/** The E2B template and Daytona snapshot name `pnpm build:sandbox-image` publishes for these pins. */
|
|
27
|
+
export declare const BOX_TEMPLATE_NAME: string;
|
|
26
28
|
export interface BoxRouter {
|
|
27
29
|
/** Router root URL, without a path. */
|
|
28
30
|
baseUrl: string;
|
package/dist/sandbox/box.js
CHANGED
|
@@ -23,6 +23,8 @@ export const BOX_PINS = {
|
|
|
23
23
|
cliBridgeCommit: "263f700dc5ca8b7b6e53b986d376102e0d82b42f",
|
|
24
24
|
agentProfileMaterialize: "1.1.4",
|
|
25
25
|
};
|
|
26
|
+
/** The E2B template and Daytona snapshot name `pnpm build:sandbox-image` publishes for these pins. */
|
|
27
|
+
export const BOX_TEMPLATE_NAME = `tangle-cli-bridge-box-${BOX_PINS.cliBridgeCommit.slice(0, 12)}`;
|
|
26
28
|
export const BOX_HARNESSES = {
|
|
27
29
|
"claude-code": {
|
|
28
30
|
harness: "claude-code",
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ export { createBridgeSandboxProvider, BRIDGE_RUN_TAG } from "./provider.js";
|
|
|
2
2
|
export type { BridgeSandboxProviderOptions } from "./provider.js";
|
|
3
3
|
export type { BridgeSandbox, BridgeSandboxCreateRequest, BridgeSandboxSummary, BridgeSandboxVendor, BridgeVendorSupport, } from "./vendor.js";
|
|
4
4
|
export { validateBoxProfile } from "./refusal.js";
|
|
5
|
-
export { BOX_HARNESSES, BOX_HOME, BOX_PINS, BOX_WORKSPACE_DIR, BRIDGE_PORT, boxHarnessVersion, } from "./box.js";
|
|
5
|
+
export { BOX_HARNESSES, BOX_HOME, BOX_PINS, BOX_TEMPLATE_NAME, BOX_WORKSPACE_DIR, BRIDGE_PORT, boxHarnessVersion, } from "./box.js";
|
|
6
6
|
export { renderBoxDockerfile } from "./image.js";
|
package/dist/sandbox/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { createBridgeSandboxProvider, BRIDGE_RUN_TAG } from "./provider.js";
|
|
2
2
|
export { validateBoxProfile } from "./refusal.js";
|
|
3
|
-
export { BOX_HARNESSES, BOX_HOME, BOX_PINS, BOX_WORKSPACE_DIR, BRIDGE_PORT, boxHarnessVersion, } from "./box.js";
|
|
3
|
+
export { BOX_HARNESSES, BOX_HOME, BOX_PINS, BOX_TEMPLATE_NAME, BOX_WORKSPACE_DIR, BRIDGE_PORT, boxHarnessVersion, } from "./box.js";
|
|
4
4
|
export { renderBoxDockerfile } from "./image.js";
|
package/dist/sandbox/provider.js
CHANGED
|
@@ -5,9 +5,8 @@ import { canonicalAgentProfileDigest, TANGLE_ROUTER_DEFAULT_ROOT_URL, } from "@t
|
|
|
5
5
|
import { AgentEnvironmentGetOptionsSchema, AgentTurnInputSchema, EnvironmentProviderError, } from "@tangle-network/agent-interface/environment-provider";
|
|
6
6
|
import { harnessModelSupportFor } from "@tangle-network/cli-agent-registry";
|
|
7
7
|
import { createCliBridgeProvider, defaultCliBridgeCapabilities } from "../index.js";
|
|
8
|
-
import { plannerLowers } from "./refusal.js";
|
|
9
8
|
import { BOX_WORKSPACE_DIR, BRIDGE_PORT, BRIDGE_START_COMMAND, bridgeProcessEnv, boxHarness, boxHarnessVersion, } from "./box.js";
|
|
10
|
-
import { assertProfileValid, declarableHarnesses, refuseUnsupportedCreateInput, resolveBoxHarness, validateBoxProfile } from "./refusal.js";
|
|
9
|
+
import { assertProfileValid, declarableHarnesses, plannerLowers, refuseUnsupportedCreateInput, resolveBoxHarness, validateBoxProfile } from "./refusal.js";
|
|
11
10
|
export const BRIDGE_RUN_TAG = "tangle-bridge-run";
|
|
12
11
|
const DEFAULT_LIFETIME_MS = 2 * 60 * 60 * 1000;
|
|
13
12
|
const DEFAULT_READY_TIMEOUT_MS = 120_000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-provider-cli-bridge",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "AgentEnvironmentProvider adapter for cli-bridge retained sessions and one-shot turns",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@tangle-network/cli-agent-registry": "^0.14.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
|
-
"@tangle-network/agent-provider-testkit": "0.12.
|
|
90
|
+
"@tangle-network/agent-provider-testkit": "0.12.4",
|
|
91
91
|
"@types/node": "26.6.5",
|
|
92
92
|
"typescript": "6.0.3",
|
|
93
93
|
"vitest": "5.0.5"
|