Skip to content
Open
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
15 changes: 15 additions & 0 deletions crates/openshell-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,21 @@ router agree on provider defaults. Profiles define:
Do not duplicate provider-specific inference behavior in callers. Add shared
behavior here, then consume it from the gateway, sandbox, and router.

## Static Credential Resolution

Static credential bindings retain endpoint authorization. The gateway includes
static `ProviderProfileCredential` auth metadata in the existing runtime
credential map under `static-env:<ENV_KEY>`. Provider state extracts those entries
before storing dynamic token grants and compiles placement locally alongside the
matching static binding. Missing metadata preserves legacy endpoint-scoped
substitution; malformed reserved metadata fails closed atomically.

Request rewriting supplies the actual header name, query key, or path slot.
Header authorization is independent of authentication scheme, including Basic.
Explicit body/WebSocket rewrite policies and trusted signing retain their
existing permissions. Existing placeholder and stable-handle derivation remain
unchanged. Protobuf message shapes and service interfaces remain unchanged.

## Middleware Contracts

Built-in supervisor middleware identifiers, host-selector matching, and pure
Expand Down
Loading
Loading