Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd/

directory
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0

Directories

Path Synopsis
Package main (mecademo) is the mecatl end-to-end demo driver.
Package main (mecademo) is the mecatl end-to-end demo driver.
Command mecak8s is the storage-free, Kubernetes-native mecatl agent binary (ADR 0048): a THIN peer of cmd/mecated that composes the SAME app.Build assembly with k8s-native defaults — Redis session store + durable event log, coordination.k8s.io Lease session leasing, a dynamic /readyz (drain-gated + Redis-pinged), and a bounded GracefulStop that cancels in-flight runs on SIGTERM so a rolling update completes within terminationGracePeriodSeconds.
Command mecak8s is the storage-free, Kubernetes-native mecatl agent binary (ADR 0048): a THIN peer of cmd/mecated that composes the SAME app.Build assembly with k8s-native defaults — Redis session store + durable event log, coordination.k8s.io Lease session leasing, a dynamic /readyz (drain-gated + Redis-pinged), and a bounded GracefulStop that cancels in-flight runs on SIGTERM so a rolling update completes within terminationGracePeriodSeconds.
Command mecated is the standalone mecatl server binary and a composition root: it parses the CLI/env configuration, builds the telemetry sink, delegates the engine + service assembly to internal/app (the SHARED composition layer also used by the embedded server in cmd/mecatui), and serves the resulting HarnessService over gRPC and HTTP/SSE concurrently, with graceful shutdown on SIGINT/SIGTERM.
Command mecated is the standalone mecatl server binary and a composition root: it parses the CLI/env configuration, builds the telemetry sink, delegates the engine + service assembly to internal/app (the SHARED composition layer also used by the embedded server in cmd/mecatui), and serves the resulting HarnessService over gRPC and HTTP/SSE concurrently, with graceful shutdown on SIGINT/SIGTERM.
Command mecatequi is a single-shot, headless mecatl runner for CI / batch use: it runs ONE prompt against an in-process engine assembled by internal/app, drives the run to a terminal state, and emits three artifacts — a working-tree git diff, a machine-readable run-summary JSON, and an optional durable JSONL event log — then maps the terminal stop reason to a process exit code.
Command mecatequi is a single-shot, headless mecatl runner for CI / batch use: it runs ONE prompt against an in-process engine assembled by internal/app, drives the run to a terminal state, and emits three artifacts — a working-tree git diff, a machine-readable run-summary JSON, and an optional durable JSONL event log — then maps the terminal stop reason to a process exit code.
Command mecatl-execution-provider runs the authenticated Kubernetes execution provider.
Command mecatl-execution-provider runs the authenticated Kubernetes execution provider.
Command mecatl-executor runs the fixed credential-free workload helper.
Command mecatl-executor runs the fixed credential-free workload helper.
login.go implements remote OIDC login and shared provider-login helpers.
login.go implements remote OIDC login and shared provider-login helpers.
agenthook
Package agenthook emits mecatui's session lifecycle as AGENT LIFECYCLE HOOK events, in the cross-vendor hook schema that coding-agent host tools consume.
Package agenthook emits mecatui's session lifecycle as AGENT LIFECYCLE HOOK events, in the cross-vendor hook schema that coding-agent host tools consume.
client
Package client is the gRPC-facing layer of mecatui: it dials mecated, creates sessions, opens the bidi Converse stream, and translates proto Events into the plain Go tea.Msg structs the ui consumes.
Package client is the gRPC-facing layer of mecatui: it dials mecated, creates sessions, opens the bidi Converse stream, and translates proto Events into the plain Go tea.Msg structs the ui consumes.
customization
Package customization defines the display-only, dependency-leaf presentation customization protocol shared by mecatui composition and UI status-line renderers.
Package customization defines the display-only, dependency-leaf presentation customization protocol shared by mecatui composition and UI status-line renderers.
embed
Package embed lets mecatui host its OWN mecated server in-process when no external one is running, so a single `mecatui` binary "just works" with no separately-spawned daemon and no TCP port.
Package embed lets mecatui host its OWN mecated server in-process when no external one is running, so a single `mecatui` binary "just works" with no separately-spawned daemon and no TCP port.
internal/terminaltext
Package terminaltext provides terminal-safe plain-text rendering helpers for mecatui UI and status-line renderers.
Package terminaltext provides terminal-safe plain-text rendering helpers for mecatui UI and status-line renderers.
keymap
Package keymap validates rebindable-key overrides for mecatui.
Package keymap validates rebindable-key overrides for mecatui.
schedparse
Package schedparse is a small client-side natural-language → trigger compiler for the mecatui /schedule overlay's Create form.
Package schedparse is a small client-side natural-language → trigger compiler for the mecatui /schedule overlay's Create form.
sessionadapter
Package sessionadapter bridges mecatui's session interface to its gRPC client.
Package sessionadapter bridges mecatui's session interface to its gRPC client.
theme
Package theme is the pure styling layer for mecatui.
Package theme is the pure styling layer for mecatui.
ui
Package ui is the Bubble Tea (Elm) layer of mecatui: the root Model state machine, its Update reducer, the View assembly, and the conversation/block renderers.
Package ui is the Bubble Tea (Elm) layer of mecatui: the root Model state machine, its Update reducer, the View assembly, and the conversation/block renderers.
ui/internal/blocks
Package blocks prepares the structured, non-Markdown conversation blocks in mecatui's conversation view.
Package blocks prepares the structured, non-Markdown conversation blocks in mecatui's conversation view.
ui/internal/bounded
Package bounded provides pointer-owned, ANSI-aware bounded terminal controls.
Package bounded provides pointer-owned, ANSI-aware bounded terminal controls.
ui/internal/scrollback
Package scrollback owns Mecatui's logical conversation document.
Package scrollback owns Mecatui's logical conversation document.
ui/platform
Package platform reports host-platform facts the TUI adapts its presentation to.
Package platform reports host-platform facts the TUI adapts its presentation to.
ui/prompttextarea
Package prompttextarea owns the upstream textarea behind Mecatl's prompt-editor policy.
Package prompttextarea owns the upstream textarea behind Mecatl's prompt-editor policy.
ui/welcome
Package welcome renders the first-run splash for the mecatui zero-state: a faithful mascot (half-block on any truecolor terminal, a zero-dependency kitty Unicode-placeholder high-res path on capable terminals), a gradient "mecatl" wordmark, and an info block.
Package welcome renders the first-run splash for the mecatui zero-state: a faithful mascot (half-block on any truecolor terminal, a zero-dependency kitty Unicode-placeholder high-res path on capable terminals), a gradient "mecatl" wordmark, and an info block.

Jump to

Keyboard shortcuts

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