go-llm-interactive-proxy

module
v0.0.0-...-bb1ef96 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0

README

Go LLM Interactive Proxy

Go LLM Interactive Proxy (LIP) is a streaming-first control plane for LLM traffic. It sits between AI clients and provider backends so operators can keep client integrations stable while changing routing, provider mix, resilience behavior, observability, and extension policy at the proxy layer.

The standard distribution, cmd/lipstd, serves bundled HTTP frontends, routes through canonical lipapi requests and event streams, and wires the official backends and feature plugins through explicit registration.

What it does

  • Multi-protocol frontends - OpenAI Responses, legacy OpenAI-compatible chat, Anthropic Messages, and Gemini generateContent-compatible HTTP surfaces.
  • Backend flexibility - 140+ embedded provider profiles, enterprise cloud connectors, direct model APIs, dedicated subscription OAuth bridges, OpenAI-compatible/local runtimes, agent-specific backends, custom-compatible backend rows, and a no-key localstub backend for dogfood.
  • Canonical translation - frontend and backend adapters translate through one protocol-neutral request model and event stream; no pairwise protocol translators.
  • Core-owned routing - ordered failover, weighted routing, parallel races, TTFT budgets, model aliases, route diagnostics, and circuit-breaker eligibility live in the core.
  • Continuity and recovery - B2BUA-style A-leg/B-leg lineage records recoverable pre-output attempts, while post-output failures are surfaced instead of silently retried.
  • Operator hardening - typed config, auth/access modes, secure sessions, diagnostics secrets, pprof controls, Prometheus metrics, OpenTelemetry tracing, access logs, and resource limits.
  • Extension platform - feature bundles use pkg/lipsdk facades for request shaping, tools, completion gates, workspace/state, traffic observation, auxiliary calls, and compatibility hooks.
  • Canonical reload contract - Explicit SIGHUP/management-API reload through pkg/lipsdk/configreload (no watcher; DTOs never carry paths, credentials, or raw YAML). This is the one reload contract beside one process runtime / ProcessServices, one generation runtime, and one private-field host (runtimebundle.BuildHost / Host.Close). check-config validates without publishing a generation. Operator contract: docs/runtime-config-reload.md.
  • Accounting and dual-plane economics - Optional metering journal and authority stores. Post-turn billing rates sealed usage records; the runtime never enriches stream-time prices. Rollout: docs/dual-plane-rollout.md. Billing injection: docs/billing-host-composition.md. Feature gates: docs/release-gates.md.
  • Public production facade - pkg/lipruntime builds the standard distribution without importing internal/. Public lipruntime.Options uses RequestRegistrations / AttemptRegistrations / ConcurrencyRegistration only. Supported methods: Build, ExecutorView, Ready, Capabilities, MeteringQuerier, ReadinessReport, RefreshSnapshots, Reload, ReloadStatus, ReloadControl, Close. Field map: docs/legacy-options-migration.md.

Standard distribution

Hybrid backends (ADR 0008): essential kinds are code-owned by internal/standardplugins (EssentialBackendBundle / tables in standard_table.go); optional connectors are executable plugins under connectors/ via closed manifests. Mandatory distribution subset is in pkg/lipsdk/standard_bundle.go.

Surface Bundled support
Frontends openai-responses, openai-legacy, anthropic, gemini
Essential built-in backends openai-responses, openai-legacy, anthropic, gemini, bedrock, alibaba-token-plan-intl (dedicated token-plan product), and custom-compatible kinds (custom-openai-responses-compatible, custom-openai-legacy-compatible, custom-anthropic-compatible — see docs/custom-compatible-backends.md)
Embedded provider profiles 141 data-driven provider profiles (kind: provider-profile) spanning Responses-first, OpenAI-compatible Chat, Anthropic-compatible Messages, and regional/plan splits (e.g. DeepSeek, Groq, Together, Mistral, Moonshot/Kimi, MiniMax, Qwen/Alibaba, xAI, etc.). Zero-dependency, offline-validated. See Provider Profiles Operator Guide
External cloud & enterprise connectors Executable gRPC plugins under connectors/: azure-openai, vertex, sagemaker, oci-generative-ai, watsonx, sapaicore, snowflake-cortex, databricks-ai, cloudflare, infomaniak-ai. See Backend Plugin Operator Guide
External model API connectors Executable gRPC plugins under connectors/: cohere, replicate, openrouter, nvidia, huggingface. See Backend Plugin Operator Guide
External OAuth & subscription bridges Dedicated identity bridges under connectors/: nous-portal, xai-oauth, qwen-oauth, minimax-oauth, and token-exchange bridge gitlab-duo. See Backend Plugin Operator Guide
Local runtimes & developer stubs External: ollama, ollama-cloud, llamacpp, lmstudio, vllm, local-stub
Coding agents & developer tools External: opencode-go/opencode-zen (connectors/opencode), openai-codex/openai-codex-app-server (connectors/codex), experimental cursorsdk (Node bridge over @cursor/sdk — see docs/cursor-sdk-backend.md). ACP runtimes: acp family, cursorcliacp (separate product line)
Feature plugins no-op compatibility hooks plus reference/proof plugins for submit, parts, tools, workspace guard, traffic transcript, verifier, pre-request policy, auto-append, and Codex client compatibility; standard distro also default-enables canonical tool-call-repair (ADR 0007; opt out with enabled: false)
Distinct API-key vs. Dedicated OAuth / Cloud Connectors

To avoid operational ambiguity, Go-LIP strictly distinguishes between direct API-key access and dedicated OAuth / cloud connectors:

  • xAI: xai profile (kind: provider-profile) uses API keys vs. xai-oauth connector (connectors/xaioauth, kind: xai-oauth) using subscription OAuth tokens.
  • MiniMax: minimax / minimax-cn profiles (kind: provider-profile) use API keys vs. minimax-oauth connector (connectors/minimexoauth, kind: minimax-oauth) using Anthropic Messages OAuth tokens.
  • Alibaba / Qwen: alibaba* / DashScope profiles (kind: provider-profile) use API keys vs. qwen-oauth connector (connectors/qwenoauth, kind: qwen-oauth) using subscription OAuth tokens vs. alibaba-token-plan-intl (in-process dedicated product).
  • Anthropic / Claude: In-process anthropic backend uses commercial API keys. Subscription OAuth bridges (claude-subscription / anthropic-oauth) are explicitly unsupported-by-policy.
  • Google / Gemini: In-process gemini backend uses Developer API keys vs. vertex connector (connectors/vertex, kind: vertex) using Google Cloud IAM / Service Accounts.
Scope notes: ACP and Unsupported Bridges
  • ACP is a separate product line: Agent Client Protocol (ACP) connectors (acp, cursorcliacp) represent agent runtimes and are outside the scope of this bulk inference provider expansion.
  • Unsupported-by-policy bridges: Direct third-party consumer subscription bridges for github-copilot and claude-subscription (anthropic-oauth) are explicitly unsupported due to absence of public, third-party API contracts and terms-of-service constraints. See docs/backend-plugins/unsupported.md for full policy evaluations.

Quick start

Start with the no-key local stub path when you want to validate config, routing, inventory, and HTTP serving without hosted provider credentials. local-stub is an external connector (connectors/localstub); stage it before using the example config:

make package-full PACKAGE_DEST=.golip-plugins
go run ./cmd/lipstd check-config --config ./config/examples/dogfood-local-stub.yaml
go run ./cmd/lipstd routes --config ./config/examples/dogfood-local-stub.yaml
go run ./cmd/lipstd inventory --config ./config/examples/dogfood-local-stub.yaml
go run ./cmd/lipstd inspect --config ./config/examples/dogfood-local-stub.yaml
go run ./cmd/lipstd doctor --config ./config/examples/dogfood-local-stub.yaml --instance dogfood-local
go run ./cmd/lipstd serve --config ./config/examples/dogfood-local-stub.yaml

inspect reports built-in/discovered/configured plugin states without launching processes. doctor --instance <id> may launch only that configured backend instance for secure-channel checks (never all discovered plugins; no connector credentials after peer/channel failure). Optional plugins.backend_discovery configures trusted discovery roots (enabled, paths, strict, development_mode).

For hosted providers, use config/config.yaml as the sample and provide API keys through YAML or environment variables. standardplugins.ResolveUpstreamAPIKeysFromEnv resolves the supported provider env vars and numbered variants once at startup; see internal/standardplugins/keys.go for the exact names and numbering rules.

go run ./cmd/lipstd --config ./config/config.yaml

Releases and installation

Prebuilt lipstd binaries for Linux, macOS, and Windows (amd64 and arm64) are published through GitHub Releases when a semantic version tag (vX.Y.Z) is pushed. Each release includes platform archives (.tar.gz on Linux/macOS, .zip on Windows), checksums.txt (SHA-256), and build-provenance attestations.

After downloading an archive for your OS/architecture:

# Linux/macOS example
tar -xzf go-llm-interactive-proxy_vX.Y.Z_linux_amd64.tar.gz
./lipstd --version
./lipstd check-config --config ./config/config.yaml

Verify the archive checksum against checksums.txt before use. Connector plugins remain separate installable artifacts; see docs/backend-plugins/operator.md.

License: Licensed under the Apache License, Version 2.0. Copyright 2026 Mateusz Bartczak. See LICENSE.

Repository file policy

