Skip to content

feat: expand ~/ in sandbox.excludedCommands when syncing Claude settings - #175

Merged
furedea merged 2 commits into
mainfrom
feat/expand-tilde-excluded-commands
Oct 22, 2026
Merged

furedea merged 2 commits into
mainfrom
feat/expand-tilde-excluded-commands

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

概要

sync-claude-settings が ~/.claude/settings.json を書き出すとき,sandbox.excludedCommands の各項目について,先頭の ~/,または開き二重引用符の直後の ~/ を,ホームディレクトリ($HOME)の絶対パスに置き換えます.ほかの設定項目と,~/ を含まない項目は変わりません.

変更前後

変更前 変更後
ソースの設定 /Users/<name>/... を直接書く必要がある node "~/.claude/plugins/.../codex-companion.mjs" * のように ~/ で書ける
書き出された設定 ソースのまま ~/ がホームディレクトリの絶対パスになる

受け入れ条件

  • sandbox.excludedCommands の項目で,先頭または引用符内の先頭の ~/ がホームディレクトリに置き換わる
  • それ以外の設定項目と,~/ を含まない項目は変わらない
  • テストがある(CLI 統合テストと既存の単体テストの更新)

Closes #174

🤖 Generated with Claude Code

@furedea
furedea merged commit 2e90ec1 into main Oct 22, 2026
11 checks passed
@furedea
furedea deleted the feat/expand-tilde-excluded-commands branch October 22, 2026 17:10
furedea added a commit that referenced this pull request Oct 22, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.9.7](agent-harness-v0.9.6...agent-harness-v0.9.7)
(2026-10-22)


### Features

* expand ~/ in sandbox.excludedCommands when syncing Claude settings
([#175](#175))
([2e90ec1](2e90ec1))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

設定を書き出すとき,sandbox.excludedCommands の先頭の ~/ をホームディレクトリに置き換える

1 participant