vendors

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package vendors holds the canonical agent slugs the platform stores and groups by. A slug names the agent that ran — never how its session reached us (the ingest source).

It is deliberately tiny and has no dependencies: it is a shared spelling, not a registry. The mappers do not import it (a mapper knows only its own vendor's name, and coupling four packages to one table would make adding a fifth a change to all of them); the local discovery, upload and ingest path does, because those three have to agree on the same string for a session to survive the trip.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slug

type Slug string

Slug is a canonical agent identifier: the value stored in the stored vendor value and the value the analytics `source` filter accepts.

const (
	ClaudeCode Slug = "claude_code"
	Codex      Slug = "codex"
	Cursor     Slug = "cursor"
)

func (Slug) String

func (s Slug) String() string

String makes a slug printable without a conversion at every call site.

func (Slug) Valid

func (s Slug) Valid() bool

Valid reports whether s is a slug the local discovery and upload path can produce. Sessions of other agents reach us through Entire checkpoints, whose slugs `entiresession` derives from what Entire recorded; they are not enumerated here because nothing in this path can collect one.

Jump to

Keyboard shortcuts

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