Directories
¶
| Path | Synopsis |
|---|---|
|
afk
module
|
|
|
agentboot
module
|
|
|
ai
module
|
|
|
cli
|
|
|
harness
command
Package main provides the CLI harness for protocol validation testing.
|
Package main provides the CLI harness for protocol validation testing. |
|
tingly-box
command
|
|
|
imbot
module
|
|
|
command/tui
Package tui provides interactive terminal prompts for the tingly-box CLI.
|
Package tui provides interactive terminal prompts for the tingly-box CLI. |
|
imagegen
Package imagegen provides vendor adapters for the text-to-image surfaces that do NOT speak the OpenAI /images/generations contract.
|
Package imagegen provides vendor adapters for the text-to-image surfaces that do NOT speak the OpenAI /images/generations contract. |
|
obs
Package obs provides a unified observability layer for Go applications, integrating structured logging, metrics, and distributed tracing via OpenTelemetry.
|
Package obs provides a unified observability layer for Go applications, integrating structured logging, metrics, and distributed tracing via OpenTelemetry. |
|
probe
Package probe contains the decoupled, server-independent half of the probe subsystem: request types, result/data types, in-memory cache, the E2E and Lightweight strategies, and pure helpers.
|
Package probe contains the decoupled, server-independent half of the probe subsystem: request types, result/data types, in-memory cache, the E2E and Lightweight strategies, and pure helpers. |
|
protocol
Package protocol provides backward compatibility aliases to the public protocol package.
|
Package protocol provides backward compatibility aliases to the public protocol package. |
|
protocol/assembler/streamemit
Package streamemit provides a decoupled emission layer on top of the Anthropic stream assemblers in internal/protocol/assembler.
|
Package streamemit provides a decoupled emission layer on top of the Anthropic stream assemblers in internal/protocol/assembler. |
|
protocol/stream
Package stream — prime.go
|
Package stream — prime.go |
|
protocol/usage
Package usage centralizes token extraction and normalization logic for all supported provider protocols.
|
Package usage centralizes token extraction and normalization logic for all supported provider protocols. |
|
protocoltest
Package protocoltest provides a framework for end-to-end validation of the model gateway's protocol transformation layer.
|
Package protocoltest provides a framework for end-to-end validation of the model gateway's protocol transformation layer. |
|
remote_control/bot
Package command provides built-in command definitions for the remote control bot.
|
Package command provides built-in command definitions for the remote control bot. |
|
server
Package server since we do refactoring and migrating step by step, some api names are not unified, this will be updated in future
|
Package server since we do refactoring and migrating step by step, some api names are not unified, this will be updated in future |
|
server/middleware
Package middleware provides Gin middleware for the tingly-box server.
|
Package middleware provides Gin middleware for the tingly-box server. |
|
server/module/imbot
Package imbotsettings provides handlers for ImBot settings management.
|
Package imbotsettings provides handlers for ImBot settings management. |
|
server/module/notify
Package notify is the HTTP front end for scenario plugin events.
|
Package notify is the HTTP front end for scenario plugin events. |
|
server/module/virtualmodel
Package virtualmodel exposes management endpoints for the in-process virtual-model providers.
|
Package virtualmodel exposes management endpoints for the in-process virtual-model providers. |
|
server/processor
Package processor hosts smart-routing op-level processors.
|
Package processor hosts smart-routing op-level processors. |
|
smart_compact
Package smart_compact provides conversation compression strategies and transformers for Anthropic requests.
|
Package smart_compact provides conversation compression strategies and transformers for Anthropic requests. |
|
pkg
|
|
|
jsonstore
Package jsonstore provides a generic JSON file-based key-value storage.
|
Package jsonstore provides a generic JSON file-based key-value storage. |
|
notify
Package notify provides a unified notification system for sending messages to various channels like webhooks, Slack, Discord, email, and system notifications.
|
Package notify provides a unified notification system for sending messages to various channels like webhooks, Slack, Discord, email, and system notifications. |
|
notify/examples
command
Example demonstrating the notification system usage
|
Example demonstrating the notification system usage |
|
notify/provider/discord
Package discord provides a Discord notification provider
|
Package discord provides a Discord notification provider |
|
notify/provider/email
Package email provides an SMTP email notification provider
|
Package email provides an SMTP email notification provider |
|
notify/provider/slack
Package slack provides a Slack notification provider
|
Package slack provides a Slack notification provider |
|
notify/provider/system
Package system provides desktop system notification provider using beeep
|
Package system provides desktop system notification provider using beeep |
|
notify/provider/webhook
Package webhook provides an HTTP webhook notification provider
|
Package webhook provides an HTTP webhook notification provider |
|
otel
Package otel provides OpenTelemetry-based observability for LLM token usage.
|
Package otel provides OpenTelemetry-based observability for LLM token usage. |
|
remote
|
|
|
binding
Package binding describes which channel a scenario should use for a given event.
|
Package binding describes which channel a scenario should use for a given event. |
|
channel
Package channel defines the human-facing side of the remote middle layer: a Channel is a surface (IM bot, web UI, CLI, …) that can deliver an interaction.Notification or interaction.Interaction to a human and (for interactive ones) collect a Reply.
|
Package channel defines the human-facing side of the remote middle layer: a Channel is a surface (IM bot, web UI, CLI, …) that can deliver an interaction.Notification or interaction.Interaction to a human and (for interactive ones) collect a Reply. |
|
channel/autochannel
Package autochannel provides a non-IM Channel implementation for headless / CI / programmatic setups.
|
Package autochannel provides a non-IM Channel implementation for headless / CI / programmatic setups. |
|
channel/imchannel
Package imchannel adapts an IM bot (one of the platforms in github.com/tingly-dev/tingly-box/imbot) into the internal/remote/channel.Channel contract.
|
Package imchannel adapts an IM bot (one of the platforms in github.com/tingly-dev/tingly-box/imbot) into the internal/remote/channel.Channel contract. |
|
interaction
Package interaction defines the domain-neutral request / reply / result types that flow between scenarios (back-end content providers) and channels (human-facing surfaces) inside the remote middle layer.
|
Package interaction defines the domain-neutral request / reply / result types that flow between scenarios (back-end content providers) and channels (human-facing surfaces) inside the remote middle layer. |
|
scenario
Package scenario defines the back-end plugin contract of the remote middle layer.
|
Package scenario defines the back-end plugin contract of the remote middle layer. |
|
scenario/builtin/claudecode
Package claudecode implements the Claude Code hook scenario plugin.
|
Package claudecode implements the Claude Code hook scenario plugin. |
|
swagger
module
|
|
|
Package virtualmodel defines the protocol-agnostic primitives for virtual models.
|
Package virtualmodel defines the protocol-agnostic primitives for virtual models. |
|
anthropic
Package anthropic provides Anthropic-protocol virtual models.
|
Package anthropic provides Anthropic-protocol virtual models. |
|
benchmark
Package benchmark is the vmodel benchmark: a shared, real-world mock-provider foundation.
|
Package benchmark is the vmodel benchmark: a shared, real-world mock-provider foundation. |
|
benchmark/check
Package check holds the protocol-neutral, reusable check logic for the vmodel benchmark: the RoundTripResult view of a single gateway round trip and the named Assertion library that operates on it.
|
Package check holds the protocol-neutral, reusable check logic for the vmodel benchmark: the RoundTripResult view of a single gateway round trip and the named Assertion library that operates on it. |
|
benchmark/examples/client
command
Stand-alone benchmark client driver: starts an in-process LocalServer (vmodel-backed) and drives it with the BenchmarkClient against both the OpenAI Chat and Anthropic Messages routes, printing a metrics summary.
|
Stand-alone benchmark client driver: starts an in-process LocalServer (vmodel-backed) and drives it with the BenchmarkClient against both the OpenAI Chat and Anthropic Messages routes, printing a metrics summary. |
|
benchmark/examples/server
command
Stand-alone benchmark mock server: starts a local HTTP server backed by the production virtualmodel registries (with their default mock models pre-registered) so external benchmark drivers can hit a realistic vmodel surface over loopback.
|
Stand-alone benchmark mock server: starts a local HTTP server backed by the production virtualmodel registries (with their default mock models pre-registered) so external benchmark drivers can hit a realistic vmodel surface over loopback. |
|
benchmark/scenario
Package scenario holds the reusable mock-provider fixtures for the vmodel benchmark: named Scenarios, each carrying per-format MockResponseBuilders and a set of check.Assertions.
|
Package scenario holds the reusable mock-provider fixtures for the vmodel benchmark: named Scenarios, each carrying per-format MockResponseBuilders and a set of check.Assertions. |
|
client
Package vmodelclient provides in-process implementations of the client interfaces backed by vmodel registries.
|
Package vmodelclient provides in-process implementations of the client interfaces backed by vmodel registries. |
|
openai
Package openai provides OpenAI-protocol virtual models.
|
Package openai provides OpenAI-protocol virtual models. |
|
virtualserver
Package virtualserver provides the HTTP handler for virtual model endpoints.
|
Package virtualserver provides the HTTP handler for virtual model endpoints. |
Click to show internal directories.
Click to hide internal directories.





