internal/

directory
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT

Directories

Path Synopsis
Package api is a thin HTTP client for the templater server.
Package api is a thin HTTP client for the templater server.
Package auth implements the OAuth 2.0 device-code flow that `codag setup` and `codag auth login` use to sign a user in via their browser, plus the single-flight refresh middleware that the api.Client uses to handle expired tokens transparently.
Package auth implements the OAuth 2.0 device-code flow that `codag setup` and `codag auth login` use to sign a user in via their browser, plus the single-flight refresh middleware that the api.Client uses to handle expired tokens transparently.
Package config loads + persists user-level CLI config.
Package config loads + persists user-level CLI config.
Package exec runs child processes and streams their output line-by-line.
Package exec runs child processes and streams their output line-by-line.
Package mcp implements a minimal stdio MCP (Model Context Protocol) server that exposes codag's log-tail tools to any MCP-aware agent — Claude Code, Cursor, Codex, Continue, Cline, etc.
Package mcp implements a minimal stdio MCP (Model Context Protocol) server that exposes codag's log-tail tools to any MCP-aware agent — Claude Code, Cursor, Codex, Continue, Cline, etc.
Package onboard ingests historical logs from external sources and streams them to the codag server's /v1/onboard/warm endpoint to pre-populate the org's template_cache.
Package onboard ingests historical logs from external sources and streams them to the codag server's /v1/onboard/warm endpoint to pre-populate the org's template_cache.
sources
Package sources contains the per-origin log fetchers used by `codag onboard`.
Package sources contains the per-origin log fetchers used by `codag onboard`.
Package setup implements `codag setup` — the one-shot installer that gets a developer from "binary on PATH" to "MCP-aware agents pulling codag for log work" with auth wired up.
Package setup implements `codag setup` — the one-shot installer that gets a developer from "binary on PATH" to "MCP-aware agents pulling codag for log work" with auth wired up.

Jump to

Keyboard shortcuts

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