Every tracked file must match an approved path pattern or exact entry in .release-files. The manifest uses pattern wildcards (.kiro/**, .agents/**, docs/**, internal/**, pkg/**) to cover specifications, agent skills, documentation, and package trees without requiring individual file enumeration for spec authors or document creators.

The manifest is enforced locally and in CI (Repo hygiene):

bash scripts/check-release-clean.sh          # working tree
bash scripts/check-release-clean.sh --staged   # staged index (pre-commit)
bash scripts/check-release-clean.sh --ref HEAD # specific revision

Install versioned Git hooks (manifest check on commit/push, plus the 100-modified-Go-file change-size gate):

bash scripts/setup-hooks.sh

Commits and PRs may not change more than 100 *.go files. Skill, catalog, and documentation paths are excluded. Override with LIP_ALLOW_LARGE_CHANGE=1, git config lip.allowLargeChange true, or the allow-large-change PR label. scripts/check-change-size.sh (or scripts/check-change-size.ps1) is the same checker the hooks and CI run.

New top-level files or new component directories must be covered by patterns or entries in .release-files in the same commit. CI never auto-updates the manifest.

lipstd accepts --config before or after the subcommand; if it appears more than once, the later value wins. See docs/dogfood-local.md for the full local dogfood flow. Truncated tool-call repair can be exercised with config/examples/dogfood-tool-call-repair.yaml (see ADR docs/adr/0007-canonical-tool-call-repair.md).

Configuration and operations

  • Config - Runtime config is typed and loaded from YAML. config/config.yaml documents access/auth templates, server timeouts (including server.shutdown_timeout), inbound http_headers aliases, logging, diagnostics, observability, routing, continuity, stream-recovery SSE keepalive (stream_recovery.auto_resume.keepalive_interval), identity (A-leg Server / B-leg User-Agent; OpenRouter HTTP attribution for the external openrouter plugin is configured in that connector), and provider rows. See docs/proxy-identity.md. config/config.multi-instance.example.yaml shows multiple backend instances of the same adapter.
  • Inbound HTTP header aliases - http_headers appends extra accept names after the bundled defaults (Authorization plus Anthropic x-api-key, Gemini x-goog-api-key, and Azure api-key; X-LIP-Route; session carriers; X-Trace-ID; diagnostics secret). First non-empty value wins, so a default still beats an alias when both are present. Local API-key auth accepts those vendor key headers without extra YAML. Comments in config/config.yaml list every list.
  • Billing composition - Billing is host-injected, all-or-none, and has no YAML mode flag. The final flow is settled-credit screen, route/quote, atomic exposure admission, execution without money mutation, durable terminal spool, complete-call gating over every expected B-leg, native customer rating/settlement, and independent provider COGS ordered by (recorded_at, transaction_id). Stock lipstd and public lipruntime.Options remain non-billing. See docs/billing-host-composition.md.
  • Routing - Default selectors come from routing.default_route or the first enabled backend plus registry default model ids. model_aliases rewrite full selector strings before parsing. Route selectors support ordered failover, weights, first-request annotations, parallel ! races, per-leg [handicap=N], global/per-leg TTFT budgets, and per-leaf query generation parameters. Route query parameters such as ?reasoning_effort=xhigh and ?verbosity=high are explicit routing directives: when present, they override matching per-request body/canonical generation options; absent parameters leave request values unchanged. Route-wide stickiness is opt-in with {affinity=session} or {affinity=client} (aliases {session_sticky}, {client_sticky}). Interleaved thinking ([thinker] on one weighted branch) is off unless interleaved.enabled is true; interleaved.stream_to_client is hidden (default) or visible. Runtime A-leg routing overrides are opt-in under routing.override_admin (enabled defaults false). When enabled, protected GET/PUT/DELETE at path_prefix (default /admin/routing-overrides/{a_leg_id}) set, replace, inspect, or clear a sticky selector for later turns on that A-leg; in-flight turns keep their snapshotted revision. The admin route is mounted inside the request-plane access-auth stack (API-key/auth middleware plus the diagnostics shared secret). path_prefix must be a literal ServeMux path (braces/{id} wildcards are rejected) and must not overlap other diagnostics or admin mounts. Disabling the HTTP surface does not clear or suspend already-persisted overrides. Non-loopback exposure requires the same diagnostics shared secret as other protected admin surfaces.
  • OpenAI Codex verbosity bumps - The openai-codex backend defaults to text.verbosity=high for the first 5 turns of each conversation, and then again on every 10th turn by default, when no explicit per-request verbosity is set. Opt out with early_session_verbosity_bump_disabled: true and/or mid_session_verbosity_bump_disabled: true, or tune with early_session_verbosity_bump_turns / mid_session_verbosity_bump_frequency. When the mid-session bump is disabled, the cadence value is ignored. See docs/openai-codex-backend.md and docs/openai-codex-backend.md.
  • Experimental Cursor SDK - Optional local-only cursorsdk connector under connectors/cursorsdk (not in EssentialBackendBundle; manifest-discovered, not root-static). Install the packaged Node bridge-node companion manually (exact @cursor/sdk 1.0.23, Node ≥ 22.13); Go-LIP never runs npm. Use explicit cursorsdk:… routes, separate SDK API-key billing (CURSOR_API_KEY / api_key), and sandbox/settings defaults documented in docs/cursor-sdk-backend.md. Schema example: config/examples/cursor-sdk-experimental.yaml. Offline ACP-vs-SDK matrix: make test-cursor-sdk-comparison-report. cursorcliacp remains a separate external connector.
  • Continuity - continuity.store: memory is the default. continuity.store: sqlite with continuity.sqlite_path persists A-leg rows and attempt lineage through internal/core/continuity/sqlitestore. In-memory ttl and max_legs tuning does not apply to SQLite.
  • Security - Multi-user or non-loopback deployments need explicit auth/access posture. Local API keys must be at least 16 Unicode code points after trimming. Diagnostics, pprof, metrics, model-catalog diagnostics, and secure-session summaries require a shared secret when exposed beyond loopback. The separate management reload API (POST /admin/config/reload, GET /admin/config/status) is disabled unless LIP_RELOAD_MANAGEMENT_ADDRESS supplies its startup-fixed bind (recommended loopback: 127.0.0.1:9090), so existing starts and multiple local instances do not contend for a hidden fixed port. Its authentication is independent of data-plane cookies or local API keys: explicitly enabled single-user loopback may use documented local trust; multi-user or non-loopback requires LIP_RELOAD_MANAGEMENT_TOKEN (≥16 Unicode code points). When required management settings are absent, management stays disabled with a warning and ordinary data-plane serve continues. Runtime reload is explicit-trigger only (no watcher/auto-retry); see docs/runtime-config-reload.md. On Unix, OpenAI Codex auth.json and managed-OAuth account files must be 0600 (group/other-readable files are now rejected at load); symlinked managed-OAuth account files are skipped. See docs/openai-codex-backend.md. Optional secrets guard (plugins.features id secrets-guard, disabled by default) scans model-bound ingress for loaded secret values only, including JSON object keys and scalar tokens. It does not scan responses/egress or transformed forms; log leaves ingress unchanged, and JSON redact blocks unsupported key/scalar tokens with a normal block decision so quarantine still applies. Multi-user matching uses only the current request credential and safe attribution identifiers. Only one enabled secrets-guard feature instance is supported per deployment, and rollout is staged as disabled -> log -> redact -> block, one action per deployment. See docs/secrets-guard.md and config/examples/secrets-guard-*.yaml.
  • Observability - Optional Prometheus metrics and OpenTelemetry tracing are configured under observability. Access logs use bounded-cardinality route groups by default; raw paths are opt-in.
  • HTTP clients - The shared upstream client honors HTTP_PROXY / HTTPS_PROXY by default. Set http_client.trust_environment_proxy: false when process environment is not trusted.
  • Backend retry posture - The hosted openai-responses, openai-legacy, and anthropic backend factories default sdk_max_retries to 0: retry policy above the HTTP round trip lives in pre-output credential rotation and core failover, not in SDK-transparent retries. Operators may raise sdk_max_retries per backend row to opt back into provider-SDK retries.
  • Resource bounds - lipapi.Call.Validate, lipapi.Collect limits, pending wire event caps (max_pending_wire_events; 0 = unlimited), B2BUA store caps, and shared frontend decode admission (max_concurrent_decodes default 32, max_inflight_decode_bytes default **64 MiB) protect memory and request size boundaries. Absolute decompressed body oversize is **413**; temporary decode admission saturation is **429** + Retry-After: 1`. Admission runs after body ReadAll (bytes already resident) and covers protocol Decode only. Raise body and inflight budgets together for large multimodal / long-context.

More detail: docs/proxy-identity.md, docs/runtime-config-reload.md, docs/secrets-guard.md, docs/database-persistence.md, docs/routing-health-circuit-breaker.md, docs/execerr-classification.md, docs/extension-platform-authoring.md, docs/release-gates.md, and docs/cursor-sdk-backend.md.

Developer workflow

make quality-checks        # gofmt drift, go mod tidy drift, build, vet, guard scripts, archtest
make arch-report           # architecture metrics Markdown; exits non-zero if Req 11.5 net shrinkage fails
make test                  # quality-checks + unit tests + parity-checks
make test-unit             # go test -parallel=8 -timeout=10m ./...
make test-precommit-extra  # precommit-tagged hygiene + executor matrices
make test-fast             # cached guard checks + complete root test graph (safe reverse-dependency coverage)
make parity-checks         # conformance package with -tags=precommit,integration
make test-fuzz             # short fuzz smoke over release-gate fuzz targets
make test-race             # skipped on Windows; strict race runs in nightly CI on Linux
make bench                 # benchmark smoke for hot packages
make pgo-profile           # collect default.pgo from core benches (optional; move under cmd/lipstd)
make pgo-build             # build cmd/lipstd (auto-applies cmd/lipstd/default.pgo when present)
make qa                    # cached fast quality checks + tagged tests + lint + govulncheck + release-gates-static
make isolated-root-qa      # GOWORK=off QA on a temp root copy without connectors/support/Node/artifacts
make installed-plugin-smoke # one lipstd binary; install release artifacts; same-binary inspect/doctor/invoke
make docs-check knowledge-check # backend-plugin docs + steering hybrid consistency
make example-config-check  # operator/example YAML + config/examples bootstrap inspect
make backend-plugin-cross-platform-qa # connector platform matrix compile/package + native lifecycle gates
make backend-plugin-release-gates-static # release report/traceability/wiring (also via make qa)
make backend-plugin-release-gates # full connector/support module matrix + root release suites
make hooks-install         # install optional legacy pre-commit hooks (.githooks)
bash scripts/setup-hooks.sh # install manifest pre-commit/pre-push hooks (recommended)

Operator install/trust/diagnostics/upgrade/rollback for executable backend plugins: docs/backend-plugins/operator.md; threat model / trust equivalence: docs/backend-plugins/threat-model.md (make backend-plugin-security-checks); cross-platform packaging/IPC matrix: make backend-plugin-cross-platform-qa; final release gates: make backend-plugin-release-gates (ADR 0008).

PR CI includes:

  • Repo hygiene (.github/workflows/ci.yml) — exact .release-files manifest on every push/PR; cross-platform tests and lipstd build. Linux/macOS run go test -race; Windows runs go test because the ACP PATH-cache stress test is prohibitively slow under the Windows race runtime.
  • QA (.github/workflows/qa.yml) — when test-relevant files change: formatting, go mod verify, architecture guardrails, and go vet of cmd/lipstd. Full golangci-lint and govulncheck run locally via make qa / make lint / make vuln; PRs also run govulncheck in .github/workflows/security.yml.
  • CodeQL, Go vulnerability check, and OpenSSF Scorecard on main and PRs (where configured).

Nightly CI (.github/workflows/race-fuzz-nightly.yml, also workflow_dispatch) runs strict Linux race and Tier-1 fuzz smoke (FUZZTIME=6s). Locally, make lint runs golangci-lint from PATH (golangci-lint v2; config in .golangci.yml) and falls back to staticcheck. A monthly modernization workflow (.github/workflows/modernize-monthly.yml) re-runs the modernize linter suite and go tool govulncheck.

Recoverability is defined by tests, testdata/ goldens, stable pkg/lipapi / pkg/lipsdk contracts, and steering. Cross-protocol parity: make parity-checks.

Repository layout

  • cmd/lipstd/ - standard distribution command and wiring tests.
  • pkg/lipapi/ - canonical request, event, capability, validation, and error contracts.
  • pkg/lipsdk/ - stable plugin SDK contracts and standard distribution requirements.
    • Compatibility note: FrontendMountOptions gained an optional DecodeAdmission field. Use named composite literals; unkeyed literals that previously listed every field in order will not compile.
    • Compatibility note: pkg/lipsdk/configreload.AllResultCategories (exported mutable var) was replaced by func ResultCategories() []ResultCategory, which returns a defensive copy per call; the pkg/lipruntime.AllResultCategories alias is now a function alias for the same accessor. Readers of the former var must call the function; external assignment is no longer possible.
  • internal/core/ - runtime orchestration, routing, continuity, secure sessions, hooks/extensions, stream handling, policy, accounting, config, admin, diagnostics, and safety.
  • internal/plugins/ - bundled frontend, essential backend, feature, and protocol-helper packages.
  • connectors/, connector-support/ - optional executable backend plugins and shared connector support modules (ADR 0008).
  • internal/standardplugins/ - essential/static registration tables, per-backend factory helpers, and InstallStandardBundleOn.
  • internal/featurebundle/ - feature merge surface (MergeFeatureSurface over SDK hook slices).
  • internal/pluginreg/ - explicit per-composition-root registry and discovered connector registration.
  • internal/infra/runtimebundle/ and internal/stdhttp/ - runtime assembly (executor, hook bus, stores) and HTTP mounting/serving.
  • internal/infra/ - logging, HTTP client tuning, metrics, tracing, DB, model catalog/registry, routing health, tokenization/accounting, and auth-event plumbing.
  • internal/refbackend/, internal/refclient/, internal/testkit/ - emulators, reference clients, fixtures, stubs, and conformance helpers for tests.
  • internal/archtest/, internal/qa/, scripts/, .githooks/, .github/workflows/ - guardrails and quality automation.
  • docs/ (includes ADR 0008, docs/knowledge knowledge-check), .kiro/, testdata/, config/ - operator docs, steering/spec artifacts, fixtures, and sample configs.

Relationship to Python LIP

This repository is the Go implementation of LIP with a smaller core and explicit plugin/SDK boundaries. The sibling Python project remains useful historical context and migration reference, but Go documentation should describe only behavior implemented in this repo unless a doc explicitly says a feature is Python-era or future migration work.

Directories

Path Synopsis
api
backendplugin/v1
Package backendpluginv1 is the generated wire contract for the backend plugin ABI.
Package backendpluginv1 is the generated wire contract for the backend plugin ABI.
cmd
lip-testcost command
lipstd command
internal
archtest/tools/changesurface
Package changesurface reports extension blast radius from Git paths.
Package changesurface reports extension blast radius from Git paths.
capabilityfacts
Package capabilityfacts provides neutral capability extraction, turn shape facts, and hash derivation matching canonical lipapi semantics without materializing a lipapi.Call.
Package capabilityfacts provides neutral capability extraction, turn shape facts, and hash derivation matching canonical lipapi semantics without materializing a lipapi.Call.
compactionfacts
Package compactionfacts provides protocol-neutral semantic facts extraction, deterministic item hashing, start-rule matching, and streaming fact builder primitives for compaction recognition without prompt retention.
Package compactionfacts provides protocol-neutral semantic facts extraction, deterministic item hashing, start-rule matching, and streaming fact builder primitives for compaction recognition without prompt retention.
core/accessmode
Package accessmode implements deployment access posture: access mode normalization, listen-address classification, and cross-field posture validation used by core config.
Package accessmode implements deployment access posture: access mode normalization, listen-address classification, and cross-field posture validation used by core config.
core/accounting
Package accounting contains pure usage and cost accounting helpers.
Package accounting contains pure usage and cost accounting helpers.
core/admin
Package admin provides operator-facing diagnostics surfaces.
Package admin provides operator-facing diagnostics surfaces.
core/affinity
Package affinity Session affinity store and missing-identity policy.
Package affinity Session affinity store and missing-identity policy.
core/auth
Package auth defines core-owned consuming ports for authentication and auth/session event delivery.
Package auth defines core-owned consuming ports for authentication and auth/session event delivery.
core/authorityattribution
Package authorityattribution holds shared attribution dimensions, matchers, and readiness aggregation used by usage authority, concurrency authority, and authority coordination.
Package authorityattribution holds shared attribution dimensions, matchers, and readiness aggregation used by usage authority, concurrency authority, and authority coordination.
core/authoritycoord
Package authoritycoord orchestrates multi-provider logical-request and backend-attempt authority admission with reverse compensation (Phase 6).
Package authoritycoord orchestrates multi-provider logical-request and backend-attempt authority admission with reverse compensation (Phase 6).
core/auxreq
Package auxreq Auxiliary request client for executor-runner binding.
Package auxreq Auxiliary request client for executor-runner binding.
core/b2bua
Package b2bua holds core-owned B2BUA session store contracts: A-leg resolution, B-leg allocation, attempt lineage rows, and in-memory TTL semantics.
Package b2bua holds core-owned B2BUA session store contracts: A-leg resolution, B-leg allocation, attempt lineage rows, and in-memory TTL semantics.
core/capabilities
Package capabilities provides the core-owned capability negotiation boundary.
Package capabilities provides the core-owned capability negotiation boundary.
core/concurrencyauthority/compatible
Package compatible wires generation-local per-instance compatible backend concurrency limits into the attempt authority coordinator.
Package compatible wires generation-local per-instance compatible backend concurrency limits into the attempt authority coordinator.
core/concurrencyauthority/domain
Package domain contains the pure concurrency-lease policy model.
Package domain contains the pure concurrency-lease policy model.
core/config
Package config owns typed runtime configuration for the core only.
Package config owns typed runtime configuration for the core only.
core/configreload
Package configreload owns typed field-level reloadability policy for runtime configuration changes.
Package configreload owns typed field-level reloadability policy for runtime configuration changes.
core/continuation
Package continuation provides in-memory contract implementations for protocol-neutral proxy-owned response continuation ports.
Package continuation provides in-memory contract implementations for protocol-neutral proxy-owned response continuation ports.
core/continuity
Package continuity provides the core-owned B2BUA and lineage boundary.
Package continuity provides the core-owned B2BUA and lineage boundary.
core/continuity/bunstore
Package bunstore implements b2bua.Store using Bun over database/sql for managed durable continuity (PostgreSQL) and for dialect-backed tests (SQLite).
Package bunstore implements b2bua.Store using Bun over database/sql for managed durable continuity (PostgreSQL) and for dialect-backed tests (SQLite).
core/controlplane
Package controlplane owns the core control-plane normalization, recording policy, query semantics, status state, validation, and runtime policy for the LLM Interactive Proxy.
Package controlplane owns the core control-plane normalization, recording policy, query semantics, status state, validation, and runtime policy for the LLM Interactive Proxy.
core/conversationprojection
Package conversationprojection implements the pure kernel for semantic message identity, never_backend exclusion filtering, deterministic projection/reassertion, anchor/provenance primitives, and immutable projection DTOs at the A-leg/B-leg boundary.
Package conversationprojection implements the pure kernel for semantic message identity, never_backend exclusion filtering, deterministic projection/reassertion, anchor/provenance primitives, and immutable projection DTOs at the A-leg/B-leg boundary.
core/diag
Package diag provides request-scoped trace propagation, structured logging helpers, and minimal HTTP surfaces for health and B2BUA attempt diagnostics.
Package diag provides request-scoped trace propagation, structured logging helpers, and minimal HTTP surfaces for health and B2BUA attempt diagnostics.
core/execbackend
Package execbackend defines the executor-consumed outbound seam for opening canonical backend attempts (introduce-hexagonal-architecture).
Package execbackend defines the executor-consumed outbound seam for opening canonical backend attempts (introduce-hexagonal-architecture).
core/execctx
Package execctx attaches stable plugin-facing view snapshots to request context (tasks 4+).
Package execctx attaches stable plugin-facing view snapshots to request context (tasks 4+).
core/extensions
Package extensions publishes per-request extension runtime seams: the hook bus, plugin-facing service facades, and narrow views used by the executor without pulling concrete feature plugins into orchestration packages.
Package extensions publishes per-request extension runtime seams: the hook bus, plugin-facing service facades, and narrow views used by the executor without pulling concrete feature plugins into orchestration packages.
core/geoip
Package geoip owns protocol-neutral ingress policy semantics and the narrow country-lookup port.
Package geoip owns protocol-neutral ingress policy semantics and the narrow country-lookup port.
core/hooks
Package hooks executes submit, part, and tool-reactor chains with deterministic ordering and validation of canonical mutations.
Package hooks executes submit, part, and tool-reactor chains with deterministic ordering and validation of canonical mutations.
core/http
Package http provides shared server wiring and middleware helpers.
Package http provides shared server wiring and middleware helpers.
core/identity
Package identity holds the core-owned proxy identity policy model: upstream User-Agent / OpenRouter app attribution and downstream Server presentation.
Package identity holds the core-owned proxy identity policy model: upstream User-Agent / OpenRouter app attribution and downstream Server presentation.
core/interleavedstate
Package interleavedstate holds pure, serializable value types shared by routing, continuity, and runtime for interleaved thinking.
Package interleavedstate holds pure, serializable value types shared by routing, continuity, and runtime for interleaved thinking.
core/jsonpresence
Package jsonpresence JSON null-vs-empty round-trip preservation for encoded shapes.
Package jsonpresence JSON null-vs-empty round-trip preservation for encoded shapes.
core/jsonshape
Package jsonshape provides protocol-neutral JSON size and shape preflight using encoding/json.Decoder.Token.
Package jsonshape provides protocol-neutral JSON size and shape preflight using encoding/json.Decoder.Token.
core/largebody
Package largebody defines the internal provider-neutral DTO contracts for the large-payload streaming fast path (#503, work order #532).
Package largebody defines the internal provider-neutral DTO contracts for the large-payload streaming fast path (#503, work order #532).
core/leglifecycle
Package leglifecycle owns A-leg scoped cancellation and B-leg teardown policy.
Package leglifecycle owns A-leg scoped cancellation and B-leg teardown policy.
core/lineage
Package lineage A-leg/B-leg lineage identifiers and records.
Package lineage A-leg/B-leg lineage identifiers and records.
core/metering
Package metering implements immutable metering checkpoint capture and fact drafting for dual-plane economics.
Package metering implements immutable metering checkpoint capture and fact drafting for dual-plane economics.
core/metering/aggregate
Package aggregate applies metering fact kinds onto a stream aggregate without mutating journal history (requirements 3.2, 3.3, 3.5, 13.6).
Package aggregate applies metering fact kinds onto a stream aggregate without mutating journal history (requirements 3.2, 3.3, 3.5, 13.6).
core/metering/plane
Package plane holds pure dual-plane usage projection helpers used by runtime metering and settlement without importing the executor.
Package plane holds pure dual-plane usage projection helpers used by runtime metering and settlement without importing the executor.
core/metering/reconcile
Package reconcile exposes bounded journal reconciliation helpers over a metering Querier (requirements 13.6, 13.7, 14.5, 15.3).
Package reconcile exposes bounded journal reconciliation helpers over a metering Querier (requirements 13.6, 13.7, 14.5, 15.3).
core/modelcatalog
Package modelcatalog holds source-neutral model capability facts, match metadata, and consumer-owned snapshot ports used by the core catalog runtime.
Package modelcatalog holds source-neutral model capability facts, match metadata, and consumer-owned snapshot ports used by the core catalog runtime.
core/modelregistry
Package modelregistry Model registry runtime and cache for backend model inventory.
Package modelregistry Model registry runtime and cache for backend model inventory.
core/modelview
Package modelview holds cycle-free aggregate request model-view identity: config generation/fingerprint, registry generation, catalog generation, and a stable digest for diagnostics and /v1/models ETag (req 9.6).
Package modelview holds cycle-free aggregate request model-view identity: config generation/fingerprint, registry generation, catalog generation, and a stable digest for diagnostics and /v1/models ETag (req 9.6).
core/policy
Package policy Orchestration policy rules including circuit breaker.
Package policy Orchestration policy rules including circuit breaker.
core/routeoverride
Package routeoverride holds A-leg-scoped routing-override state and the focused persistence ports used by core runtime and the protected admin adapter.
Package routeoverride holds A-leg-scoped routing-override state and the focused persistence ports used by core runtime and the protected admin adapter.
core/routeoverride/storecontract
Package storecontract holds reusable contract tests for routeoverride.Store implementations (memory, SQLite, PostgreSQL).
Package storecontract holds reusable contract tests for routeoverride.Store implementations (memory, SQLite, PostgreSQL).
core/routing
Package routing parses route selector strings and expands them into ordered attempt candidates.
Package routing parses route selector strings and expands them into ordered attempt candidates.
core/runtime
Package runtime owns the top-level application assembly and request execution lifecycle wiring.
Package runtime owns the top-level application assembly and request execution lifecycle wiring.
core/safety
Package safety provides internal crash-isolation helpers for turning recovered panics into typed errors with bounded, server-side metadata.
Package safety provides internal crash-isolation helpers for turning recovered panics into typed errors with bounded, server-side metadata.
core/securesession/adapters/b2bualineage
Package b2bualineage implements app.LineageStore over b2bua.Store.
Package b2bualineage implements app.LineageStore over b2bua.Store.
core/securesession/adapters/bunstore
Package bunstore implements securesession app.Store and app.SessionUsageRollup using Bun over database/sql.
Package bunstore implements securesession app.Store and app.SessionUsageRollup using Bun over database/sql.
core/securesession/adapters/diag
Package diag implements operator HTTP diagnostics for secure sessions (driving adapter).
Package diag implements operator HTTP diagnostics for secure sessions (driving adapter).
core/securesession/adapters/lipapidenial
Package lipapidenial maps secure-session domain errors to canonical pkg/lipapi session denials.
Package lipapidenial maps secure-session domain errors to canonical pkg/lipapi session denials.
core/securesession/storecontract
Package storecontract holds reusable contract tests for app.Store implementations.
Package storecontract holds reusable contract tests for app.Store implementations.
core/snapshotgen
Package snapshotgen publishes immutable runtime policy/rating generations.
Package snapshotgen publishes immutable runtime policy/rating generations.
core/state
Package state provides the in-memory plugin state store implementation (design §8, tasks 6–6.1).
Package state provides the in-memory plugin state store implementation (design §8, tasks 6–6.1).
core/stream
Package stream provides canonical streaming primitives for the execution engine, including keepalive injection during recovery and idle waits.
Package stream provides canonical streaming primitives for the execution engine, including keepalive injection during recovery and idle waits.
core/streamrecovery
Package streamrecovery Stream recovery policy after interruptions.
Package streamrecovery Stream recovery policy after interruptions.
core/terminal
Package terminal implements the pure-domain request/attempt terminal owner state machine (requirements 7.1–7.8, design D8, D13).
Package terminal implements the pure-domain request/attempt terminal owner state machine (requirements 7.1–7.8, design D8, D13).
core/terminalwork
Package terminalwork implements the pure-domain durable terminal-work item state machine and store command shapes (requirements 8.1–8.9, design D9).
Package terminalwork implements the pure-domain durable terminal-work item state machine and store command shapes (requirements 8.1–8.9, design D9).
core/terminalwork/app
Package app implements the bounded terminal-work processor and provider router (requirements 8.4–8.8, design D9).
Package app implements the bounded terminal-work processor and provider router (requirements 8.4–8.8, design D9).
core/tokenaccounting/app
Package app coordinates token counting through provider and local tokenizer ports.
Package app coordinates token counting through provider and local tokenizer ports.
core/tokenaccounting/domain
Package domain reconciles already-emitted token usage into billing-plane choices.
Package domain reconciles already-emitted token usage into billing-plane choices.
core/tokenaccounting/observability
Package observability builds safe, bounded token-accounting observations for future metrics and logging adapters.
Package observability builds safe, bounded token-accounting observations for future metrics and logging adapters.
core/tokenaccounting/preflight
Package preflight evaluates token-accounting admission checks before a backend attempt.
Package preflight evaluates token-accounting admission checks before a backend attempt.
core/tokenaccounting/streamusage
Package streamusage reconstructs scoped usage for completed streaming calls.
Package streamusage reconstructs scoped usage for completed streaming calls.
core/traffic
Package traffic Traffic observation, capture, and redaction contracts.
Package traffic Traffic observation, capture, and redaction contracts.
core/usageauthority/domain
Package domain contains the pure accounting-authority policy model.
Package domain contains the pure accounting-authority policy model.
core/workspace
Package workspace implements core-owned workspace resolution chains for the execution snapshot (design §9, R5).
Package workspace implements core-owned workspace resolution chains for the execution snapshot (design §9, R5).
infra
Package infra reserves shared non-domain infrastructure helpers.
Package infra reserves shared non-domain infrastructure helpers.
infra/authevent
Package authevent provides composition-root implementations of core auth event delivery, such as a structured-log github.com/matdev83/go-llm-interactive-proxy/internal/core/auth.EventSink.
Package authevent provides composition-root implementations of core auth event delivery, such as a structured-log github.com/matdev83/go-llm-interactive-proxy/internal/core/auth.EventSink.
infra/backendplugins/adapter
Package adapter is the anti-corruption layer between public backendplugin DTOs and core-consumed execbackend.Backend / lipapi streams.
Package adapter is the anti-corruption layer between public backendplugin DTOs and core-consumed execbackend.Backend / lipapi streams.
infra/backendplugins/diagnostics
Package diagnostics provides non-serving inspect and explicit doctor checks for external backend plugins (manifest/catalog without launch; selected Activate).
Package diagnostics provides non-serving inspect and explicit doctor checks for external backend plugins (manifest/catalog without launch; selected Activate).
infra/backendplugins/processhost
Package processhost owns the project-selected supervised backend-plugin process host: lazy activation, process-model ownership, peer-gated local channels, generation invalidation, and composition BuildResult cleanup.
Package processhost owns the project-selected supervised backend-plugin process host: lazy activation, process-model ownership, peer-gated local channels, generation invalidation, and composition BuildResult cleanup.
infra/billingspool
Package billingspool owns the process-local durable terminal handoff.
Package billingspool owns the process-local durable terminal handoff.
infra/compactiondetect
Package compactiondetect implements the proxy-derived coding-agent session compaction detector: a concrete, process-owned detector that inspects the effective canonical baseline after an upstream B-leg opens and every canonical event actually released by the retry stream, and derives typed started/completed lifecycle observations for fail-open SDK observers.
Package compactiondetect implements the proxy-derived coding-agent session compaction detector: a concrete, process-owned detector that inspects the effective canonical baseline after an upstream B-leg opens and every canonical event actually released by the retry stream, and derives typed started/completed lifecycle observations for fail-open SDK observers.
infra/concurrencyauthority/leasestore
Package leasestore provides memory, SQLite, and PostgreSQL backends for the concurrency-authority LeaseStore port.
Package leasestore provides memory, SQLite, and PostgreSQL backends for the concurrency-authority LeaseStore port.
infra/configsource
Package configsource provides the bounded fixed-path configuration source for runtime reload (versioned-runtime-reloadable-proxy-configuration).
Package configsource provides the bounded fixed-path configuration source for runtime reload (versioned-runtime-reloadable-proxy-configuration).
infra/continuation
Package continuation contains the small durable continuation adapter used by the standard contract tests and local deployments.
Package continuation contains the small durable continuation adapter used by the standard contract tests and local deployments.
infra/controlplane/ledgerstore
Package ledgerstore provides control-plane event-store adapters: an in-memory store for deterministic local recording and tests, and a Bun-backed durable store for SQLite and Postgres deployments.
Package ledgerstore provides control-plane event-store adapters: an in-memory store for deterministic local recording and tests, and a Bun-backed durable store for SQLite and Postgres deployments.
infra/controlplane/ledgerstore/contract
Package contract provides a reusable store-contract test suite for control-plane event stores (spec control-plane-persistence-query-event-ledger, tasks 2.1–2.5).
Package contract provides a reusable store-contract test suite for control-plane event stores (spec control-plane-persistence-query-event-ledger, tasks 2.1–2.5).
infra/controlplane/ledgerstore/fields
Package fields owns the canonical filter-field string names reported by control-plane ledger stores in cp.UnsupportedFilter.Field.
Package fields owns the canonical filter-field string names reported by control-plane ledger stores in cp.UnsupportedFilter.Field.
infra/controlplane/observers
Package observers hosts the control-plane source adapters that fan existing runtime evidence seams (auth event sink, policy/usage observers, secure- session store, B2BUA store) into the core control-plane recorder without requiring those seams to understand the query capability (design "Source Adapters"; requirements 1.1–1.6, 3.1, 5.1–5.7, 8.1–8.6, 10.7).
Package observers hosts the control-plane source adapters that fan existing runtime evidence seams (auth event sink, policy/usage observers, secure- session store, B2BUA store) into the core control-plane recorder without requiring those seams to understand the query capability (design "Source Adapters"; requirements 1.1–1.6, 3.1, 5.1–5.7, 8.1–8.6, 10.7).
infra/conversationview
Package conversationview provides mutable steering CRUD/state, placement and anchor-missing policies, writer/registrar services, persistence and store contracts, and feature diagnostics outside the core conversation projection kernel.
Package conversationview provides mutable steering CRUD/state, placement and anchor-missing policies, writer/registrar services, persistence and store contracts, and feature diagnostics outside the core conversation projection kernel.
infra/conversationview/sdkadapter
Package sdkadapter bridges trusted SDK contracts to the authoritative conversation-view domain ports.
Package sdkadapter bridges trusted SDK contracts to the authoritative conversation-view domain ports.
infra/conversationview/storecontract
Package storecontract holds reusable contract tests for conversationview.Store implementations (ReferenceStore, MemoryStore, Bun).
Package storecontract holds reusable contract tests for conversationview.Store implementations (ReferenceStore, MemoryStore, Bun).
infra/db
Package db provides internal-only database infrastructure: opening managed connections, wrapping *sql.DB with Bun for supported dialects, connection pool tuning, and secret-safe DSN and error redaction.
Package db provides internal-only database infrastructure: opening managed connections, wrapping *sql.DB with Bun for supported dialects, connection pool tuning, and secret-safe DSN and error redaction.
infra/endpoint
Package endpoint defines the immutable compatible-mode base URL contract.
Package endpoint defines the immutable compatible-mode base URL contract.
infra/extensiontrace
Package extensiontrace hosts minimal OpenTelemetry helpers for internal/core/extension stages without importing the full internal/infra/tracing package (which depends on internal/core and would cycle with packages such as internal/core/diag that reference extensions).
Package extensiontrace hosts minimal OpenTelemetry helpers for internal/core/extension stages without importing the full internal/infra/tracing package (which depends on internal/core and would cycle with packages such as internal/core/diag that reference extensions).
infra/geoip
Package geoip contains process-owned Country MMDB infrastructure.
Package geoip contains process-owned Country MMDB infrastructure.
infra/logging
Package logging builds slog handlers from validated operator logging config.
Package logging builds slog handlers from validated operator logging config.
infra/metering/journalstore
Package journalstore provides append-only metering fact journal adapters: in-memory for tests/local use, and Bun-backed SQLite/Postgres for durable deployments.
Package journalstore provides append-only metering fact journal adapters: in-memory for tests/local use, and Bun-backed SQLite/Postgres for durable deployments.
infra/modelcatalog/modelsdev
Package modelsdev implements models.dev catalog ingestion: JSON parse, normalize to modelcatalog.ModelFacts, HTTP fetch, and filesystem cache.
Package modelsdev implements models.dev catalog ingestion: JSON parse, normalize to modelcatalog.ModelFacts, HTTP fetch, and filesystem cache.
infra/osidentity
Package osidentity resolves the current OS user (or explicit env hints) for local no-op auth.
Package osidentity resolves the current OS user (or explicit env hints) for local no-op auth.
infra/routinghealth
Package routinghealth supplies composition-root implementations of policy.CandidateHealth for the standard bundle without embedding core routing policy types at call sites.
Package routinghealth supplies composition-root implementations of policy.CandidateHealth for the standard bundle without embedding core routing policy types at call sites.
infra/runtimebundle
Package runtimebundle is the standard-distribution composition root: BuildHost, inspection, ValidateDistribution, and generation compile/publish wiring.
Package runtimebundle is the standard-distribution composition root: BuildHost, inspection, ValidateDistribution, and generation compile/publish wiring.
infra/runtimehost
Package runtimehost hosts the generation manager, leases, retirement scheduling, dispatcher, and serialized reload coordinator for versioned runtime reload.
Package runtimehost hosts the generation manager, leases, retirement scheduling, dispatcher, and serialized reload coordinator for versioned runtime reload.
infra/terminalwork/workstore
Package workstore provides memory, SQLite, and PostgreSQL backends for durable terminal-work intent, claims, retry, and quarantine (requirements 8.1–8.9).
Package workstore provides memory, SQLite, and PostgreSQL backends for durable terminal-work intent, claims, retry, and quarantine (requirements 8.1–8.9).
infra/tokenizers/imageestimator
Package imageestimator provides bounded local estimates for multimodal image parts.
Package imageestimator provides bounded local estimates for multimodal image parts.
infra/tracing
Package tracing wires OpenTelemetry tracers, propagators, and optional OTLP export.
Package tracing wires OpenTelemetry tracers, propagators, and optional OTLP export.
infra/usageauthority/authoritystore/contract
Package contract defines the shared authority-store contract test helpers.
Package contract defines the shared authority-store contract test helpers.
infra/usageauthority/evidencesink
Package evidencesink projects usage-authority application outcomes into the policydecision observer chain and the control-plane accounting-authority event ledger.
Package evidencesink projects usage-authority application outcomes into the policydecision observer chain and the control-plane accounting-authority event ledger.
integration/openresponses
Package openresponses hosts the reusable full-path conformance deployment harness integration tests (spec Phase 7, Task 7.3).
Package openresponses hosts the reusable full-path conformance deployment harness integration tests (spec Phase 7, Task 7.3).
jsonbody
Package jsonbody owns HTTP-adapter JSON body bounds and decode policy: bounded body read, shape preflight against the request-envelope profile (which also enforces exactly one JSON document), then typed decode.
Package jsonbody owns HTTP-adapter JSON body bounds and decode policy: bounded body read, shape preflight against the request-envelope profile (which also enforces exactly one JSON document), then typed decode.
pluginreg
Ownership contracts for composed backend kind/prefix reservation.
Ownership contracts for composed backend kind/prefix reservation.
plugins/backends/alibabatokenplanintl
Package alibabatokenplanintl implements Alibaba Cloud's international Token Plan backend.
Package alibabatokenplanintl implements Alibaba Cloud's international Token Plan backend.
plugins/backends/anthropic
Package anthropic implements the Anthropic Messages API backend connector using github.com/anthropics/anthropic-sdk-go.
Package anthropic implements the Anthropic Messages API backend connector using github.com/anthropics/anthropic-sdk-go.
plugins/backends/compatmode
Package compatmode holds shared helpers for custom-compatible backend modes.
Package compatmode holds shared helpers for custom-compatible backend modes.
plugins/backends/credpool
Package credpool re-exports the public credential pool from pkg/credpool.
Package credpool re-exports the public credential pool from pkg/credpool.
plugins/backends/gemini
Package gemini implements the Google Gemini generateContent backend connector using google.golang.org/genai.
Package gemini implements the Google Gemini generateContent backend connector using google.golang.org/genai.
plugins/backends/httpidentity
Package httpidentity applies B-leg User-Agent identity policy at the final HTTP wire boundary for approved hosted connectors.
Package httpidentity applies B-leg User-Agent identity policy at the final HTTP wire boundary for approved hosted connectors.
plugins/backends/localstub
Package localstub implements a deterministic no-network backend for local dogfood and smoke tests.
Package localstub implements a deterministic no-network backend for local dogfood and smoke tests.
plugins/backends/openaicaps
Package openaicaps holds small, shared capability rules for OpenAI-hosted backends.
Package openaicaps holds small, shared capability rules for OpenAI-hosted backends.
plugins/backends/openaicompat
Package openaicompat contains shared adapter-layer helpers for backend plugins that talk to OpenAI-compatible APIs through the openai-go SDK.
Package openaicompat contains shared adapter-layer helpers for backend plugins that talk to OpenAI-compatible APIs through the openai-go SDK.
plugins/backends/openailegacy
Package openailegacy implements the legacy OpenAI Chat Completions backend connector using github.com/openai/openai-go/v3.
Package openailegacy implements the legacy OpenAI Chat Completions backend connector using github.com/openai/openai-go/v3.
plugins/backends/openairesponses
Package openairesponses implements the OpenAI Responses API backend connector using github.com/openai/openai-go/v3.
Package openairesponses implements the OpenAI Responses API backend connector using github.com/openai/openai-go/v3.
plugins/backends/openresponsescompat
Package openresponsescompat implements the generic remote OpenResponses backend mode for remote OpenResponses-capable providers and routers.
Package openresponsescompat implements the generic remote OpenResponses backend mode for remote OpenResponses-capable providers and routers.
plugins/backends/protocols/anthropicmessages
Package anthropicmessages provides shared Anthropic Messages protocol execution.
Package anthropicmessages provides shared Anthropic Messages protocol execution.
plugins/backends/protocols/geminigenerate
Package geminigenerate provides shared Gemini generateContent protocol execution.
Package geminigenerate provides shared Gemini generateContent protocol execution.
plugins/backends/protocols/mediaurl
Package mediaurl extracts media URLs from protocol JSON payloads.
Package mediaurl extracts media URLs from protocol JSON payloads.
plugins/backends/transporterr
Package transporterr classifies transport-level failures (network timeouts, DNS errors, refused/reset/aborted connections) shared by backend adapters when deciding whether an upstream failure is a transient retry/failover candidate.
Package transporterr classifies transport-level failures (network timeouts, DNS errors, refused/reset/aborted connections) shared by backend adapters when deciding whether an upstream failure is a transient retry/failover candidate.
plugins/features
Package features contains the standard-distribution feature plugins.
Package features contains the standard-distribution feature plugins.
plugins/features/agentloopguard/causepolicy
Package causepolicy contains the provider-independent ALG eligibility policy for canonical terminal causes and bounded evidence.
Package causepolicy contains the provider-independent ALG eligibility policy for canonical terminal causes and bounded evidence.
plugins/features/agentloopguard/progress
Package progress contains the pure ALG progress breaker and bounded recovery-intent policy.
Package progress contains the pure ALG progress breaker and bounded recovery-intent policy.
plugins/features/compactioncontinuity/augmentation
Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist.
Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist.
plugins/features/compactioncontinuity/capsule
Package capsule contains the provider-neutral, bounded continuity capsule.
Package capsule contains the provider-neutral, bounded continuity capsule.
plugins/features/compactioncontinuity/carriers
Package carriers recognizes a small, versioned catalog of canonical structured plan shapes.
Package carriers recognizes a small, versioned catalog of canonical structured plan shapes.
plugins/features/compactioncontinuity/extractor
Package extractor builds the one canonical child call used for semantic continuity extraction and validates its bounded result.
Package extractor builds the one canonical child call used for semantic continuity extraction and validates its bounded result.
plugins/features/compactioncontinuity/injection
Package injection applies a bounded, provider-neutral continuity projection to a canonical call.
Package injection applies a bounded, provider-neutral continuity projection to a canonical call.
plugins/features/compactioncontinuity/observability
Package observability provides the content-free diagnostics seam for the compaction-continuity feature.
Package observability provides the content-free diagnostics seam for the compaction-continuity feature.
plugins/features/compactioncontinuity/policy
Package policy resolves the continuity egress policy at request time.
Package policy resolves the continuity egress policy at request time.
plugins/features/compactioncontinuity/resultmerge
Package resultmerge consumes one bounded background result and applies it to the authoritative parent continuity branch.
Package resultmerge consumes one bounded background result and applies it to the authoritative parent continuity branch.
plugins/features/compactioncontinuity/source
Package source prepares a small, canonical and privacy-bounded source window for continuity extraction.
Package source prepares a small, canonical and privacy-bounded source window for continuity extraction.
plugins/features/compactioncontinuity/state
Package state contains the process-owned state coordination used by compaction preservation.
Package state contains the process-owned state coordination used by compaction preservation.
plugins/features/keepwarm
Package keepwarm owns bounded, generation-local prompt-cache maintenance policy.
Package keepwarm owns bounded, generation-local prompt-cache maintenance policy.
plugins/features/reasoningpreservation
Package reasoningpreservation owns the official reasoning-output-preservation feature domain.
Package reasoningpreservation owns the official reasoning-output-preservation feature domain.
plugins/features/secretguard/engine
Package engine provides the concrete secret catalog, Aho-Corasick exact pattern matching automaton, credential inventory discovery, and source policy implementation for the secretguard feature plugin.
Package engine provides the concrete secret catalog, Aho-Corasick exact pattern matching automaton, credential inventory discovery, and source policy implementation for the secretguard feature plugin.
plugins/features/toolcallrepair
Package toolcallrepair holds YAML config decode and bundle construction for the standard-distribution tool-call-repair feature (ADR 0007 / issue #152).
Package toolcallrepair holds YAML config decode and bundle construction for the standard-distribution tool-call-repair feature (ADR 0007 / issue #152).
plugins/features/toolcallrepair/repair
Package toolcallrepair holds the deterministic native tool-call repair engine contract (ADR 0007, issue #152).
Package toolcallrepair holds the deterministic native tool-call repair engine contract (ADR 0007, issue #152).
plugins/features/toolcallrepair/repair/jsonshape
Package jsonshape provides protocol-neutral JSON size and shape preflight using encoding/json.Decoder.Token.
Package jsonshape provides protocol-neutral JSON size and shape preflight using encoding/json.Decoder.Token.
plugins/frontends/anthropic
Package anthropic implements the Anthropic Messages–compatible HTTP frontend.
Package anthropic implements the Anthropic Messages–compatible HTTP frontend.
plugins/frontends/execerr
Package execerr classifies errors returned from lipsdk.ExecutorView.Execute for HTTP frontends.
Package execerr classifies errors returned from lipsdk.ExecutorView.Execute for HTTP frontends.
plugins/frontends/frontendpipe
Package frontendpipe provides a shared HTTP create pipeline for wire frontends.
Package frontendpipe provides a shared HTTP create pipeline for wire frontends.
plugins/frontends/gemini
Package gemini implements the Gemini generateContent–compatible HTTP frontend.
Package gemini implements the Gemini generateContent–compatible HTTP frontend.
plugins/frontends/identitywire
Package identitywire captures protocol-neutral client identity carriers into canonical invocation metadata.
Package identitywire captures protocol-neutral client identity carriers into canonical invocation metadata.
plugins/frontends/jsonguard
Package jsonguard provides low-cost preflight checks for untrusted frontend JSON bodies.
Package jsonguard provides low-cost preflight checks for untrusted frontend JSON bodies.
plugins/frontends/openailegacy
Package openailegacy implements the legacy OpenAI Chat Completions–compatible HTTP frontend: JSON decode to lipapi.Call, core execution, and JSON or SSE encode for official clients.
Package openailegacy implements the legacy OpenAI Chat Completions–compatible HTTP frontend: JSON decode to lipapi.Call, core execution, and JSON or SSE encode for official clients.
plugins/frontends/openairesponses
Package openairesponses implements the OpenAI Responses–compatible HTTP frontend: JSON decode to lipapi.Call, core execution, and JSON or SSE encode for official clients.
Package openairesponses implements the OpenAI Responses–compatible HTTP frontend: JSON decode to lipapi.Call, core execution, and JSON or SSE encode for official clients.
plugins/frontends/reqbody
Package reqbody centralizes bounded HTTP request body reads for frontend handlers.
Package reqbody centralizes bounded HTTP request body reads for frontend handlers.
plugins/frontends/routeselect
Package routeselect derives explicit route selectors from model identifiers.
Package routeselect derives explicit route selectors from model identifiers.
plugins/frontends/sessionwire
Package sessionwire holds shared LIP session carrier keys and decode helpers for frontends.
Package sessionwire holds shared LIP session carrier keys and decode helpers for frontends.
plugins/openrouterwire
Package openrouterwire provides shared extension keys and helpers for OpenRouter-specific data that flows from frontend decoders through lipapi.Call.Extensions to backend adapters.
Package openrouterwire provides shared extension keys and helpers for OpenRouter-specific data that flows from frontend decoders through lipapi.Call.Extensions to backend adapters.
providerprofiles
Package providerprofiles contains the bounded, declarative provider-profile seam.
Package providerprofiles contains the bounded, declarative provider-profile seam.
qa
Package qa holds repository hygiene and non-domain quality tests.
Package qa holds repository hygiene and non-domain quality tests.
refbackend
Package refbackend provides spec-shaped HTTP emulators for remote inference APIs.
Package refbackend provides spec-shaped HTTP emulators for remote inference APIs.
refbackend/acp
Package acp is a reference backend emulator for the Agent Client Protocol (ACP) prompt-turn subset used by integration tests.
Package acp is a reference backend emulator for the Agent Client Protocol (ACP) prompt-turn subset used by integration tests.
refbackend/anthropicmessages
Package anthropicmessages is a reference backend emulator for the Anthropic Messages API.
Package anthropicmessages is a reference backend emulator for the Anthropic Messages API.
refbackend/bedrock
Package bedrock is a reference backend emulator for Amazon Bedrock Runtime Converse and ConverseStream.
Package bedrock is a reference backend emulator for Amazon Bedrock Runtime Converse and ConverseStream.
refbackend/gemini
Package gemini is a reference backend emulator for the Google Gemini generateContent API.
Package gemini is a reference backend emulator for the Google Gemini generateContent API.
refbackend/jsonprobe
Package jsonprobe inspects JSON request bodies for reference backend servers.
Package jsonprobe inspects JSON request bodies for reference backend servers.
refbackend/llamacpp
Package llamacpp provides a spec-faithful HTTP emulator of the llama.cpp OpenAI-compatible API server for use in tests.
Package llamacpp provides a spec-faithful HTTP emulator of the llama.cpp OpenAI-compatible API server for use in tests.
refbackend/nvidia
Package nvidia is a reference backend emulator for NVIDIA NIM's API surface.
Package nvidia is a reference backend emulator for NVIDIA NIM's API surface.
refbackend/ollama
Package ollama is a reference backend emulator for Ollama's API surface.
Package ollama is a reference backend emulator for Ollama's API surface.
refbackend/openaichat
Package openaichat is a reference backend emulator for the OpenAI Chat Completions API.
Package openaichat is a reference backend emulator for the OpenAI Chat Completions API.
refbackend/openaicodex
Package openaicodex is a reference backend emulator for the OpenAI Codex internal Responses endpoint (POST /backend-api/codex/responses).
Package openaicodex is a reference backend emulator for the OpenAI Codex internal Responses endpoint (POST /backend-api/codex/responses).
refbackend/openairesponses
Package openairesponses is a reference backend emulator for the OpenAI Responses API.
Package openairesponses is a reference backend emulator for the OpenAI Responses API.
refbackend/openresponses
Package openresponses is an independent OpenResponses remote backend emulator.
Package openresponses is an independent OpenResponses remote backend emulator.
refbackend/openrouter
Package openrouter is a reference backend emulator for OpenRouter's API surface.
Package openrouter is a reference backend emulator for OpenRouter's API surface.
refbackend/vllm
Package vllm provides a spec-faithful HTTP emulator of the vLLM OpenAI-compatible API server for use in tests.
Package vllm provides a spec-faithful HTTP emulator of the vLLM OpenAI-compatible API server for use in tests.
refclient
Package refclient provides official-SDK-based reference client emulators for integration and conformance tests.
Package refclient provides official-SDK-based reference client emulators for integration and conformance tests.
refclient/anthropicmessages
Package anthropicmessages is a reference client emulator for the Anthropic Messages API, built on github.com/anthropics/anthropic-sdk-go.
Package anthropicmessages is a reference client emulator for the Anthropic Messages API, built on github.com/anthropics/anthropic-sdk-go.
refclient/gemini
Package gemini is a reference client emulator for the Google Gemini generateContent API, built on google.golang.org/genai.
Package gemini is a reference client emulator for the Google Gemini generateContent API, built on google.golang.org/genai.
refclient/openaichat
Package openaichat is a reference client emulator for the OpenAI Chat Completions API (legacy OpenAI-compatible chat surface), using github.com/openai/openai-go/v3.
Package openaichat is a reference client emulator for the OpenAI Chat Completions API (legacy OpenAI-compatible chat surface), using github.com/openai/openai-go/v3.
refclient/openairesponses
Package openairesponses is a reference client emulator for the OpenAI Responses API, built on github.com/openai/openai-go/v3.
Package openairesponses is a reference client emulator for the OpenAI Responses API, built on github.com/openai/openai-go/v3.
refclient/openresponses
Package openresponses is an independent OpenResponses reference client emulator.
Package openresponses is an independent OpenResponses reference client emulator.
refclient/refclienttest
Package refclienttest holds helpers shared by refclient emulator tests.
Package refclienttest holds helpers shared by refclient emulator tests.
safecast
Package safecast provides bounded conversions for numeric values at protocol boundaries.
Package safecast provides bounded conversions for numeric values at protocol boundaries.
standardplugins/contrib
Package contrib contains immutable, metadata-only extension facets.
Package contrib contains immutable, metadata-only extension facets.
standardplugins/featurehost/reasoning
Package reasoningcompose provides dedicated runtime composition for reasoning semantic compression.
Package reasoningcompose provides dedicated runtime composition for reasoning semantic compression.
standardplugins/featurehost/sessionpolicy
Package sessionpolicy provides the standard featurehost-owned, bounded policy store for terminal-decision session overrides.
Package sessionpolicy provides the standard featurehost-owned, bounded policy store for terminal-decision session overrides.
stdhttp
Package stdhttp registers bundled frontend HTTP handlers on a ServeMux (standard distribution wiring).
Package stdhttp registers bundled frontend HTTP handlers on a ServeMux (standard distribution wiring).
stdhttp/admin/configreload
Package configreload implements the process-owned management HTTP adapter for explicit configuration reload and status (spec versioned-runtime-reloadable-proxy-configuration task 5.3; requirements 1.3, 1.7, 12.1-12.11, 13.1-13.2).
Package configreload implements the process-owned management HTTP adapter for explicit configuration reload and status (spec versioned-runtime-reloadable-proxy-configuration task 5.3; requirements 1.3, 1.7, 12.1-12.11, 13.1-13.2).
stdhttp/admin/controlplane
Package controlplane mounts the protected operator status and query HTTP surface for the control-plane persistence/query/event-ledger capability (spec control-plane-persistence-query-event-ledger; tasks 5.3, 5.4).
Package controlplane mounts the protected operator status and query HTTP surface for the control-plane persistence/query/event-ledger capability (spec control-plane-persistence-query-event-ledger; tasks 5.3, 5.4).
stdhttp/auth
Package auth integrates transport-layer httpauth.Provider chains into stdhttp.
Package auth integrates transport-layer httpauth.Provider chains into stdhttp.
stdhttp/contract
Package contract defines the cycle-neutral HTTP composition input value types shared by runtimebundle (canonical construction) and stdhttp (canonical and transitional composition).
Package contract defines the cycle-neutral HTTP composition input value types shared by runtimebundle (canonical construction) and stdhttp (canonical and transitional composition).
stdhttp/terminalpolicy
Package terminalpolicy provides the provider-neutral HTTP adapter for the process-owned terminal-decision policy.
Package terminalpolicy provides the provider-neutral HTTP adapter for the process-owned terminal-decision policy.
testkit
Package testkit reserves shared testing helpers, stubs, and fixtures.
Package testkit reserves shared testing helpers, stubs, and fixtures.
testkit/backendplugin
Package backendplugin provides a deterministic in-process fake backend plugin and a future executable command skeleton name for host launch tests.
Package backendplugin provides a deterministic in-process fake backend plugin and a future executable command skeleton name for host launch tests.
testkit/compatibleparity
Package compatibleparity holds deterministic canonical parity and instance-isolation fixtures for the three built-in compatible backend modes.
Package compatibleparity holds deterministic canonical parity and instance-isolation fixtures for the three built-in compatible backend modes.
testkit/conformance
Package conformance hosts the bundled frontend × backend conformance matrix (spec tasks 12.x).
Package conformance hosts the bundled frontend × backend conformance matrix (spec tasks 12.x).
testkit/nativecontext
Package nativecontext contains deterministic, content-safe evidence helpers for the experimental Codex native-context integration and quality suites.
Package nativecontext contains deterministic, content-safe evidence helpers for the experimental Codex native-context integration and quality suites.
testkit/reasoninge2e
Package reasoninge2e provides a deterministic client-transcript model and backend-request oracle for reasoning-preservation full HTTP E2E phases.
Package reasoninge2e provides a deterministic client-transcript model and backend-request oracle for reasoning-preservation full HTTP E2E phases.
testkit/terminaldecision
Package terminaldecision contains deterministic coordination fixtures for terminal-decision platform tests.
Package terminaldecision contains deterministic coordination fixtures for terminal-decision platform tests.
pkg
lipapi
Package lipapi defines the canonical public contracts shared across frontends, backends, and future external integrations.
Package lipapi defines the canonical public contracts shared across frontends, backends, and future external integrations.
lipruntime
Package lipruntime is the public production composition facade for LIP.
Package lipruntime is the public production composition facade for LIP.
lipsdk
Package lipsdk defines stable plugin-facing contracts used by official and external plugins.
Package lipsdk defines stable plugin-facing contracts used by official and external plugins.
lipsdk/auth
Package auth defines stable, protocol-neutral authentication data shapes and event schemas for the plugin SDK.
Package auth defines stable, protocol-neutral authentication data shapes and event schemas for the plugin SDK.
lipsdk/authority
Package authority defines public request- and attempt-level authority provider contracts, decisions, safe evidence, and concurrency lease DTOs.
Package authority defines public request- and attempt-level authority provider contracts, decisions, safe evidence, and concurrency lease DTOs.
lipsdk/auxiliary
Package auxiliary defines the auxiliary internal request client facade (design §7, task 4.1).
Package auxiliary defines the auxiliary internal request client facade (design §7, task 4.1).
lipsdk/backendplugin
Package backendplugin defines the public authoring, validation, and wire-conversion contracts for executable backend connector plugins.
Package backendplugin defines the public authoring, validation, and wire-conversion contracts for executable backend connector plugins.
lipsdk/backendplugin/conformance
Package conformance defines advertised-capability-only checks for backend plugins.
Package conformance defines advertised-capability-only checks for backend plugins.
lipsdk/backendplugin/host
Package host provides the supported public construction path for executable backend-plugin contract clients.
Package host provides the supported public construction path for executable backend-plugin contract clients.
lipsdk/backendplugin/manifest
Package manifest defines the closed public v1 installation metadata model for executable backend plugins.
Package manifest defines the closed public v1 installation metadata model for executable backend plugins.
lipsdk/compaction
Package compaction defines the typed, fail-open observer seam for proxy-derived coding-agent session compaction lifecycle observations.
Package compaction defines the typed, fail-open observer seam for proxy-derived coding-agent session compaction lifecycle observations.
lipsdk/completion
Package completion defines the completion-gate extension contract (design §6, R8).
Package completion defines the completion-gate extension contract (design §6, R8).
lipsdk/configreload
Package configreload is the dependency-neutral, secret-safe canonical reload contract.
Package configreload is the dependency-neutral, secret-safe canonical reload contract.
lipsdk/continuation
Package continuation defines protocol-neutral proxy-owned response continuation contracts: opaque response IDs, scoped stores, persistence policy, terminal recording, and bounded materialization.
Package continuation defines protocol-neutral proxy-owned response continuation contracts: opaque response IDs, scoped stores, persistence policy, terminal recording, and bounded materialization.
lipsdk/continuity
Package continuity defines the stable persistence contract for A-leg / B-leg continuity and attempt lineage used by documentation and optional external tooling.
Package continuity defines the stable persistence contract for A-leg / B-leg continuity and attempt lineage used by documentation and optional external tooling.
lipsdk/contract
Package contract contains dependency-neutral semantic TCK metadata shared by frontend, core, backend, and executable connector contract tests.
Package contract contains dependency-neutral semantic TCK metadata shared by frontend, core, backend, and executable connector contract tests.
lipsdk/controlplane
Package controlplane defines the stable, safe control-plane evidence and query contracts for the LLM Interactive Proxy runtime.
Package controlplane defines the stable, safe control-plane evidence and query contracts for the LLM Interactive Proxy runtime.
lipsdk/economics
Package economics defines provider-neutral public contracts for money, independent customer/operator rating, conservative exposure assumptions, immutable version snapshot references, and versioned snapshot sources.
Package economics defines provider-neutral public contracts for money, independent customer/operator rating, conservative exposure assumptions, immutable version snapshot references, and versioned snapshot sources.
lipsdk/execview
Package execview holds stable, transport-agnostic identity and attempt views for feature plugins (design §2), plus WithPrincipal / PrincipalFromContext for the canonical principal in context.Context (set at the transport edge, read by the core).
Package execview holds stable, transport-agnostic identity and attempt views for feature plugins (design §2), plus WithPrincipal / PrincipalFromContext for the canonical principal in context.Context (set at the transport edge, read by the core).
lipsdk/feature
Package feature defines typed extension planes and the contribution lifecycle for feature plugins in Go-LIP.
Package feature defines typed extension planes and the contribution lifecycle for feature plugins in Go-LIP.
lipsdk/genpin
Package genpin defines the narrow request-context contract for retaining runtime configuration generation ownership beyond an HTTP handler lease.
Package genpin defines the narrow request-context contract for retaining runtime configuration generation ownership beyond an HTTP handler lease.
lipsdk/hooks
Package hooks defines stable plugin contracts for submit, part, and tool-reactor hooks.
Package hooks defines stable plugin contracts for submit, part, and tool-reactor hooks.
lipsdk/localturn
Package localturn defines the trusted extension contract for generic proxy-local turn handling.
Package localturn defines the trusted extension contract for generic proxy-local turn handling.
lipsdk/metering
Package metering defines provider-neutral public contracts for dual-plane metering facts, quantities, and journal append/query ports.
Package metering defines provider-neutral public contracts for dual-plane metering facts, quantities, and journal append/query ports.
lipsdk/modelinventory
Package modelinventory defines the backend-owned model inventory contract.
Package modelinventory defines the backend-owned model inventory contract.
lipsdk/nonforwardable
Package nonforwardable defines the trusted producer contract for tagging client-visible messages as never_backend.
Package nonforwardable defines the trusted producer contract for tagging client-visible messages as never_backend.
lipsdk/policydecision
Package policydecision defines the protocol-neutral policy decision vocabulary, record model, observer contracts, and bounded evidence normalization shared by core extension runners, diagnostics, and tests.
Package policydecision defines the protocol-neutral policy decision vocabulary, record model, observer contracts, and bounded evidence normalization shared by core extension runners, diagnostics, and tests.
lipsdk/prerequest
Package prerequest defines pre-routing admission handlers for canonical calls.
Package prerequest defines pre-routing admission handlers for canonical calls.
lipsdk/promptcache
Package promptcache defines the provider-neutral host/plugin contract for prompt-cache residency.
Package promptcache defines the provider-neutral host/plugin contract for prompt-cache residency.
lipsdk/request
Package request defines the request-wide shaping stage contract (design §5, R12).
Package request defines the request-wide shaping stage contract (design §5, R12).
lipsdk/response
Package response defines the final-canonical-stream observer contract.
Package response defines the final-canonical-stream observer contract.
lipsdk/routehint
Package routehint defines advisory route-hint providers (design §12, R13).
Package routehint defines advisory route-hint providers (design §12, R13).
lipsdk/runtimegen
Package runtimegen defines provider-neutral executable generation contributions.
Package runtimegen defines provider-neutral executable generation contributions.
lipsdk/scope
Package scope holds the authoritative, protocol-neutral principal/scope attribution snapshot for an accepted LLM Interactive Proxy request.
Package scope holds the authoritative, protocol-neutral principal/scope attribution snapshot for an accepted LLM Interactive Proxy request.
lipsdk/secretguard
Package secretguard defines opaque SDK contracts for the secrets-guard ingress stage.
Package secretguard defines opaque SDK contracts for the secrets-guard ingress stage.
lipsdk/session
Package session holds session-scoped contracts and views for the feature SDK (design §2, §16).
Package session holds session-scoped contracts and views for the feature SDK (design §2, §16).
lipsdk/state
Package state defines the plugin-scoped state store facade (design §8, tasks 4.1, 6–6.1).
Package state defines the plugin-scoped state store facade (design §8, tasks 4.1, 6–6.1).
lipsdk/steering
Package steering defines the trusted producer contract for persistent backend-only steering overlays.
Package steering defines the trusted producer contract for persistent backend-only steering overlays.
lipsdk/terminal
Package terminal defines provider-neutral public contracts for single terminal ownership and durable terminal-work kinds/states.
Package terminal defines provider-neutral public contracts for single terminal ownership and durable terminal-work kinds/states.
lipsdk/terminaldecision
Package terminaldecision defines the provider-neutral SDK contract for bounded provisional-terminal decisions.
Package terminaldecision defines the provider-neutral SDK contract for bounded provisional-terminal decisions.
lipsdk/toolcall
Package toolcall declares the completed-call finalizer SDK seam (ADR 0007 / issue #152).
Package toolcall declares the completed-call finalizer SDK seam (ADR 0007 / issue #152).
lipsdk/toolcatalog
Package toolcatalog defines the tool catalog filter stage (design §4, R9).
Package toolcatalog defines the tool catalog filter stage (design §4, R9).
lipsdk/toolpolicy
Package toolpolicy defines provider-neutral policy hooks for model-emitted tool calls.
Package toolpolicy defines provider-neutral policy hooks for model-emitted tool calls.
lipsdk/traffic
Package traffic defines four-leg observation, privileged raw capture, and redactor hooks (design §10–§11).
Package traffic defines four-leg observation, privileged raw capture, and redactor hooks (design §10–§11).
lipsdk/transport/httpauth
Package httpauth defines transport-layer authentication contracts for the standard HTTP distribution (design §13, R4).
Package httpauth defines transport-layer authentication contracts for the standard HTTP distribution (design §13, R4).
lipsdk/usage
Package usage defines observer seams for token and accounting events.
Package usage defines observer seams for token and accounting events.
lipsdk/workspace
Package workspace holds workspace resolution contracts and views (design §2, §9, §16).
Package workspace holds workspace resolution contracts and views (design §2, §9, §16).
streampump
Package streampump provides a bounded pending-event queue and generic Recv loop shared by core stream adapters and connector backends.
Package streampump provides a bounded pending-event queue and generic Recv loop shared by core stream adapters and connector backends.
tools
changesize command
coverage-gate command
testcost
Package testcost contains the versioned test-cost measurement and ratchet policy used by the repository's Windows quality gate.
Package testcost contains the versioned test-cost measurement and ratchet policy used by the repository's Windows quality gate.

Jump to

Keyboard shortcuts

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