diff options
| author | Blaž Čulina <culina.blaz@nsoft.com> | 2026-03-25 14:05:56 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-03-31 11:51:22 -0700 |
| commit | a2964d7a20b8d9fefafc14ded4b5416dd1d4246e (patch) | |
| tree | 4d1fa377683e4e59746aea3857c63a0bce2eaea5 /tests/opencode/test-plugin-loading.sh | |
| parent | eafe962b18f6c5dc70fb7c8cc7e83e61f4cdde06 (diff) | |
fix: add Copilot CLI platform detection for sessionStart context injection
Copilot CLI v1.0.11 reads `additionalContext` from sessionStart hook
output, but the session-start script only emits the Claude Code-specific
nested format. Add COPILOT_CLI env var detection so Copilot CLI gets the
SDK-standard top-level `additionalContext` while Claude Code continues
getting `hookSpecificOutput`.
Based on PR #910 by @culinablaz.
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions
