mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 10:45:22 +00:00
- support sub-api/openai-responses through the public Responses endpoint - preserve explicit Authorization and support header-only authentication - retain Codex JWT requirements and native compaction failure fallback - restore SubAPI checkpoints and preserve portable model-switching summaries - add provider, authentication and checkpoint lifecycle regression tests - document compatibility requirements and the Sub2API protocol reference
2.0 KiB
2.0 KiB
Upstream sources
This package is maintained directly in my-pi and combines two separately licensed sources with a new local Context Authority.
pi-condense reference
- Official repository: https://github.com/jjuraszek/pi-condense
- Snapshot:
59c95110aacd8131db71e21296765dd80b72fae8 - Tag/version:
v2.9.1 - Used as a behavioral and summarizer-reliability reference. The new segment/index/runtime implementation is local and intentionally does not retain legacy formats.
- License:
LICENSES/pi-condense-MIT.txt
Pi Codex compaction source
- Official repository: https://github.com/ogulcancelik/pi-extensions
- Package path:
packages/pi-codex-compaction/ - Snapshot:
c4d6ca8fb484ba51684296ba8b4715f8c7b3ac91 - Version at snapshot:
0.1.4 - Imported source: remote compaction protocol, Response API conversion, retention helpers, retry parsing, and request sanitization in
src/native-compaction.ts. - Local changes: unified checkpoint kind/version, removed raw-branch effective-input construction and legacy checkpoint parsing, exported the shared message projection, made retained-user budget configurable, and renamed the client user agent.
- License:
LICENSES/pi-codex-compaction-MIT.txt
No npm tarball, npm cache, node_modules, build output, or nested Git metadata is used as an import source.
Sub2API protocol reference
- Official repository: https://github.com/Wei-Shaw/sub2api
- Reference commit:
ab99d56e9626e6cd731592dae8553c9758a0efa2 - Protocol evidence:
backend/internal/service/openai_compact_body_signal.goidentifies native remote compaction v2 as Responses plusstream: trueandcompaction_trigger, and handles the Codex beta feature. - The local
src/native-provider.tsadapter is independently implemented against that protocol. No Sub2API source was imported; the existing Codex serializer, stream parser and checkpoint format are reused. - This reference describes upstream capability, not a guarantee about any particular deployment, model or account. The separate Responses compact endpoint is not used by this adapter.