Merge remote-tracking branch 'origin/master' into codex/trim-redundant-comments
# Conflicts: # docs/config-catalog.md # examples/acp-agent/tests/acp.e2e.ts # packages/ui/acp/src/index.ts # packages/ui/acp/tests/bridge.spec.ts # packages/ui/acp/tests/config-options.spec.ts # packages/ui/acp/tests/dispose.spec.ts # packages/ui/acp/tests/properties.spec.ts
This commit is contained in:
@@ -137,7 +137,7 @@ export function apply(ctx: Context, config: Config): void {
|
||||
const groups: MatcherGroup[] = parsed[point] ?? []
|
||||
const outputs: HookOutput[] = []
|
||||
// Run the hook in the agent's session workspace (the `session/new` cwd on the session
|
||||
// header), not the executor default (the ACP server's launch dir).
|
||||
// header), not the executor or front-door process's launch dir.
|
||||
const workdir = opts.agent?.session.header.cwd
|
||||
// CLAUDE_PROJECT_DIR: an explicit config value wins; otherwise default it to the session
|
||||
// workspace (the same dir the hook runs in).
|
||||
|
||||
Reference in New Issue
Block a user