Some checks failed
Release / semantic-release (push) Successful in 25s
tests / Unit tests (Linux, Python 3.11) (push) Failing after 5m17s
Release / build-linux (push) Failing after 7m8s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled
OAuth cannot be done interactively in the headless container, so the login
must be seeded into the mounted ~/.gemini. Three problems are fixed:
- Mount fragility on the Windows Docker Desktop target: the creds mount
defaulted to ${HOME}/.config/javis/gemini, but ${HOME} is often unset when
compose runs outside a WSL shell, silently mounting the wrong dir. Default is
now the project-local ./docker/gemini-oauth (cross-platform), GEMINI_OAUTH_DIR
still overrides.
- No visibility: when oauth is selected but no login is seeded, the path
silently degraded to DDG/Brave. Added gemini_oauth_ready() + a one-time debug
hint and a startup entrypoint warning (skipped on the browser role, fail-open).
- Seeding guidance: oauth_creds.json is the essential credential (refresh token;
GOOGLE_GENAI_USE_GCA=true forces OAuth), which is what the readiness check and
warning verify; docs recommend copying the whole ~/.gemini for convenience.
Adds docker/gemini-oauth/ seed dir (.gitkeep) with the login files gitignored,
GEMINI_OAUTH_DIR in .env.example, and updates DEPLOY.md, stream_browser_modes.md
and llm_contexts.md. Covered by 3 new tests (10 passed total).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
36 lines
638 B
Plaintext
36 lines
638 B
Plaintext
.DS_Store
|
|
.env
|
|
.env/
|
|
.env.local
|
|
.venv/
|
|
bot/node_modules/
|
|
__pycache__/
|
|
.pytest_cache/
|
|
tests/performance/reports/
|
|
.mamba_env/
|
|
.micromamba/
|
|
.claude/*
|
|
!.claude/launch.json
|
|
!.claude/skills/
|
|
|
|
# Release artifacts
|
|
release_output.log
|
|
node_modules/
|
|
|
|
# PyInstaller build artifacts
|
|
build/
|
|
dist/
|
|
*.spec.backup
|
|
qt.conf
|
|
|
|
# Auto-generated version file (created at build time)
|
|
src/jarvis/_version.py
|
|
# never commit env backups (contain tokens)
|
|
.env.bak*
|
|
*.bak
|
|
|
|
# Gemini CLI OAuth login (account tokens) seeded for GEMINI_AUTH=oauth in Docker.
|
|
# Keep the dir (.gitkeep) but never commit the login files.
|
|
docker/gemini-oauth/*
|
|
!docker/gemini-oauth/.gitkeep
|