plugins/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0

Directories

Path Synopsis
backends
alibabatokenplanintl
Package alibabatokenplanintl implements Alibaba Cloud's international Token Plan backend.
Package alibabatokenplanintl implements Alibaba Cloud's international Token Plan backend.
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.
compatmode
Package compatmode holds shared helpers for custom-compatible backend modes.
Package compatmode holds shared helpers for custom-compatible backend modes.
credpool
Package credpool re-exports the public credential pool from pkg/credpool.
Package credpool re-exports the public credential pool from pkg/credpool.
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.
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.
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.
openaicaps
Package openaicaps holds small, shared capability rules for OpenAI-hosted backends.
Package openaicaps holds small, shared capability rules for OpenAI-hosted 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.
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.
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.
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.
protocols/anthropicmessages
Package anthropicmessages provides shared Anthropic Messages protocol execution.
Package anthropicmessages provides shared Anthropic Messages protocol execution.
protocols/geminigenerate
Package geminigenerate provides shared Gemini generateContent protocol execution.
Package geminigenerate provides shared Gemini generateContent protocol execution.
protocols/mediaurl
Package mediaurl extracts media URLs from protocol JSON payloads.
Package mediaurl extracts media URLs from protocol JSON payloads.
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.
Package features contains the standard-distribution feature plugins.
Package features contains the standard-distribution feature plugins.
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.
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.
agentloopguard/protocolpolicy
Package protocolpolicy holds the preferred-strategy missing-completion-signal policy as pure values.
Package protocolpolicy holds the preferred-strategy missing-completion-signal policy as pure values.
agentloopguard/protocolstate
Package protocolstate owns the preferred-strategy missing-signal protocol state: a bounded progress fingerprint, bounded counters, and an independent opaque state token.
Package protocolstate owns the preferred-strategy missing-signal protocol state: a bounded progress fingerprint, bounded counters, and an independent opaque state token.
compactioncontinuity/augmentation
Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist.
Package augmentation owns the deliberately narrow response-side continuation-carrier allowlist.
compactioncontinuity/capsule
Package capsule contains the provider-neutral, bounded continuity capsule.
Package capsule contains the provider-neutral, bounded continuity capsule.
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.
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.
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.
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.
compactioncontinuity/policy
Package policy resolves the continuity egress policy at request time.
Package policy resolves the continuity egress policy at request time.
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.
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.
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.
keepwarm
Package keepwarm owns bounded, generation-local prompt-cache maintenance policy.
Package keepwarm owns bounded, generation-local prompt-cache maintenance policy.
reasoningpreservation
Package reasoningpreservation owns the official reasoning-output-preservation feature domain.
Package reasoningpreservation owns the official reasoning-output-preservation feature domain.
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.
sessionclassification
Package sessionclassification owns the session-classification feature policy.
Package sessionclassification owns the session-classification feature policy.
sessionclassification/testfixtures
Package testfixtures exposes the shared, data-driven evidence matrix used by session-classification acceptance tests.
Package testfixtures exposes the shared, data-driven evidence matrix used by session-classification acceptance tests.
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).
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).
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.
frontends
anthropic
Package anthropic implements the Anthropic Messages–compatible HTTP frontend.
Package anthropic implements the Anthropic Messages–compatible HTTP frontend.
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.
frontendpipe
Package frontendpipe provides a shared HTTP create pipeline for wire frontends.
Package frontendpipe provides a shared HTTP create pipeline for wire frontends.
gemini
Package gemini implements the Gemini generateContent–compatible HTTP frontend.
Package gemini implements the Gemini generateContent–compatible HTTP frontend.
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.
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.
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.
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.
reqbody
Package reqbody centralizes bounded HTTP request body reads for frontend handlers.
Package reqbody centralizes bounded HTTP request body reads for frontend handlers.
routeselect
Package routeselect derives explicit route selectors from model identifiers.
Package routeselect derives explicit route selectors from model identifiers.
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.
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.
protocols

Jump to

Keyboard shortcuts

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