Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
Merge commit '6ee1005e7538bb10af614051c08170dc5dab0d78' of github.com:makecindy/cindy into feat/issue-397-ios-simulator-native-framebuffer
JiangJiahao543e19c194a8
diff --cc apps/desktop/src/main/maker-host/index.tsindex 617c0abbf1,804ab27f93..e35f53b8ce--- a/apps/desktop/src/main/maker-host/index.ts+++ b/apps/desktop/src/main/maker-host/index.ts@@@ -1313,14 -1253,7 +1313,16 @@@ export function getMaker(): Maker: {}),};},- registerCodexMcpThreadContext: ({ threadId, sessionId, sessionInstanceId, mcpCallerKind, mcpCallerAttested, workingDir, remoteHostId, vendorOptions }) => {+ registerCodexMcpThreadContext: ({+ threadId,+ sessionId,+ sessionInstanceId,++ mcpCallerKind,++ mcpCallerAttested,+ workingDir,+ remoteHostId,+ vendorOptions,+ }) => {// Codex shares one app-server across sessions. Freeze the effective// ordinary-tool policy at thread creation so later Settings changes do// not mutate a runtime that is already running.diff --cc packages/lizi-mcps/src/types.tsindex d4f7aba617,3677c1fbbf..3d1ee388d1--- a/packages/lizi-mcps/src/types.ts+++ b/packages/lizi-mcps/src/types.ts@@@ -752,110 -729,8 +752,112 @@@ export interface AndroidMcpDepslogger?: LiziMcpLogger;}+export type IOSSimulatorMcpErrorCode =+ | IOSSimulatorRuntimeErrorCode+ | IOSSimulatorInstanceErrorCode+ | 'SESSION_CONTEXT_REQUIRED'+ | 'SESSION_NOT_FOUND'+ | 'UNSUPPORTED_SESSION_KIND'+ | 'IOS_SIMULATOR_DISABLED'+ | 'WDA_UNAVAILABLE'+ | 'XCODE_BUILD_FAILED'+ | 'DRIVER_DISCONNECTED'+ | 'ORIENTATION_UNSUPPORTED'+ | 'IOS_SIMULATOR_HOST_ERROR';++export type IOSSimulatorToolAvailabilityState =+ | 'available'+ | 'requires-instance'+ | 'instance-dependent'+ | 'unavailable';++export interface IOSSimulatorToolAvailability {+ state: IOSSimulatorToolAvailabilityState;+ reasonCode?: string;+ backend?: 'wda' | 'native-hid' | 'simctl' | 'host';+}++export interface IOSSimulatorToolAvailabilityReport {+ ready: boolean;+ instanceCount: number;+ runningInstanceCount: number;+ tools: Record<string, IOSSimulatorToolAvailability>;+}++export type IOSSimulatorMcpToolName =+ | 'check_environment'+ | 'doctor'+ | 'list_devices'+ | 'list_instances'+ | 'create_instance'+ | 'attach_device'+ | 'detach_device'+ | 'start_instance'+ | 'stop_instance'+ | 'get_screen_map'+ | 'audit_accessibility'+ | 'compare_screen_maps'+ | 'wait_for_ui'+ | 'tap'+ | 'swipe'+ | 'drag'+ | 'long_press'+ | 'key_press'+ | 'batch'+ | 'touch_path'+ | 'touch2_path'+ | 'type_text'+ | 'press_home'+ | 'set_orientation'+ | 'set_appearance'+ | 'set_increase_contrast'+ | 'set_content_size'+ | 'set_location'+ | 'start_location_route'+ | 'clear_location'+ | 'set_privacy'+ | 'push_notification'+ | 'set_status_bar'+ | 'clear_status_bar'+ | 'lock_screen'+ | 'unlock_screen'+ | 'build_app'+ | 'read_build_diagnostics'+ | 'install_app'+ | 'launch_app'+ | 'terminate_app'+ | 'open_url'+ | 'take_screenshot'+ | 'capture_visual_baseline'+ | 'visual_diff'+ | 'capture_state'+ | 'get_diagnostics'+ | 'start_recording'+ | 'stop_recording';++export interface IOSSimulatorMcpCallContext {+ sessionId?: string;+ /** Workdir bound by the Host for project-scoped capability policy. */+ workingDir?: string;+ /** Host-internal origin. MCP transport always uses agent; renderer IPC uses user. */+ origin?: 'agent' | 'user';+}++/** Host adapter used by the reusable iOS Simulator MCP server. */+export interface IOSSimulatorMcpDeps {+ callTool(+ name: IOSSimulatorMcpToolName,+ args: Record<string, unknown>,+ context?: IOSSimulatorMcpCallContext,+ ): Promise<unknown>;+ describeTools?(+ context?: IOSSimulatorMcpCallContext,+ ): Promise<IOSSimulatorToolAvailabilityReport>;+ logger?: LiziMcpLogger;+}++ export type LiziMcpCallerKind = 'root' | 'descendant' | 'unknown';+export interface LiziMcpSessionContext {agentKind: string;workingDir: string;