Skip to content

Commit f63b667

Browse files
committed
fix(acp-bridge,openclaw): use AgentRelay.spawnAgent instead of removed spawnPty
The AgentRelay class no longer exposes spawnPty (it lives only on AgentRelayClient). The two remaining callers were using the unified spawnAgent facade was renamed during the #1003 spawn-provider work, so this restores the build for both packages.
1 parent d4bc060 commit f63b667

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/acp-bridge/src/acp-agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ export class RelayACPAgent implements acp.Agent {
736736

737737
try {
738738
const relay = this.relay!;
739-
const agent = await relay.spawnPty({
739+
const agent = await relay.spawnAgent({
740740
name,
741741
cli,
742742
task,

packages/openclaw/src/spawn/process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class ProcessSpawnProvider implements SpawnProvider {
171171
} as NodeJS.ProcessEnv,
172172
});
173173

174-
await relay.spawnPty({
174+
await relay.spawnAgent({
175175
name: agentName,
176176
cli: 'node',
177177
args: [bridgePath],

0 commit comments

Comments
 (0)