@bytespell/amux 0.0.9 → 0.0.11
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,4 +1,4 @@
|
|
|
1
|
-
import { c as StreamDriver, e as StreamConfig, f as EmitFn, d as Stream, b as StreamPayload, P as PendingPermission } from '../../types-
|
|
1
|
+
import { c as StreamDriver, e as StreamConfig, f as EmitFn, d as Stream, b as StreamPayload, P as PendingPermission } from '../../types-DCRtrjjj.js';
|
|
2
2
|
import '@agentclientprotocol/sdk';
|
|
3
3
|
|
|
4
4
|
/** ACP backend state for persistence */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StartStreamArgs, a as StreamHandle, b as StreamPayload, c as StreamDriver, d as Stream, E as Emit, P as PendingPermission } from '../types-
|
|
1
|
+
import { S as StartStreamArgs, a as StreamHandle, b as StreamPayload, c as StreamDriver, d as Stream, E as Emit, P as PendingPermission } from '../types-DCRtrjjj.js';
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import '@agentclientprotocol/sdk';
|
|
4
4
|
|
|
@@ -25,8 +25,8 @@ type EmitFn = (payload: StreamPayload) => void;
|
|
|
25
25
|
interface StreamDriver {
|
|
26
26
|
/** Unique identifier for this driver type (used for routing) */
|
|
27
27
|
readonly type: string;
|
|
28
|
-
/** Stream type this driver provides ('acp' for conversational, 'pty' for terminal) */
|
|
29
|
-
readonly streamType:
|
|
28
|
+
/** Stream type this driver provides (e.g., 'acp' for conversational, 'pty' for terminal) */
|
|
29
|
+
readonly streamType: string;
|
|
30
30
|
/** Start stream for a given streamId, optionally restoring from previous state */
|
|
31
31
|
start(streamId: string, config: StreamConfig, cwd: string, backendState: unknown | null, emit: EmitFn, storageDir: string): Promise<Stream>;
|
|
32
32
|
/** Get replay data for reconnecting clients (events for ACP, scrollback for PTY) */
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AcpEvent, h as AcpLifecycleEvent, E as Emit, L as LifecycleEvent, g as ModeInfo, M as ModelInfo, N as NormalizedPlanEntry, P as PendingPermission, S as StartStreamArgs, i as StreamEvent, a as StreamHandle, b as StreamPayload, T as TerminalEvent, k as isAcpEvent, l as isAcpLifecycleEvent, j as isLifecycleEvent, m as isTerminalEvent, n as normalizePlanEntry } from './types-
|
|
1
|
+
export { A as AcpEvent, h as AcpLifecycleEvent, E as Emit, L as LifecycleEvent, g as ModeInfo, M as ModelInfo, N as NormalizedPlanEntry, P as PendingPermission, S as StartStreamArgs, i as StreamEvent, a as StreamHandle, b as StreamPayload, T as TerminalEvent, k as isAcpEvent, l as isAcpLifecycleEvent, j as isLifecycleEvent, m as isTerminalEvent, n as normalizePlanEntry } from './types-DCRtrjjj.js';
|
|
2
2
|
export { PlanEntry as AcpPlanEntry, AudioContent, AvailableCommand, AvailableCommandsUpdate, ContentBlock, ContentChunk, CurrentModeUpdate, EmbeddedResource, ImageContent, PermissionOption, Plan, PlanEntryPriority, PlanEntryStatus, RequestPermissionRequest, RequestPermissionResponse, ResourceLink, SessionUpdate, TextContent, ToolCall, ToolCallStatus, ToolCallUpdate } from '@agentclientprotocol/sdk';
|