Describe the bug
Extensions do not load in headless terminals whether the prompt is passed with -p or -i. I have tried numerous flags to make this work including: --autopilot, --allow-all, (I always use --experimental)
I have also tried using Script, Expect, and using LD_PRELOAD on Node to force a TTY to make copilot think it is running in a headed terminal.
Affected version
1.0.25
Steps to reproduce the behavior
- Create a simple extension that generates some test.txt file on session start.
- Create a headless runtime, I use Azure ACA Container App Jobs running Ubuntu 24.04.
- Launch
copilot -i <prompt> --experimental (I use an entrypoint.sh script that is built into my ubuntu container)
- You will see in the events.jsonl that there are no events being captures/acted on by the extensions.
I have also tested this heavily in WSL and Local Docker. I have launched my exact same docker container/entrypoint in local docker while using exec -it and it does cause the entrypoints to load, however, as soon as no interactive terminal is present, extensions stop loading.
Expected behavior
Extensions should load.
Additional context
debug log level, Local Windows 11 (using Ubuntu and other Unix containers where copilot is running), tried in several different terminal.
Describe the bug
Extensions do not load in headless terminals whether the prompt is passed with -p or -i. I have tried numerous flags to make this work including: --autopilot, --allow-all, (I always use --experimental)
I have also tried using Script, Expect, and using LD_PRELOAD on Node to force a TTY to make copilot think it is running in a headed terminal.
Affected version
1.0.25
Steps to reproduce the behavior
copilot -i <prompt> --experimental(I use an entrypoint.sh script that is built into my ubuntu container)I have also tested this heavily in WSL and Local Docker. I have launched my exact same docker container/entrypoint in local docker while using
exec -itand it does cause the entrypoints to load, however, as soon as no interactive terminal is present, extensions stop loading.Expected behavior
Extensions should load.
Additional context
debug log level, Local Windows 11 (using Ubuntu and other Unix containers where copilot is running), tried in several different terminal.