ctn

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ctn is the content manager as a library: Run is the whole command, so the installed CTN package and other Go hosts run the same code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string, stdout, stderr io.Writer) int

Run executes the ctn command with args (without the program name), writing to stdout and stderr, and returns the process exit code.

func Version

func Version() string

Version is the version this build of ctn reports.

Types

This section is empty.

Directories

Path Synopsis
contract
inference
Package inference embedding types define embedding requests and responses.
Package inference embedding types define embedding requests and responses.
inference/mladapter
Package mladapter adapts src/ctn/contract/model (low-level tensor inference) into src/ctn/contract/inference (high-level generation, embeddings, transcription, synthesis).
Package mladapter adapts src/ctn/contract/model (low-level tensor inference) into src/ctn/contract/inference (high-level generation, embeddings, transcription, synthesis).
model
Package ml inference defines bounded, transport-free interfaces for running on-device models through a caller-selected provider.
Package ml inference defines bounded, transport-free interfaces for running on-device models through a caller-selected provider.
perception
Package perception defines transport-free content interpretation and image observation contracts.
Package perception defines transport-free content interpretation and image observation contracts.
realtime
Package realtime defines explicit duplex model sessions.
Package realtime defines explicit duplex model sessions.
Package inference bridges the portable src/ctn/contract/inference contract with the Ext plugin engine.
Package inference bridges the portable src/ctn/contract/inference contract with the Ext plugin engine.
internal
app
Package app is the ctn command: content management.
Package app is the ctn command: content management.
content
Package content implements CTN's verification workflow and durable file catalog.
Package content implements CTN's verification workflow and durable file catalog.
Package model bridges src/ctn/contract/model tensor providers to the Ext plugin contract.
Package model bridges src/ctn/contract/model tensor providers to the Ext plugin contract.
Package perception binds the portable intelligence.perception/v1 contract to Ext plugin sessions.
Package perception binds the portable intelligence.perception/v1 contract to Ext plugin sessions.
This is the private entrypoint of the installed CTN ext package.
This is the private entrypoint of the installed CTN ext package.
Package realtime binds intelligence.realtime/v1 to the Ext plugin engine.
Package realtime binds intelligence.realtime/v1 to the Ext plugin engine.

Jump to

Keyboard shortcuts

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