pkg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AppName is the name of the app
	AppName = "Compa"

	DefaultHome   = ".compa"
	WorkspaceName = "workspace"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package approval is the one policy that decides each tool call: whether it runs, waits for an approval, is refused, or whether the tool is not offered to the agent at all.
Package approval is the one policy that decides each tool call: whether it runs, waits for an approval, is refused, or whether the tool is not offered to the agent at all.
audio
asr
tts
voice
Package voice runs speech-to-text and text-to-speech for a voice target "instance-id/model-id" on the llmgw-core provider of the target's instance: transcription is an Invoke on the audio_transcriptions surface with the OpenAI multipart transcription body, synthesis one on audio_speech with the OpenAI speech JSON.
Package voice runs speech-to-text and text-to-speech for a voice target "instance-id/model-id" on the llmgw-core provider of the target's instance: transcription is an Invoke on the audio_transcriptions surface with the OpenAI multipart transcription body, synthesis one on audio_speech with the OpenAI speech JSON.
web
whatsapp
Package whatsapp is the WhatsApp channel: Compa as a linked device of a WhatsApp account (whatsmeow).
Package whatsapp is the WhatsApp channel: Compa as a linked device of a WhatsApp account (whatsmeow).
Package compute is the control-plane state for Compitas: the computes a Compa can run agents on, and the Compitas placed on them.
Package compute is the control-plane state for Compitas: the computes a Compa can run agents on, and the Compitas placed on them.
Package config defines Compa's configuration and loads and saves it.
Package config defines Compa's configuration and loads and saves it.
Package constants provides shared constants across the codebase.
Package constants provides shared constants across the codebase.
Package contractv2 declares the identity of the frozen kayiik.module/v2 behavioural Target Contract and the exact-pin check that gates it.
Package contractv2 declares the identity of the frozen kayiik.module/v2 behavioural Target Contract and the exact-pin check that gates it.
Package credential resolves secret values in the config, such as channel tokens and tool API keys.
Package credential resolves secret values in the config, such as channel tokens and tool API keys.
Package events provides the process-local runtime event bus used to observe Compa components without coupling them to agent-specific event envelopes.
Package events provides the process-local runtime event bus used to observe Compa components without coupling them to agent-specific event envelopes.
Package fileutil provides file manipulation utilities.
Package fileutil provides file manipulation utilities.
Package identity provides unified user identity utilities for Compa.
Package identity provides unified user identity utilities for Compa.
Package modproto defines the Compa detached-module protocol: the wire contract between the host and locally installed module executables.
Package modproto defines the Compa detached-module protocol: the wire contract between the host and locally installed module executables.
Package modprotov2 is the wire representation of the frozen kayiik.module/v2 behavioural contract.
Package modprotov2 is the wire representation of the frozen kayiik.module/v2 behavioural contract.
Package pairing keeps the direct messages a channel received while its allow_from listed no account.
Package pairing keeps the direct messages a channel received while its allow_from listed no account.
Package pathlink resolves a filesystem path to its true location, following every kind of link the host supports.
Package pathlink resolves a filesystem path to its true location, following every kind of link the host supports.
common
Package common provides shared utilities used by multiple LLM provider implementations (openai_compat, azure, etc.).
Package common provides shared utilities used by multiple LLM provider implementations (openai_compat, azure, etc.).
coretransport
Package coretransport hands the surface requests Compa's chat client makes to an llmgw-core provider.
Package coretransport hands the surface requests Compa's chat client makes to an llmgw-core provider.
history
Package history reads the web chat's sessions from a workspace's session store: the list of sessions and each one's transcript, as the launcher's /api/sessions and the gateway's /web/sessions serve them.
Package history reads the web chat's sessions from a workspace's session store: the list of sessions and each one's transcript, as the launcher's /api/sessions and the gateway's /web/sessions serve them.
fs
Package updater installs releases of Compa published on github.com/kayiik/compa.
Package updater installs releases of Compa published on github.com/kayiik/compa.
updatertest
Package updatertest serves fake GitHub releases of kayiik/compa, shaped like the ones the release workflow publishes, for tests of the updater and of the endpoints built on it.
Package updatertest serves fake GitHub releases of kayiik/compa, shaped like the ones the release workflow publishes, for tests of the updater and of the endpoints built on it.
Package utils provides shared, reusable algorithms.
Package utils provides shared, reusable algorithms.
Package view defines shared declarative product-view definitions and rendering primitives for Compa and its consumer products.
Package view defines shared declarative product-view definitions and rendering primitives for Compa and its consumer products.

Jump to

Keyboard shortcuts

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