Skip to content

Commit b26f462

Browse files
committed
refactor(aws): import host capability types from the plugin SDK
1 parent 8ec707d commit b26f462

4 files changed

Lines changed: 3 additions & 11 deletions

File tree

‎packages/provider-aws-device-farm/src/aws-device-farm-connection-verification.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import assert from 'node:assert/strict';
22
import { afterEach, test, vi } from 'vitest';
33
import { verifyAwsDeviceFarmConnection } from './aws-device-farm-connection-verification.ts';
4-
import type { RunHostCommand } from './run-host-command.ts';
4+
import type { RunHostCommand } from 'agent-device/plugins';
55

66
const awsResources = {
77
project: { arn: 'project-arn', name: 'Agent Device' },

‎packages/provider-aws-device-farm/src/aws-device-farm-connection-verification.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AppError } from '@agent-device/kernel/errors';
22
import { createAwsDeviceFarmCommandRunner } from './aws-device-farm.ts';
3-
import type { RunHostCommand } from './run-host-command.ts';
3+
import type { RunHostCommand } from 'agent-device/plugins';
44
import type {
55
ProviderConnectionResource,
66
ProviderConnectionVerification,

‎packages/provider-aws-device-farm/src/aws-device-farm.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type { LeaseLifecycleContext } from '@agent-device/contracts/device';
1414
import { PROVIDER_PROFILE_FIELD_FLAGS } from '@agent-device/contracts/remote';
1515
import { setTimeout as sleep } from 'node:timers/promises';
1616
import { AppError } from '@agent-device/kernel/errors';
17-
import type { RunHostCommand } from './run-host-command.ts';
17+
import type { RunHostCommand } from 'agent-device/plugins';
1818

1919
/** Each selector reads its flag first, then the agent-device variable, then the AWS CLI one. */
2020
const AWS_SELECTOR_VARIABLES = {

‎packages/provider-aws-device-farm/src/run-host-command.ts‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)