diff --git a/CHANGELOG.md b/CHANGELOG.md index 4779cc5..0be2a54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). +## [0.18.2] - 2026-02-18 + +### Added + +- Added `codex_cli_path` global config option and `TAKT_CODEX_CLI_PATH` environment variable to override the Codex CLI binary path used by the Codex SDK (#292) + - Supports strict validation: absolute path, file existence, executable permission, no control characters + - Priority: `TAKT_CODEX_CLI_PATH` env var > `codex_cli_path` in config.yaml > SDK vendored binary + ## [0.18.1] - 2026-02-18 ### Added diff --git a/README.md b/README.md index 5541c67..9c7bfda 100644 --- a/README.md +++ b/README.md @@ -612,6 +612,11 @@ anthropic_api_key: sk-ant-... # For Claude (Anthropic) # openai_api_key: sk-... # For Codex (OpenAI) # opencode_api_key: ... # For OpenCode +# Codex CLI path override (optional) +# Override the Codex CLI binary used by the Codex SDK (must be an absolute path to an executable file) +# Can be overridden by TAKT_CODEX_CLI_PATH environment variable +# codex_cli_path: /usr/local/bin/codex + # Builtin piece filtering (optional) # builtin_pieces_enabled: true # Set false to disable all builtins # disabled_builtins: [magi, passthrough] # Disable specific builtin pieces diff --git a/docs/CHANGELOG.ja.md b/docs/CHANGELOG.ja.md index dda378d..5536fd8 100644 --- a/docs/CHANGELOG.ja.md +++ b/docs/CHANGELOG.ja.md @@ -6,6 +6,14 @@ フォーマットは [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) に基づいています。 +## [0.18.2] - 2026-02-18 + +### Added + +- グローバル設定に `codex_cli_path` オプションと `TAKT_CODEX_CLI_PATH` 環境変数を追加 — Codex SDK が使用する CLI バイナリのパスを上書き可能に (#292) + - 厳密なバリデーション付き: 絶対パス、ファイル存在確認、実行権限、制御文字の禁止 + - 優先順位: `TAKT_CODEX_CLI_PATH` 環境変数 > config.yaml の `codex_cli_path` > SDK 同梱バイナリ + ## [0.18.1] - 2026-02-18 ### Added diff --git a/docs/README.ja.md b/docs/README.ja.md index 1cba7f1..a57d610 100644 --- a/docs/README.ja.md +++ b/docs/README.ja.md @@ -612,6 +612,11 @@ anthropic_api_key: sk-ant-... # Claude (Anthropic) を使う場合 # openai_api_key: sk-... # Codex (OpenAI) を使う場合 # opencode_api_key: ... # OpenCode を使う場合 +# Codex CLI パスの上書き(オプション) +# Codex SDK が使用する CLI バイナリを上書き(実行可能ファイルの絶対パスを指定) +# 環境変数 TAKT_CODEX_CLI_PATH で上書き可能 +# codex_cli_path: /usr/local/bin/codex + # ビルトインピースのフィルタリング(オプション) # builtin_pieces_enabled: true # false でビルトイン全体を無効化 # disabled_builtins: [magi, passthrough] # 特定のビルトインピースを無効化 diff --git a/package-lock.json b/package-lock.json index 839a403..eeb69f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "takt", - "version": "0.18.1", + "version": "0.18.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "takt", - "version": "0.18.1", + "version": "0.18.2", "license": "MIT", "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.2.37", diff --git a/package.json b/package.json index 4692a91..4cb1776 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "takt", - "version": "0.18.1", + "version": "0.18.2", "description": "TAKT: TAKT Agent Koordination Topology - AI Agent Piece Orchestration", "main": "dist/index.js", "types": "dist/index.d.ts",