@zhihand/mcp 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/daemon/dispatcher.js +3 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -387,8 +387,9 @@ function dispatchGemini(prompt, startTime, log, model) {
|
|
|
387
387
|
}
|
|
388
388
|
// ── Codex Dispatch ─────────────────────────────────────────
|
|
389
389
|
function dispatchCodex(prompt, startTime, model) {
|
|
390
|
-
//
|
|
391
|
-
|
|
390
|
+
// --dangerously-bypass-approvals-and-sandbox is required so MCP tool calls
|
|
391
|
+
// are not auto-cancelled in non-interactive mode (--full-auto cancels them)
|
|
392
|
+
const args = ["exec", "--dangerously-bypass-approvals-and-sandbox", "--skip-git-repo-check", "--json"];
|
|
392
393
|
const codexModel = model ?? process.env.CLAUDE_CODEX_MODEL;
|
|
393
394
|
if (codexModel) {
|
|
394
395
|
args.push("-m", codexModel);
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { controlSchema, screenshotSchema, pairSchema } from "./tools/schemas.js"
|
|
|
5
5
|
import { executeControl } from "./tools/control.js";
|
|
6
6
|
import { handleScreenshot } from "./tools/screenshot.js";
|
|
7
7
|
import { handlePair } from "./tools/pair.js";
|
|
8
|
-
const PACKAGE_VERSION = "0.17.
|
|
8
|
+
const PACKAGE_VERSION = "0.17.1";
|
|
9
9
|
export function createServer(deviceName) {
|
|
10
10
|
const server = new McpServer({
|
|
11
11
|
name: "zhihand",
|