internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: GPL-3.0

Directories

Path Synopsis
ai
Package ai coordinates provider resolution, route tools, memory, and streaming turns.
Package ai coordinates provider resolution, route tools, memory, and streaming turns.
agent
Package agent builds the system prompt and relays a provider turn to the transport, buffering text deltas so the UI receives smooth, batched updates instead of a flood of tiny frames.
Package agent builds the system prompt and relays a provider turn to the transport, buffering text deltas so the UI receives smooth, batched updates instead of a flood of tiny frames.
budget
Package budget computes a turn's token budgeting.
Package budget computes a turn's token budgeting.
config
Package aiconfig manages shared and user-scoped AI provider configuration.
Package aiconfig manages shared and user-scoped AI provider configuration.
engine
Package engine defines the framework-agnostic AI provider interfaces.
Package engine defines the framework-agnostic AI provider interfaces.
engine/eino
Package eino is the only package that imports cloudwego/eino; it adapts the framework to the engine.Provider seam with an explicit tool-calling loop so each tool call flows through the risk-gated executor.
Package eino is the only package that imports cloudwego/eino; it adapts the framework to the engine.Provider seam with an explicit tool-calling loop so each tool call flows through the risk-gated executor.
memory
Package memory persists AI conversations and assembles context windows.
Package memory persists AI conversations and assembles context windows.
modelreg
Package modelreg resolves model token limits from live registries, provider catalogues, static metadata, and finally a safe default.
Package modelreg resolves model token limits from live registries, provider catalogues, static metadata, and finally a safe default.
tools
Package tools exposes risk-gated connection routes as agent tools.
Package tools exposes risk-gated connection routes as agent tools.
Package app centralizes ShellCN product identifiers and published artifact names used across the backend.
Package app centralizes ShellCN product identifiers and published artifact names used across the backend.
Package audit records an append-only log of every authorized (and denied) operation.
Package audit records an append-only log of every authorized (and denied) operation.
Package auth handles authentication and session tickets.
Package auth handles authentication and session tickets.
Package config loads bootstrap settings (needed before the database opens) from a YAML file overlaid by SHELLCN_* environment variables.
Package config loads bootstrap settings (needed before the database opens) from a YAML file overlaid by SHELLCN_* environment variables.
Package email sends transactional mail (account invitations) over SMTP, using configuration loaded at startup.
Package email sends transactional mail (account invitations) over SMTP, using configuration loaded at startup.
Package models holds the core entity types shared across ShellCN.
Package models holds the core entity types shared across ShellCN.
Package plugin defines the plugin contract, registry, and projection.
Package plugin defines the plugin contract, registry, and projection.
Package policy enforces authorization and action risk.
Package policy enforces authorization and action risk.
Package recording owns session-recording capture and storage.
Package recording owns session-recording capture and storage.
Package secrets provides the encrypted secret vault.
Package secrets provides the encrypted secret vault.
Package server provides the HTTP and WebSocket layer.
Package server provides the HTTP and WebSocket layer.
Package service holds the application business logic.
Package service holds the application business logic.
Package session manages live sessions and their channels.
Package session manages live sessions and their channels.
Package store provides the persistence repositories.
Package store provides the persistence repositories.
Package telemetry provides logging, metrics, and health.
Package telemetry provides logging, metrics, and health.
Package transport provides the direct and agent network dialers.
Package transport provides the direct and agent network dialers.

Jump to

Keyboard shortcuts

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