PageIndex/pageindex
Ray 0f593c65d9 fix: restore 0.2.x config resolution and legacy submodule attribute access
page_index() and ConfigLoader silently dropped config.yaml after the
refactor: defaults came from IndexConfig's hardcoded fields, flipping
if_add_doc_description on (an extra billed LLM call per document) and
discarding user-edited YAML including a custom default_path. Both now
resolve explicit args > YAML > IndexConfig field defaults via
IndexConfig.from_yaml, matching the CLI. The new SDK keeps its pure-code
config path.

import pageindex also lost the utils / page_index_md submodule
attributes (pageindex.utils.print_tree raised AttributeError). A module
__getattr__ now imports the shims lazily, so plain imports stay free of
deprecation warnings while first use of a legacy attribute binds the
module and warns.

Also trims non-essential comments from the BASE_URL fix.

Claude-Session: https://claude.ai/code/session_014B4HZkjdSiZXDmJtH5Jexn
2026-07-19 03:42:00 +08:00
..
backend fix: restore 0.2.x config resolution and legacy submodule attribute access 2026-07-19 03:42:00 +08:00
index fix: restore 0.2.x config resolution and legacy submodule attribute access 2026-07-19 03:42:00 +08:00
parser fix: empty-list scope, get_tree bool casing, md fence tracking; dedupe base URL 2026-07-10 11:17:20 +08:00
storage fix: resolve concurrency and DoS pitfalls from PR #272 review 2026-07-10 14:49:55 +08:00
__init__.py fix: restore 0.2.x config resolution and legacy submodule attribute access 2026-07-19 03:42:00 +08:00
agent.py fix: enforce collection membership on cloud query doc_ids 2026-07-16 14:40:19 +08:00
client.py fix: restore 0.2.x config resolution and legacy submodule attribute access 2026-07-19 03:42:00 +08:00
cloud_api.py fix: restore 0.2.x config resolution and legacy submodule attribute access 2026-07-19 03:42:00 +08:00
collection.py fix: enforce collection membership on cloud doc-scoped operations 2026-07-16 06:20:24 +08:00
config.py fix: default SDK retrieve_model to gpt-5.4 instead of following model 2026-07-16 16:09:07 +08:00
config.yaml fix: default SDK retrieve_model to gpt-5.4 instead of following model 2026-07-16 16:09:07 +08:00
errors.py fix: address max-effort review findings 2026-07-13 18:49:09 +08:00
events.py fix: enforce collection membership on cloud query doc_ids 2026-07-16 14:40:19 +08:00
page_index.py Merge commit from fork 2026-07-17 13:57:21 +08:00
page_index_md.py fix(markdown): skip empty bold headings 2026-07-16 19:36:52 +08:00
retrieve.py fix: CMYK image drop, empty-doc crash, page_index shadowing, sqlite hardening, flaky tests 2026-07-09 11:58:59 +08:00
tokens.py refactor(sdk): typed returns, protocol contract, parser layering 2026-07-07 12:15:34 +08:00
types.py fix: CMYK image drop, empty-doc crash, page_index shadowing, sqlite hardening, flaky tests 2026-07-09 11:58:59 +08:00
utils.py fix: address xhigh review findings for PR #272 2026-07-16 01:31:57 +08:00