Directories
¶
| Path | Synopsis |
|---|---|
|
Package backend defines the Backend interface — the seam between fenster's core (wire types, validation, server, CLI) and the underlying model engine.
|
Package backend defines the Backend interface — the seam between fenster's core (wire types, validation, server, CLI) and the underlying model engine. |
|
Package bridge is the IPC seam between fenster's supervisor process and the NM-host child Chrome spawns when an extension calls connectNative.
|
Package bridge is the IPC seam between fenster's supervisor process and the NM-host child Chrome spawns when an extension calls connectNative. |
|
Package buildinfo holds compile-time build metadata.
|
Package buildinfo holds compile-time build metadata. |
|
Package chat is the interactive TUI byproduct: `fenster --chat`.
|
Package chat is the interactive TUI byproduct: `fenster --chat`. |
|
Package chrome drives a headless Chrome instance via CDP (Chrome DevTools Protocol) and exposes the Prompt API → Gemini Nano via JavaScript evaluation.
|
Package chrome drives a headless Chrome instance via CDP (Chrome DevTools Protocol) and exposes the Prompt API → Gemini Nano via JavaScript evaluation. |
|
core
|
|
|
errors
Package errors holds fenster's OpenAI-compatible error envelope and the catalogue of fixed error sentinels (one per pytest-asserted rejection).
|
Package errors holds fenster's OpenAI-compatible error envelope and the catalogue of fixed error sentinels (one per pytest-asserted rejection). |
|
ids
Package ids generates the id-shaped identifiers OpenAI clients expect: "chatcmpl-<random>" for completions, "call_<random>" for tool calls.
|
Package ids generates the id-shaped identifiers OpenAI clients expect: "chatcmpl-<random>" for completions, "call_<random>" for tool calls. |
|
tokens
Package tokens estimates token counts.
|
Package tokens estimates token counts. |
|
validate
Package validate enforces every apfel rejection rule on incoming chat completion requests.
|
Package validate enforces every apfel rejection rule on incoming chat completion requests. |
|
wire
Package wire holds the OpenAI-compatible JSON types fenster speaks.
|
Package wire holds the OpenAI-compatible JSON types fenster speaks. |
|
Package doctor probes the host and reports whether fenster can serve Gemini Nano right now.
|
Package doctor probes the host and reports whether fenster can serve Gemini Nano right now. |
|
Package extension embeds fenster's MV3 Chrome extension into the binary.
|
Package extension embeds fenster's MV3 Chrome extension into the binary. |
|
Package manifest writes Chrome Native Messaging manifests for fenster's host binary.
|
Package manifest writes Chrome Native Messaging manifests for fenster's host binary. |
|
Package nm implements the Chrome Native Messaging stdio framing protocol: each message is a 4-byte little-endian unsigned length prefix followed by UTF-8-encoded JSON.
|
Package nm implements the Chrome Native Messaging stdio framing protocol: each message is a 4-byte little-endian unsigned length prefix followed by UTF-8-encoded JSON. |
|
Package oneshot is the UNIX-tool entrypoint: accept a prompt (positional arg or stdin), hand it to a Backend, write the result to stdout.
|
Package oneshot is the UNIX-tool entrypoint: accept a prompt (positional arg or stdin), hand it to a Backend, write the result to stdout. |
|
Package server is fenster's OpenAI-compatible HTTP layer.
|
Package server is fenster's OpenAI-compatible HTTP layer. |
Click to show internal directories.
Click to hide internal directories.