Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(ios-simulator): address premature Manual guidance

JiangJiahao8d22749f6a1d
diff --git a/packages/lizi-mcps/src/ios-simulator/iosSimulatorMcpServer.test.ts b/packages/lizi-mcps/src/ios-simulator/iosSimulatorMcpServer.test.ts
index 88b06c9a2c..81c80c12fe 100644
--- a/packages/lizi-mcps/src/ios-simulator/iosSimulatorMcpServer.test.ts
+++ b/packages/lizi-mcps/src/ios-simulator/iosSimulatorMcpServer.test.ts
@@ -122,8 +122,6 @@ describe("createIOSSimulatorMcpServer", () => {
]);
expect(payload.workflow).toContain("embedded viewer workflow");
expect(payload.workflow).toContain("create_instance or attach_device");
- expect(payload.workflow).toContain('ghost_manual({ ghost_id: "ios-simulator", path: "ios-simulator" })');
- expect(payload.workflow).toContain("Host visibility gates");
expect(
payload.tools.find(
(tool: { name: string; description: string }) =>
diff --git a/packages/lizi-mcps/src/ios-simulator/server.ts b/packages/lizi-mcps/src/ios-simulator/server.ts
index 2cd895fc3c..8196af0c50 100644
--- a/packages/lizi-mcps/src/ios-simulator/server.ts
+++ b/packages/lizi-mcps/src/ios-simulator/server.ts
@@ -70,7 +70,7 @@ export function createIOSSimulatorMcpServer(
tools: registry.list(availability?.tools),
...(availability ? { availability } : {}),
workflow:
- 'Before a multi-tool simulator workflow, read the plugin Manual as needed with ghost_manual({ ghost_id: "ios-simulator", path: "ios-simulator" }). Installation, enablement, account and workdir access remain subject to Host visibility gates. Use this embedded viewer workflow: check_environment, then list_simulator_devices and either create_instance or attach_device, then start_instance. Build, install, and launch the app through this server. Route mutations with instanceId, generation, and leaseId.',
+ "Use this embedded viewer workflow: check_environment, then list_simulator_devices and either create_instance or attach_device, then start_instance. Build, install, and launch the app through this server. Route mutations with instanceId, generation, and leaseId.",
}),
},
],