Skip to content

Commit 1e3de72

Browse files
committed
chore: clean batch architecture references
1 parent 0054b76 commit 1e3de72

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Single-context repo. Read `CONTEXT.md` for domain language and testing/architect
7070
- Keep command input/output contracts in the command modules:
7171
- command surface and shared schemas: `src/commands/command-surface.ts`, `src/commands/command-contract.ts`, `src/commands/command-input.ts`
7272
- typed client command execution: `src/commands/client-command-contracts.ts`
73-
- command families: `src/commands/interaction-command-contracts.ts`, `src/commands/batch-command-contract.ts`, with other typed client contracts in `src/commands/client-command-contracts.ts`
73+
- command families: `src/commands/interaction-command-contracts.ts`, `src/commands/batch-command.ts`, with other typed client contracts in `src/commands/client-command-contracts.ts`
7474
- CLI positional/flag grammar: `src/commands/cli-grammar.ts` and `src/commands/cli-grammar/*`
7575
- typed input to daemon request projection: `src/commands/command-projection.ts`
7676
- CLI/client/runtime output projection: `src/commands/cli-output.ts`, `src/commands/client-output.ts`, `src/commands/runtime-output.ts`

src/client-types.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import type {
2424
import type { MetroBridgeScope } from './client-companion-tunnel-contract.ts';
2525
import type { AppsFilter } from './commands/app-inventory-contract.ts';
2626
import type { ScreenshotRequestFlags } from './commands/capture-screenshot-options.ts';
27+
import type { DaemonBatchStep } from './core/batch.ts';
2728
import type { AlertInfo } from './alert-contract.ts';
2829

2930
export type { FindLocator } from './utils/finders.ts';
@@ -827,11 +828,7 @@ type CommandExecutionOptions = Partial<ScreenshotRequestFlags> & {
827828
networkInclude?: 'summary' | 'headers' | 'body' | 'all';
828829
batchOnError?: 'stop';
829830
batchMaxSteps?: number;
830-
batchSteps?: Array<{
831-
command: string;
832-
positionals?: string[];
833-
flags?: Record<string, unknown>;
834-
}>;
831+
batchSteps?: DaemonBatchStep[];
835832
};
836833

837834
export type InternalRequestOptions = AgentDeviceClientConfig &

0 commit comments

Comments
 (0)