Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/fixtures/** text eol=lf
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Test bootstrap installers
run: |
bash -n packaging/install.sh
bash packaging/tests/test-install.sh

- name: Install the toolchain
run: |
rustup toolchain install stable --profile minimal --no-self-update
Expand Down Expand Up @@ -52,6 +57,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Run PowerShell installer fixtures
shell: pwsh
run: pwsh -NoProfile -File packaging/tests/test-install.ps1

- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@2c7215f132e9ebf062739d9130488b56d53c060c
with:
Expand Down Expand Up @@ -82,6 +91,9 @@ jobs:
cargo install --git https://github.com/eggstack/eggpack --rev "$revision" --locked eggpack-cli
eggpack --version

- name: Check installer release contract
run: python3 scripts/check-installer-contract.py

- name: Check generated release workflow
run: >-
eggpack ci check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ jobs:
if-no-files-found: error
- name: Prepare staging payload
shell: bash
run: "'eggpack' 'ci' '_prepare-stage' '--contract' 'release/eggpack/distribution.toml' '--release-manifest' './eggpack-finalized/release-manifest.json' '--finalized-root' './eggpack-finalized/root' '--github-policy' 'eggpack-runtime/github-draft.json' '--install-policy' 'release/eggpack/install-policy.toml' '--output-dir' './eggpack-staging' '--output-payload' './eggpack-staging-payload.json'"
run: "'eggpack' 'ci' '_prepare-stage' '--contract' 'release/eggpack/distribution.toml' '--release-manifest' './eggpack-finalized/release-manifest.json' '--finalized-root' './eggpack-finalized/root' '--github-policy' 'eggpack-runtime/github-draft.json' '--install-policy' 'release/eggpack/install-policy.toml' '--output-dir' './eggpack-staging' '--output-payload' './eggpack-staging-payload.json' '--installer-presentation' 'release/eggpack/installer-presentation.json' '--source-root' '${{ github.workspace }}'"
- name: Stage GitHub draft release
shell: bash
env:
Expand Down
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,52 @@ Notable changes to eggpass are listed here. The format follows

## [Unreleased]

### Added

- Carry non-text content through ChatGPT's Chat Completions translation:
`image_url` becomes `input_image` with `detail` preserved, and `input_audio`
and file parts are mapped to their Responses equivalents. An image-only
message no longer disappears.
- Return a refusal as a non-text `content` part, in both non-streaming and
streaming answers, instead of an empty answer.
- Carry request fields with a mechanical Responses equivalent, including
`response_format` to `text.format`, and pass Responses-native tools through.
- Add an optional `server.max_body_bytes` setting, defaulting to 32 MiB.
- Add probe-gated routing for native media endpoints. A route is enabled only
after `eggpass probe media` records a provider-side success for it, so an
unprobed path still answers `404`.
- Add `eggpass probe media`, which asks a provider directly whether its
subscription serves a media endpoint and reports the status, origin, content
type, byte count, and any `error.type` and `error.code`, without printing,
storing, or forwarding the response body.
- Enable `POST /v1/images/generations` for the x.ai provider, after
`eggpass probe media` recorded a `200 application/json` answer from
`https://api.x.ai` on 2026-11-28. ChatGPT's candidate stays disabled: its
subscription token is refused at the OAuth boundary with `401`, so that
endpoint was never exercised and its support is unmeasured. Send `model`,
`prompt`, and `n` to the x.ai route; an OpenAI-shaped `size` is refused
with `400`.

### Changed

- Clarify that translated inputs the ChatGPT translator cannot represent
(including unsupported content parts and image/audio generation tools) get
named `400` errors, while provider policy separately strips exactly these
14 fields before forwarding: `background`, `conversation`, `max_tool_calls`,
`metadata`, `moderation`, `multi_agent`, `prompt`, `prompt_cache_retention`,
`safety_identifier`, `temperature`, `top_logprobs`, `top_p`, `truncation`,
`user`.
- Answer a chat or Responses request without a readable `model` with
`400 missing_model` instead of routing it to the default provider.

### Fixed

- Show x.ai product usage as shares of the same weekly pool under one meter,
not as separate `% left` bars that read as independent allowances.
- Fail an answer or stream whose content cannot be expressed in the Chat
Completions shape with `unmappable_output_item` instead of empty content.
- Name the limit and the inline-media cause in the `413` response.

## [0.1.3] - 2026-11-22

### Added
Expand Down
145 changes: 143 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ include = [
"/docs/client-setup.md",
"/docs/commands.md",
"/docs/configuration.md",
"/docs/eggpool.md",
"/docs/how-it-works.md",
"/docs/troubleshooting.md",
"/docs/updating.md",
Expand All @@ -34,6 +35,8 @@ include = [
[dependencies]
eggpass-auth = { version = "0.1.1", path = "crates/eggpass-auth" }
base64 = "0.23.1"
# Exact Eggress reverse-client wire/API line used by EggPool.
eggress-protocol-reverse = "=1.0.12"
dirs = "7.0.0"
# Self-update mechanics. Acquisition, transport, release-manifest projection,
# digest binding, staging, locking, and rollback are owned by the published
Expand Down Expand Up @@ -71,6 +74,8 @@ ureq = "3.5.2"
# in Cargo.lock; the check is the parser, so do not bump it in passing.
url = "=2.5.8"
webbrowser = "1.2.7"
# Clear one-time enrollment and private-key buffers after use.
zeroize = "1.9.1"

[target.'cfg(unix)'.dependencies]
# Unix-only process management and raw-terminal support.
Expand Down
Loading
Loading