Skip to content

Commit d66a9dc

Browse files
committed
test(cua-computer): keep parity fixture type aliases file-local until a consumer exists
1 parent 2343bc4 commit d66a9dc

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

‎extensions/cua-computer/src/computer-use-provider-parity.test-fixtures.ts‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export const COMPUTER_USE_V2_ACTION_NAMES = [
5353
"invoke_menu",
5454
] as const;
5555

56-
export type ComputerUseV2ActionName = (typeof COMPUTER_USE_V2_ACTION_NAMES)[number];
57-
export type ComputerUseProviderId = "cua" | "peekaboo";
58-
export type ComputerUseDeliveryMode = "background" | "foreground";
56+
type ComputerUseV2ActionName = (typeof COMPUTER_USE_V2_ACTION_NAMES)[number];
57+
type ComputerUseProviderId = "cua" | "peekaboo";
58+
type ComputerUseDeliveryMode = "background" | "foreground";
5959

6060
export const CUA_PROVIDER_PARITY_SOURCE = {
6161
version: "0.19.3",
@@ -150,8 +150,8 @@ export const CUA_MCP_TOOL_NAMES = [
150150
"end_session",
151151
] as const;
152152

153-
export type CuaMcpToolName = (typeof CUA_MCP_TOOL_NAMES)[number];
154-
export type CuaPlatform = "macos" | "windows" | "linux";
153+
type CuaMcpToolName = (typeof CUA_MCP_TOOL_NAMES)[number];
154+
type CuaPlatform = "macos" | "windows" | "linux";
155155

156156
type CuaPortableActionClassification = {
157157
tool: CuaMcpToolName;
@@ -172,9 +172,7 @@ type CuaNonPortableClassification = {
172172
reason: string;
173173
};
174174

175-
export type CuaMcpToolClassification =
176-
| CuaPortableActionClassification
177-
| CuaNonPortableClassification;
175+
type CuaMcpToolClassification = CuaPortableActionClassification | CuaNonPortableClassification;
178176

179177
const CUA_ALL_PLATFORMS = ["macos", "windows", "linux"] as const;
180178
const CUA_WINDOWS_ONLY = ["windows"] as const;
@@ -560,7 +558,7 @@ export const PEEKABOO_MCP_TOOL_NAMES = [
560558
"space",
561559
] as const;
562560

563-
export type PeekabooMcpToolName = (typeof PEEKABOO_MCP_TOOL_NAMES)[number];
561+
type PeekabooMcpToolName = (typeof PEEKABOO_MCP_TOOL_NAMES)[number];
564562

565563
type PeekabooPortableActionClassification = {
566564
tool: PeekabooMcpToolName;
@@ -575,7 +573,7 @@ type PeekabooNonPortableClassification = {
575573
reason: string;
576574
};
577575

578-
export type PeekabooMcpToolClassification =
576+
type PeekabooMcpToolClassification =
579577
| PeekabooPortableActionClassification
580578
| PeekabooNonPortableClassification;
581579

@@ -703,7 +701,7 @@ type UnmappedProviderActionSupport = {
703701
unmappedReason: string;
704702
};
705703

706-
export type ComputerUseV2ProviderActionSupport =
704+
type ComputerUseV2ProviderActionSupport =
707705
| MappedProviderActionSupport
708706
| UnmappedProviderActionSupport;
709707

0 commit comments

Comments
 (0)