internal/

directory
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: AGPL-3.0

README

internal

Core implementation packages for Starport (OSS only).

Private packages not exposed to external consumers.

Directories

Path Synopsis
Package app owns Starport production composition and lifecycle.
Package app owns Starport production composition and lifecycle.
Package availability owns runtime state for exact provider offerings.
Package availability owns runtime state for exact provider offerings.
Package cache provides a multi-layer caching system for LLM responses with in-memory and persistent storage backends.
Package cache provides a multi-layer caching system for LLM responses with in-memory and persistent storage backends.
Package catalog owns Starport's immutable view of Starmap facts and the separately versioned runtime availability used to derive routable models.
Package catalog owns Starport's immutable view of Starmap facts and the separately versioned runtime availability used to derive routable models.
Package chatui provides a web-based chat interface for interacting with LLM models through Starport.
Package chatui provides a web-based chat interface for interacting with LLM models through Starport.
Package cli owns Starport command contracts and process-independent execution.
Package cli owns Starport command contracts and process-independent execution.
Package config provides configuration management for Starport.
Package config provides configuration management for Starport.
Package credentials owns encrypted provider credentials and their durable repository.
Package credentials owns encrypted provider credentials and their durable repository.
Package diagnosis owns read-only startup checks for Starport.
Package diagnosis owns read-only startup checks for Starport.
Package doclinks verifies local destinations in Markdown documents.
Package doclinks verifies local destinations in Markdown documents.
Package execution owns attempt state, retry and fallback budgets, and the response-byte commitment boundary for inference execution.
Package execution owns attempt state, retry and fallback budgets, and the response-byte commitment boundary for inference execution.
Package failure owns normalized inference failure semantics.
Package failure owns normalized inference failure semantics.
httpapi
openai
Package openai adapts the OpenAI HTTP protocol to canonical inference values.
Package openai adapts the OpenAI HTTP protocol to canonical inference values.
openrouter
Package openrouter adapts the OpenRouter HTTP protocol to canonical inference values.
Package openrouter adapts the OpenRouter HTTP protocol to canonical inference values.
Package httpclient provides optimized HTTP clients for LLM providers with built-in monitoring and connection pooling.
Package httpclient provides optimized HTTP clients for LLM providers with built-in monitoring and connection pooling.
Package identity owns gateway API-key identity and persistence.
Package identity owns gateway API-key identity and persistence.
Package inference owns provider-neutral inference values and stream events.
Package inference owns provider-neutral inference values and stream events.
Package presets owns reusable inference configuration presets and persistence.
Package presets owns reusable inference configuration presets and persistence.
Package providerauth applies catalog-declared authentication primitives to provider inference requests.
Package providerauth applies catalog-declared authentication primitives to provider inference requests.
Package providers owns the projection from operator inference settings to compiled adapter configuration.
Package providers owns the projection from operator inference settings to compiled adapter configuration.
byok
Package byok manages API keys for external LLM providers.
Package byok manages API keys for external LLM providers.
connectors
Package connectors provides interfaces and types for LLM provider integrations
Package connectors provides interfaces and types for LLM provider integrations
Package providerstate projects safe provider runtime state from its concept owners.
Package providerstate projects safe provider runtime state from its concept owners.
Package proxy provides a high-performance LLM request proxy with support for multiple providers, intelligent routing, caching, and extensible middleware.
Package proxy provides a high-performance LLM request proxy with support for multiple providers, intelligent routing, caching, and extensible middleware.
Package ratelimit owns fixed-window rate-limit state and persistence.
Package ratelimit owns fixed-window rate-limit state and persistence.
Package registry manages LLM provider connectors
Package registry manages LLM provider connectors
Package repositorytest supplies storage backends for repository contract tests.
Package repositorytest supplies storage backends for repository contract tests.
Package responsecache owns response-cache eligibility, semantic identity, versioned canonical records, and stream replay.
Package responsecache owns response-cache eligibility, semantic identity, versioned canonical records, and stream replay.
Package router provides model routing and fallback capabilities for the Starport gateway.
Package router provides model routing and fallback capabilities for the Starport gateway.
Package routing plans deterministic provider attempts from immutable inputs.
Package routing plans deterministic provider attempts from immutable inputs.
Package server provides HTTP server implementation for Starport.
Package server provides HTTP server implementation for Starport.
controllers
Package controllers contains HTTP handlers for the Starport API.
Package controllers contains HTTP handlers for the Starport API.
dto
Package dto owns shared administrative HTTP response values.
Package dto owns shared administrative HTTP response values.
requestctx
Package requestctx defines typed request context values shared by the server middleware and HTTP controllers.
Package requestctx defines typed request context values shared by the server middleware and HTTP controllers.
Package setup owns safe first-run initialization for a local Starport instance.
Package setup owns safe first-run initialization for a local Starport instance.
Package storage provides a key-value storage abstraction layer with support for multiple backend implementations including embedded and distributed stores.
Package storage provides a key-value storage abstraction layer with support for multiple backend implementations including embedded and distributed stores.
Package testutil provides common test utilities for the Starport project
Package testutil provides common test utilities for the Starport project

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL