eclipse-gateway 0.13.4

The Eclipse gateway: the dashboard, the OpenAI-compatible API and the scheduled check, on one pid
eclipse-gateway-0.13.4 is not a library.

eclipse-gateway

One process for everything Eclipse serves: the dashboard, an OpenAI-compatible endpoint, and the scheduled check — on one pid, behind one login, on one port.

Useful when something else has to talk to Eclipse as if it were a model: the gateway accepts POST /v1/chat/completions, answers it with the same agent the dashboard's composer is talking to, and serves the dashboard from the same socket.

Run

cargo install eclipse-gateway
eclipse-gateway                     # dashboard and API on web.host:web.port from your config
eclipse-gateway --port 9000         # override web.port for this run
eclipse-gateway --profile work      # a profile's config, sessions and plugins

It reads the same ~/.eclipse/config.toml as eclipse and eclipse-web, and --host must be a loopback address, exactly like the dashboard's.

What is on the socket

Everything eclipse-web serves (the page, /api/..., the login), plus:

path what it is
POST /v1/chat/completions the OpenAI wire, answered by the same agent

A request that asks for stream: true is refused with a 400 rather than answered with a partial OpenAI-shaped stream: half an SSE reply that stops at the first tool call is worse than a flat answer, and the dashboard is the surface that streams.

The scheduled check runs in the same process, so its result lands in the conversation store the dashboard reads.

Licence

Apache-2.0. The full text is in LICENSE in this package.