feat: monorepo 构建完成

This commit is contained in:
claude-code-best
2026-03-31 21:21:46 +08:00
parent 751a684dcf
commit 3d4cb096d1
24 changed files with 257 additions and 111 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "@ant/computer-use-mcp",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./sentinelApps": "./src/sentinelApps.ts",
"./types": "./src/types.ts"
}
}

View File

@@ -0,0 +1,30 @@
export const API_RESIZE_PARAMS: any = {}
export class ComputerExecutor {}
export type ComputerUseSessionContext = any
export type CuCallToolResult = any
export type CuPermissionRequest = any
export type CuPermissionResponse = any
export const DEFAULT_GRANT_FLAGS: any = {}
export type DisplayGeometry = any
export type FrontmostApp = any
export type InstalledApp = any
export type ResolvePrepareCaptureResult = any
export type RunningApp = any
export type ScreenshotDims = any
export type ScreenshotResult = any
export function bindSessionContext(..._args: any[]): any {
return null
}
export function buildComputerUseTools(..._args: any[]): any[] {
return []
}
export function createComputerUseMcpServer(..._args: any[]): any {
return null
}
export const targetImageSize: any = null

View File

@@ -0,0 +1,5 @@
export const sentinelApps: string[] = []
export function getSentinelCategory(_appName: string): string | null {
return null
}

View File

@@ -0,0 +1,8 @@
export type ComputerUseConfig = any
export type ComputerUseHostAdapter = any
export type CoordinateMode = any
export type CuPermissionRequest = any
export type CuPermissionResponse = any
export type CuSubGates = any
export const DEFAULT_GRANT_FLAGS: any = {}
export type Logger = any