ai-cli-mcp 2.16.0 → 2.17.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.17.0](https://github.com/mkXultra/ai-cli-mcp/compare/v2.16.0...v2.17.0) (2026-04-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * CodexのCLIフラグを--dangerously-bypass-approvals-and-sandboxに更新 ([5eb15f0](https://github.com/mkXultra/ai-cli-mcp/commit/5eb15f0138b54572c64ed11a1c7d44718afa65e0))
7
+
1
8
  # [2.16.0](https://github.com/mkXultra/ai-cli-mcp/compare/v2.15.0...v2.16.0) (2026-04-11)
2
9
 
3
10
 
package/README.ja.md CHANGED
@@ -18,7 +18,7 @@ Cursorなどのエディタが、複雑な手順を伴う編集や操作に苦
18
18
  このMCPサーバーは、LLMがAI CLIツールと対話するためのツールを提供します。MCPクライアントと統合することで、LLMは以下のことが可能になります:
19
19
 
20
20
  - すべての権限確認をスキップしてClaude CLIを実行(`--dangerously-skip-permissions` を使用)
21
- - 自動承認モードでCodex CLIを実行(`--full-auto` を使用)
21
+ - 承認とサンドボックスをバイパスしてCodex CLIを実行(`--dangerously-bypass-approvals-and-sandbox` を使用)
22
22
  - 自動承認モードでGemini CLIを実行(`-y` を使用)
23
23
  - Forge CLI を非対話モードで実行(`forge -C <workFolder> -p <prompt>` を使用)
24
24
  - OpenCode を非対話 JSON モードで実行(`opencode run --format json --dir <workFolder> <prompt>` を使用)
package/README.md CHANGED
@@ -20,7 +20,7 @@ Did you notice that Cursor sometimes struggles with complex, multi-step edits or
20
20
  This MCP server provides tools that can be used by LLMs to interact with AI CLI tools. When integrated with MCP clients, it allows LLMs to:
21
21
 
22
22
  - Run Claude CLI with all permissions bypassed (using `--dangerously-skip-permissions`)
23
- - Execute Codex CLI with automatic approval mode (using `--full-auto`)
23
+ - Execute Codex CLI with approvals and sandbox bypassed (using `--dangerously-bypass-approvals-and-sandbox`)
24
24
  - Execute Gemini CLI with automatic approval mode (using `-y`)
25
25
  - Execute Forge CLI in non-interactive mode (using `forge -C <workFolder> -p <prompt>`)
26
26
  - Execute OpenCode in non-interactive JSON mode (using `opencode run --format json --dir <workFolder> <prompt>`)
@@ -241,7 +241,8 @@ describe('cli-builder', () => {
241
241
  expect(cmd.agent).toBe('codex');
242
242
  expect(cmd.cliPath).toBe('/usr/bin/codex');
243
243
  expect(cmd.args).toContain('exec');
244
- expect(cmd.args).toContain('--full-auto');
244
+ expect(cmd.args).toContain('--dangerously-bypass-approvals-and-sandbox');
245
+ expect(cmd.args).not.toContain('--full-auto');
245
246
  expect(cmd.args).toContain('--json');
246
247
  expect(cmd.args).toContain('--model');
247
248
  expect(cmd.args).toContain('gpt-5.2-codex');
@@ -155,7 +155,7 @@ export function buildCliCommand(options) {
155
155
  if (resolvedModel) {
156
156
  args.push('--model', resolvedModel);
157
157
  }
158
- args.push('--skip-git-repo-check', '--full-auto', '--json', prompt);
158
+ args.push('--skip-git-repo-check', '--dangerously-bypass-approvals-and-sandbox', '--json', prompt);
159
159
  }
160
160
  else if (agent === 'gemini') {
161
161
  cliPath = options.cliPaths.gemini;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-cli-mcp",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "mcpName": "io.github.mkXultra/ai-cli-mcp",
5
5
  "description": "MCP server for AI CLI tools (Claude, Codex, Gemini, Forge, and OpenCode) with background process management",
6
6
  "author": "mkXultra",
@@ -314,7 +314,8 @@ describe('cli-builder', () => {
314
314
  expect(cmd.agent).toBe('codex');
315
315
  expect(cmd.cliPath).toBe('/usr/bin/codex');
316
316
  expect(cmd.args).toContain('exec');
317
- expect(cmd.args).toContain('--full-auto');
317
+ expect(cmd.args).toContain('--dangerously-bypass-approvals-and-sandbox');
318
+ expect(cmd.args).not.toContain('--full-auto');
318
319
  expect(cmd.args).toContain('--json');
319
320
  expect(cmd.args).toContain('--model');
320
321
  expect(cmd.args).toContain('gpt-5.2-codex');
@@ -216,7 +216,7 @@ export function buildCliCommand(options: BuildCliCommandOptions): CliCommand {
216
216
  args.push('--model', resolvedModel);
217
217
  }
218
218
 
219
- args.push('--skip-git-repo-check', '--full-auto', '--json', prompt);
219
+ args.push('--skip-git-repo-check', '--dangerously-bypass-approvals-and-sandbox', '--json', prompt);
220
220
  } else if (agent === 'gemini') {
221
221
  cliPath = options.cliPaths.gemini;
222
222
  args = ['-y', '--output-format', 'stream-json'];