wave-code 0.19.2 → 0.19.3

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.
@@ -1,2 +0,0 @@
1
- export declare function startAcpCli(): Promise<void>;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/acp/index.ts"],"names":[],"mappings":"AAKA,wBAAsB,WAAW,kBAsBhC"}
package/dist/acp/index.js DELETED
@@ -1,22 +0,0 @@
1
- import { Readable, Writable } from "node:stream";
2
- import { AgentSideConnection, ndJsonStream } from "@agentclientprotocol/sdk";
3
- import { WaveAcpAgent } from "./agent.js";
4
- import { logger } from "../utils/logger.js";
5
- export async function startAcpCli() {
6
- // Redirect console.log to logger to avoid interfering with JSON-RPC over stdio
7
- console.log = (...args) => {
8
- logger.info(...args);
9
- };
10
- logger.info("Starting ACP bridge...");
11
- // Convert Node.js stdio to Web streams
12
- const stdin = Readable.toWeb(process.stdin);
13
- const stdout = Writable.toWeb(process.stdout);
14
- // Create ACP stream
15
- const stream = ndJsonStream(stdout, stdin);
16
- // Initialize AgentSideConnection
17
- const connection = new AgentSideConnection((conn) => {
18
- return new WaveAcpAgent(conn);
19
- }, stream);
20
- // Wait for connection to close
21
- await connection.closed;
22
- }
package/dist/acp-cli.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare function runAcp(): Promise<void>;
2
- //# sourceMappingURL=acp-cli.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acp-cli.d.ts","sourceRoot":"","sources":["../src/acp-cli.ts"],"names":[],"mappings":"AAEA,wBAAsB,MAAM,kBAE3B"}
package/dist/acp-cli.js DELETED
@@ -1,4 +0,0 @@
1
- import { startAcpCli } from "./acp/index.js";
2
- export async function runAcp() {
3
- await startAcpCli();
4
- }