@wrongstack/acp 0.309.1 → 0.310.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.
@@ -10,11 +10,11 @@
10
10
  */
11
11
  import { type ACPClientTransport } from '../agent/stdio-transport.js';
12
12
  import { type AgentCapabilities, type AuthMethod, type ContentBlock, type McpServer, type SessionId, type SessionInfo } from '../types/acp-v1.js';
13
- import { type WebSocketClientTransportOptions } from './websocket-transport.js';
14
13
  import type { ACPProgressHandler, ACPSessionOptions, ACPSessionRunResult } from './acp-session-types.js';
15
- export type { ACPCapturedDiff, ACPCapturedToolCall, ACPProgressEvent, ACPProgressHandler, ACPSessionErrorKind, ACPSessionOptions, ACPSessionRunResult, } from './acp-session-types.js';
16
- export { ACPSessionError } from './acp-session-errors.js';
14
+ import { type WebSocketClientTransportOptions } from './websocket-transport.js';
17
15
  export { audioContent, imageContent, textContent } from './acp-session-content.js';
16
+ export { ACPSessionError } from './acp-session-errors.js';
17
+ export type { ACPCapturedDiff, ACPCapturedToolCall, ACPProgressEvent, ACPProgressHandler, ACPSessionErrorKind, ACPSessionOptions, ACPSessionRunResult, } from './acp-session-types.js';
18
18
  export declare class ACPSession {
19
19
  private readonly transport;
20
20
  private readonly fileServer;
@@ -1,3 +1,4 @@
1
+ import type { TaskResult, TaskSpec } from '@wrongstack/core/types';
1
2
  /**
2
3
  * ToolTranslator — bidirectional translation between WrongStack tools and
3
4
  * ACP tool representations.
@@ -14,8 +15,7 @@
14
15
  * a tool is running, then send a final result. The translator handles this
15
16
  * by polling for the final [result] notification on the transport.
16
17
  */
17
- import type { ACPMessage, ACPToolDefinition, ACPToolCallResponse, ContentBlock } from '../types/acp-messages.js';
18
- import type { TaskSpec, TaskResult } from '@wrongstack/core/types';
18
+ import type { ACPMessage, ACPToolCallResponse, ACPToolDefinition, ContentBlock } from '../types/acp-messages.js';
19
19
  export interface ToolTranslatorOptions {
20
20
  /**
21
21
  * If true (default), wrap tool calls in an async poll loop that waits