kin: KIN-129-debugger
This commit is contained in:
parent
f1c868e335
commit
b39b3d8c6b
2 changed files with 8 additions and 1 deletions
|
|
@ -45,6 +45,12 @@ def _build_claude_env() -> dict:
|
|||
Also resolves ~/.nvm/versions/node/*/bin globs that launchctl may not expand.
|
||||
"""
|
||||
env = os.environ.copy()
|
||||
|
||||
# Propagate canonical DB path to agent subprocesses so they don't fall back
|
||||
# to module-relative path (which breaks in worktrees — KIN-129).
|
||||
if "KIN_DB_PATH" not in env:
|
||||
env["KIN_DB_PATH"] = str(Path.home() / ".kin" / "kin.db")
|
||||
|
||||
existing = env.get("PATH", "").split(":")
|
||||
|
||||
extra = list(_EXTRA_PATH_DIRS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue