pkg

module
v0.0.0-...-2ed2b13 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT

Directories

Path Synopsis
Package agentbase contains cross-cutting helpers shared by every platform agent (telegram, vk, yandex_business, google_business).
Package agentbase contains cross-cutting helpers shared by every platform agent (telegram, vk, yandex_business, google_business).
Package authz exposes the OneVoice RBAC primitives shared by the API gateway and downstream callers.
Package authz exposes the OneVoice RBAC primitives shared by the API gateway and downstream callers.
Package billingclient is the orchestrator's HTTP client for the API's internal billing-substrate endpoint.
Package billingclient is the orchestrator's HTTP client for the API's internal billing-substrate endpoint.
PK is composite (business_id, user_id); no synthetic id column.
PK is composite (business_id, user_id); no synthetic id column.
Package health provides shared liveness / readiness HTTP handlers for every OneVoice service.
Package health provides shared liveness / readiness HTTP handlers for every OneVoice service.
Package hitl contains pure policy-resolution helpers used by both the orchestrator (at pause time) and the API (at resolve time, for the TOCTOU re-check).
Package hitl contains pure policy-resolution helpers used by both the orchestrator (at pause time) and the API (at resolve time, for the TOCTOU re-check).
Package hitldedupe provides per-agent deduplication of HITL approvals via Redis SetNX.
Package hitldedupe provides per-agent deduplication of HITL approvals via Redis SetNX.
Package hitlstore provides the Mongo-backed implementation of domain.PendingToolCallRepository.
Package hitlstore provides the Mongo-backed implementation of domain.PendingToolCallRepository.
Package i18n provides runtime locale resolution and a minimal flat-catalog translation primitive shared by every Go service in the OneVoice backend.
Package i18n provides runtime locale resolution and a minimal flat-catalog translation primitive shared by every Go service in the OneVoice backend.
Package imagegen turns a text prompt into image bytes via a pluggable provider.
Package imagegen turns a text prompt into image bytes via a pluggable provider.
Package legalconfig holds 152-ФЗ data-controller identity (legal entity) and the current policy versions.
Package legalconfig holds 152-ФЗ data-controller identity (legal entity) and the current policy versions.
llm
Package llmwire holds the LLM Router wiring shared by services/api and services/orchestrator: provider registration and rate-limiter policy resolution.
Package llmwire holds the LLM Router wiring shared by services/api and services/orchestrator: provider registration and rate-limiter policy resolution.
Package lockout implements a Redis-backed per-(email_hash, /16 IP) failure counter for brute-force / credential-stuffing defense on /auth/login.
Package lockout implements a Redis-backed per-(email_hash, /16 IP) failure counter for brute-force / credential-stuffing defense on /auth/login.
Package mtls is the single source of truth for cluster-internal TLS material loading on OneVoice.
Package mtls is the single source of truth for cluster-internal TLS material loading on OneVoice.
Package natsauth builds the NATS client security options (authentication and TLS) that every OneVoice service applies when it dials NATS.
Package natsauth builds the NATS client security options (authentication and TLS) that every OneVoice service applies when it dials NATS.
Package netdial provides a net/http dialer that forces outbound TCP onto IPv4.
Package netdial provides a net/http dialer that forces outbound TCP onto IPv4.
Package orchestratorclient is a thin typed HTTP client for the orchestrator's cluster-internal endpoints (chat streaming, HITL resume, tool registry, draft-reply).
Package orchestratorclient is a thin typed HTTP client for the orchestrator's cluster-internal endpoints (chat streaming, HITL resume, tool registry, draft-reply).
Package ratelimit defines the shared Redis-down policy used by every in-process rate-limit gate that depends on Redis.
Package ratelimit defines the shared Redis-down policy used by every in-process rate-limit gate that depends on Redis.
Package safefetch downloads caller-supplied (and therefore untrusted) URLs while defending against server-side request forgery (SSRF).
Package safefetch downloads caller-supplied (and therefore untrusted) URLs while defending against server-side request forgery (SSRF).
Package security provides shared security primitives for OneVoice services.
Package security provides shared security primitives for OneVoice services.
Package sse owns the wire shape of the Server-Sent Events that flow orchestrator → api → frontend.
Package sse owns the wire shape of the Server-Sent Events that flow orchestrator → api → frontend.
Package ssecounter implements a per-user SSE concurrency cap backed by a Redis counter.
Package ssecounter implements a per-user SSE concurrency cap backed by a Redis counter.
Package telegramcallback builds and verifies the opaque callback_data carried by the Telegram inline "Approve"/"Reject" buttons on an owner HITL approval notification.
Package telegramcallback builds and verifies the opaque callback_data carried by the Telegram inline "Approve"/"Reject" buttons on an owner HITL approval notification.
Package tools centralizes the string identifiers for tools dispatched between the orchestrator (LLM tool registry) and platform agents (NATS handlers).
Package tools centralizes the string identifiers for tools dispatched between the orchestrator (LLM tool registry) and platform agents (NATS handlers).
Package vkapi holds VK API constants shared between the API service (OAuth handler, group sync) and any future direct-call site.
Package vkapi holds VK API constants shared between the API service (OAuth handler, group sync) and any future direct-call site.

Jump to

Keyboard shortcuts

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