mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 13:23:31 +08:00
fix(observe): allow sdk-ts entrypoint in observation hook (#614)
Clean surgical fix allowing sdk-ts entrypoint in observe hook for Agent SDK sessions. Has APPROVED review.
This commit is contained in:
@@ -97,8 +97,11 @@ fi
|
|||||||
# - automated sessions creating project-scoped homunculus metadata
|
# - automated sessions creating project-scoped homunculus metadata
|
||||||
|
|
||||||
# Layer 1: entrypoint. Only interactive terminal sessions should continue.
|
# Layer 1: entrypoint. Only interactive terminal sessions should continue.
|
||||||
|
# sdk-ts: Agent SDK sessions can be human-interactive (e.g. via Happy).
|
||||||
|
# Non-interactive SDK automation is still filtered by Layers 2-5 below
|
||||||
|
# (ECC_HOOK_PROFILE=minimal, ECC_SKIP_OBSERVE=1, agent_id, path exclusions).
|
||||||
case "${CLAUDE_CODE_ENTRYPOINT:-cli}" in
|
case "${CLAUDE_CODE_ENTRYPOINT:-cli}" in
|
||||||
cli) ;;
|
cli|sdk-ts) ;;
|
||||||
*) exit 0 ;;
|
*) exit 0 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user