feat: headless auth and LLM docs artifacts (QL11, QL12, QL13) #10
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/10/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #7, #8, #9.
Summary
taibai init --token): adds--token TEXTto skip the browser OAuth flow. Token is validated viaverify_credentials()before saving. TDD-covered intests/test_init.py. Docs updated indocs/getting-started.md,README.md,CLAUDE.md.AGENTS.md): new agent-facing reference at repo root — headless auth, multi-profile model,--jsonoutput contract, credential storage, command reference table, exit codes.llms.txt/llms-full.txt): static docs artifacts served from the published site undernot_in_nav.llms.txtis a terse command index;llms-full.txtis the full text of all 21 command pages.Test plan
nox -s pytest— all 374+ tests pass (3 new tests intests/test_init.py)ruff format . && ruff check . && ty check . && complexipy .— all cleantaibai init --instance <instance> --token <valid-token>— succeeds without browsertaibai init --instance <instance> --token badtoken— exits 1 with clear errormkdocs serve—llms.txtandllms-full.txtaccessible athttp://127.0.0.1:8000/llms.txtAGENTS.mdrenders correctly in Codeberg UI