Skip to content

fix: use raw stdout for SessionStart context injection#2

Draft
StayBlue wants to merge 1 commit intomorphllm:mainfrom
StayBlue:fix/raw-stdout-context-injection
Draft

fix: use raw stdout for SessionStart context injection#2
StayBlue wants to merge 1 commit intomorphllm:mainfrom
StayBlue:fix/raw-stdout-context-injection

Conversation

@StayBlue
Copy link
Copy Markdown
Contributor

No description provided.

JSON additionalContext via hookSpecificOutput is ignored for the
compact SessionStart source. Raw text printed to stdout is injected
into Claude's context for all sources per the docs. Also adds the
compact matcher to hooks.json so SessionStart only fires after
compaction.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@StayBlue StayBlue marked this pull request as draft March 26, 2026 18:19
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.

1 participant