You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): install venv in non-interactive terminals instead of crashing (#11)
* fix(cli): install venv in non-interactive terminals instead of crashing
When stdin is not a TTY (piped input, CI, coding agents) and neither
--yes nor --no-sync is passed, the venv/uv confirmation prompts called
beaupy.select, which raises `termios.error: (25, 'Inappropriate ioctl
for device')`. That error fell through to the generic handler and the
run failed with "Unexpected error" and exit code 1, leaving no venv.
confirm() now detects a non-interactive stdin and returns the prompt's
default (Yes) instead of invoking beaupy, so a non-TTY run installs uv
if missing and runs `uv sync` unattended. --yes and --no-sync behavior
is unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* feat(cli): point non-interactive next steps at bundled skills
In a non-TTY run the final "Next steps" line now tells the agent to use
the bundled skills in .agents/skills/ instead of "open your coding agent
and tell it what to build", which assumes a human at an interactive
terminal. Interactive runs are unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Fixed
11
+
- Non-interactive runs (piped stdin, CI, coding agents) no longer crash at the venv prompt. Without a TTY, `dlthub-init` used to fail with `Unexpected error: (25, 'Inappropriate ioctl for device')` and create no venv; it now proceeds with the prompt defaults and installs the venv unattended.
12
+
13
+
### Changed
14
+
- In non-interactive runs the final "Next steps" line now points at the bundled skills in `.agents/skills/` instead of telling you to open a coding agent.
0 commit comments