cmd/

directory
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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 mecaexec drives an executor's Files and Commands services through internal/executor/client, for manual testing.
Command mecaexec drives an executor's Files and Commands services through internal/executor/client, for manual testing.
Command mecak8s is the storage-free, Kubernetes-native mecatl agent binary: 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: 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 is the credential-free executor workload.
Command mecatl-executor is the credential-free executor workload.
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/renderfmt
Package renderfmt provides stateless formatting shared by mecatui renderers.
Package renderfmt provides stateless formatting shared by mecatui renderers.
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.
internal/timezones
Package timezones provides the client's checked-in selectable timezone names and links Go's standard embedded rule fallback.
Package timezones provides the client's checked-in selectable timezone names and links Go's standard embedded rule fallback.
keymap
Package keymap validates rebindable-key overrides for mecatui.
Package keymap validates rebindable-key overrides for mecatui.
schedparse
Package schedparse compiles finite scheduling phrases and validates client-side cron previews.
Package schedparse compiles finite scheduling phrases and validates client-side cron previews.
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/autocomplete
Package autocomplete provides a small searchable single-line selection control.
Package autocomplete provides a small searchable single-line selection control.
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