Skip to content

[codex] Support env OAuth tokens and robust indexing - #7

Merged
rsolari merged 1 commit into
mainfrom
run-pkb
Jun 7, 2026
Merged

[codex] Support env OAuth tokens and robust indexing#7
rsolari merged 1 commit into
mainfrom
run-pkb

Conversation

@rsolari

@rsolari rsolari commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Adds support for supplying OAuth tokens through .env via X_TOKEN_JSON or access/refresh token fields, while preserving file-based token loading and refresh persistence. Documents the new token configuration options in .env.example and the README. Fixes indexing after extraction by skipping non-file Markdown matches, which handles linked-page host directories ending in .md. Adds regression coverage for env token loading, missing-token errors, and markdown-named linked-page directories.

Validation: PYTHONPATH=src python3 -m pytest.

@rsolari
rsolari marked this pull request as ready for review June 5, 2026 02:36
@rsolari
rsolari merged commit 5ff1aa5 into main Jun 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant