Skip to content

Commit 754a0b7

Browse files
committed
refactor(cli): load artifact adapter from its owner
1 parent 0f49046 commit 754a0b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/cli/commands/recording.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const recordingCommand: ClientCommandHandler = async ({ positionals, flag
3131
// bindings; the contact-sheet wrapper then loads the full runtime on demand.
3232
const [{ executeRecordingContactSheet }, { createLocalArtifactAdapter }] = await Promise.all([
3333
import('@agent-device/command-runtime'),
34-
import('../../io.ts'),
34+
import('@agent-device/host-kit/local-artifact-adapter'),
3535
]);
3636
const config: AgentDeviceRuntimeConfig = {
3737
backend: { platform: 'ios' },

‎src/cli/commands/screenshot.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const diffCommand: ClientCommandHandler = async ({ positionals, flags, cl
7777
// Load the capture, selector and interaction entry for `diff screenshot`.
7878
const [{ createCommandSurfaceAgentDevice }, { createLocalArtifactAdapter }] = await Promise.all([
7979
import('@agent-device/command-runtime'),
80-
import('../../io.ts'),
80+
import('@agent-device/host-kit/local-artifact-adapter'),
8181
]);
8282
const runtime = createCommandSurfaceAgentDevice({
8383
backend: createClientScreenshotBackend(client, flags),

0 commit comments

Comments
 (0)