cmd/

directory
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 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.
login.go implements the separate ToolHive LLM and remote OIDC login routes.
login.go implements the separate ToolHive LLM and remote OIDC login routes.
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.
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.
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.
statusline
Package statusline defines the display-only, dependency-leaf protocol shared by mecatui composition and UI status-line renderers.
Package statusline defines the display-only, dependency-leaf protocol shared by mecatui composition and UI status-line renderers.
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/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