{"id":47693587,"url":"https://github.com/salp2403/cocxy-terminal","last_synced_at":"2026-05-14T04:03:41.751Z","repository":{"id":347262845,"uuid":"1187547498","full_name":"salp2403/cocxy-terminal","owner":"salp2403","description":"Native macOS terminal built for AI coding agents. GPU-accelerated, zero telemetry, MIT licensed.","archived":false,"fork":false,"pushed_at":"2026-04-19T03:54:27.000Z","size":8125,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-19T04:05:35.410Z","etag":null,"topics":["ai-agents","appkit","claude-code","cli","developer-tools","gpu-accelerated","macos","macos-app","metal","open-source","swift","terminal","terminal-emulator","zero-telemetry"],"latest_commit_sha":null,"homepage":"https://cocxy.dev","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salp2403.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"salp2403"}},"created_at":"2026-03-20T21:17:41.000Z","updated_at":"2026-04-19T03:54:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"aad294c5-884c-4cac-ba74-6e3f80b55f9e","html_url":"https://github.com/salp2403/cocxy-terminal","commit_stats":null,"previous_names":["salp2403/cocxy-terminal"],"tags_count":79,"template":false,"template_full_name":null,"purl":"pkg:github/salp2403/cocxy-terminal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salp2403%2Fcocxy-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salp2403%2Fcocxy-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salp2403%2Fcocxy-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salp2403%2Fcocxy-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salp2403","download_url":"https://codeload.github.com/salp2403/cocxy-terminal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salp2403%2Fcocxy-terminal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32125094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agents","appkit","claude-code","cli","developer-tools","gpu-accelerated","macos","macos-app","metal","open-source","swift","terminal","terminal-emulator","zero-telemetry"],"created_at":"2026-04-02T16:07:05.576Z","updated_at":"2026-05-14T04:03:41.744Z","avatar_url":"https://github.com/salp2403.png","language":"Swift","funding_links":["https://github.com/sponsors/salp2403"],"categories":[],"sub_categories":[],"readme":"# Cocxy Terminal\n\n[English](README.md) | [العربية](README.ar.md) | [Bosanski](README.bs.md) | [Dansk](README.da.md) | [Deutsch](README.de.md) | [Español](README.es.md) | [Français](README.fr.md) | [Italiano](README.it.md) | [日本語](README.ja.md) | [ភាសាខ្មែរ](README.km.md) | [한국어](README.ko.md) | [Norsk](README.no.md) | [Polski](README.pl.md) | [Português do Brasil](README.pt-BR.md) | [Русский](README.ru.md) | [ไทย](README.th.md) | [Türkçe](README.tr.md) | [Українська](README.uk.md) | [Tiếng Việt](README.vi.md) | [简体中文](README.zh-CN.md) | [繁體中文](README.zh-TW.md)\n\n[![Build](https://github.com/salp2403/cocxy-terminal/actions/workflows/ci.yml/badge.svg)](https://github.com/salp2403/cocxy-terminal/actions/workflows/ci.yml)\n[![Latest Release](https://img.shields.io/github/v/release/salp2403/cocxy-terminal?label=latest\u0026color=8839ef)](https://github.com/salp2403/cocxy-terminal/releases/latest)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![macOS](https://img.shields.io/badge/macOS-14%2B-black.svg)](https://www.apple.com/macos/)\n[![Swift](https://img.shields.io/badge/Swift-5.10-orange.svg)](https://swift.org)\n[![No Telemetry](https://img.shields.io/badge/telemetry-zero-brightgreen.svg)](#zero-telemetry)\n[![Stars](https://img.shields.io/github/stars/salp2403/cocxy-terminal?style=flat\u0026color=fab387)](https://github.com/salp2403/cocxy-terminal/stargazers)\n\n**The native macOS terminal that understands your AI coding agents.** GPU-accelerated rendering, real-time multi-agent detection, inline agent code review, a full native Markdown workspace, persistent remote sessions, and absolute zero telemetry.\n\nCocxy knows when your coding agent is thinking, working, waiting for input, or done. It shows you — so you stop watching terminals and start shipping code.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"web/public/images/cocxy-preview.png\" alt=\"Cocxy Terminal showing a live agent dashboard, an open Markdown workspace, and the agent code review panel\" width=\"860\" /\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [Why Cocxy](#why-cocxy)\n- [Install](#install)\n- [Features](#features)\n- [Keyboard Shortcuts](#keyboard-shortcuts)\n- [Supported Agents](#supported-agents)\n- [Configuration](#configuration)\n- [CLI Companion](#cli-companion)\n- [Building from Source](#building-from-source)\n- [Architecture](#architecture)\n- [Contributing](#contributing)\n- [Security](#security)\n- [License](#license)\n\n## Why Cocxy\n\nEvery terminal shows you text. Cocxy is a native macOS workspace built around how developers work with AI coding agents. It detects multiple coding agents across four independent layers, gives you a live dashboard of every session, lets you review an agent's changes inline before shipping them, runs your own local AI workspace (multi-provider Agent Mode, MCP servers, codebase indexing, skills, inline completions, sandboxed Computer Use), executes notebooks and workflows on-device, and ships with a native Markdown workspace for notes, plans, and docs. When your agent finishes a task at 3 AM, Cocxy knows — and you know.\n\nBuilt from scratch in Swift and Metal. No Electron. No web view wrapping a terminal. No data leaves your machine. Just a fast, native macOS app designed for the way developers work in 2026.\n\n## Install\n\n### Homebrew (recommended)\n\n```bash\nbrew tap salp2403/tap \u0026\u0026 brew install --cask cocxy\n```\n\nUpdate:\n\n```bash\nbrew update \u0026\u0026 brew upgrade --cask cocxy\n```\n\n\u003e `brew update` syncs the tap before upgrading. Without it, third-party taps may not detect new versions.\n\n### Direct Download\n\nDownload the latest `.dmg` from the [Releases](https://github.com/salp2403/cocxy-terminal/releases) page. Universal builds for Apple Silicon (native) and Intel.\n\n### Nightly Channel\n\nOpt into early builds with experimental features. Nightly builds install side-by-side with the stable version using a separate bundle ID and update feed.\n\n### Build from Source\n\nSee [Building from Source](#building-from-source) below.\n\n## Features\n\n### Multi-Layer Agent Detection\n\nPassive detection engine that identifies coding agent state in real time without intercepting or modifying agent traffic. Four independent layers cross-validate for high-confidence results.\n\n| Layer | Method | What It Detects |\n|-------|--------|-----------------|\n| **Hooks** | Agent event streaming | Tool calls, responses, session lifecycle, subagent spawn |\n| **OSC** | Terminal escape sequences | Working directory, title changes, semantic prompts (OSC 133) |\n| **Pattern** | Output pattern matching | Launch signatures, waiting prompts, completion markers |\n| **Timing** | Activity heuristics | Active vs idle periods, session boundaries |\n\n- **Bundled Agent Profiles** — Local profiles cover hook-capable, OSC-aware, pattern-only, and timing-fallback CLIs without vendor lock-in\n- **Multi-Agent Hook Support** — Shared hook protocol across supported local CLIs and custom sources, with per-agent attribution\n- **`cocxy setup-hooks`** — Auto-configures hooks in every installed agent with one command\n- **Agent Dashboard** — Live view of all sessions with state, working directory, active tool, duration, file touches, and error counts (`Cmd+Option+A`)\n- **Agent Timeline** — Chronological event log with six filters (All / Tools / Errors / Agents / Tasks / Session), JSON and Markdown export (`Cmd+Shift+T`)\n- **Smart Routing** — Jump between agent sessions by priority, state, or recency (`Cmd+Shift+U`)\n- **Agent State Indicator** — Per-tab status dot (working, waiting, finished, error, idle) and an inline ring around the active surface\n\n### Agent Code Review Panel\n\nA native panel to review every change an agent made, comment inline, and feed corrections back to the agent — all without leaving Cocxy.\n\n- **Diff viewer** — File tree with status icons (added, modified, deleted, renamed), unified diff with line numbers, and per-author chips for each file\n- **Inline comments** — Click any line in the gutter, type a comment, press Enter; the comment bubble anchors under that line\n- **Feedback loop** — Submit all pending comments to the agent through the PTY; the agent picks up the formatted feedback and re-runs the task\n- **Accept / reject per hunk** — Granular control via `git apply` (`--cached` to accept, `--reverse` to reject)\n- **Keyboard-first** — `j` / `k` hunks, `n` / `p` files, `c` comment, `a` / `r` accept / reject, `d` toggle mode, `Cmd+Enter` submit all\n- **Auto-trigger** — Panel opens automatically when the agent session ends (configurable)\n- **Cross-tab-safe** — Feedback always reaches the agent in the tab the review belongs to, even if you switched tabs\n\nOpen with `Cmd+Option+R` or `cocxy review`.\n\n### Local AI Workspace\n\nA complete local-first AI workspace baked into the terminal. You bring the keys, Cocxy keeps the conversation on your machine.\n\n- **Agent Mode** — Multi-provider local Agent Mode with on-device and bring-your-own-key providers, per-action approval, encrypted conversation persistence, retry on transient provider errors, and threaded conversation export\n- **MCP servers** — Native Model Context Protocol client with stdio and HTTP transports, hardened auth boundaries, and a local-only server registry editable from Preferences\n- **Codebase indexing** — On-device semantic + lexical index with incremental sync, query suggestions, vector store, and a fallback that runs without cloud embeddings\n- **Skills** — Local skills loader with a built-in skill marketplace and bundled skill resources\n- **Inline AI completions** — Foundation Models-powered ghost text, 200 ms idle trigger, Tab to accept, Esc to dismiss; gated behind an explicit toggle and respects an offline-first policy\n- **Computer Use** — Sandboxed Computer Use actor with explicit per-action approval, Accessibility permission gate, screenshot capture, and an audit log\n- **PR review depth** — Suggestion applier, conflict resolver, auto-merge safety gate, response templates, diff timeline, and reviewer suggestions from local `git blame`\n\n### Notebooks and Workflows\n\nRun notebooks and pipelines directly in Cocxy without spinning up a separate kernel server.\n\n- **Multi-language cells** — Bash, Python, and Swift cells executed locally with a default sandbox (`sandbox-exec`, `deny network*`, `deny file-write*` outside the workspace) and an explicit `--sandbox none` escape\n- **Jupyter import / export** — Open `.ipynb` directly and export back to Jupyter format\n- **Standalone HTML export** — Self-contained HTML with bundled assets for sharing\n- **Built-in templates** — Ready-to-run notebook templates\n- **Workflows** — Local workflow runner with cell composition for repeatable pipelines\n\n### Voice Input\n\nOn-device voice input powered by Apple's Speech framework. Multi-locale auto-detection with a manual override.\n\n- **Local-only** — Audio never leaves the Mac; no cloud transcription\n- **Auto-detect locale** — Picks the active locale and falls back to manual selection when needed\n- **Configurable trigger** — Push-to-talk or toggle, configurable in Preferences\n\n### Native Markdown Workspace\n\nA first-class Markdown panel that renders in a split pane next to your terminal. Written from scratch in pure Swift — no external parser dependency.\n\n- **Editable source view** — Cmd+B / Cmd+I / Cmd+K formatting, AppKit Find bar, undo / redo, debounced auto-save, file watcher deduplication\n- **Live preview** — WKWebView-backed preview with Mermaid diagrams, KaTeX math, GitHub Flavored Markdown, fifteen callout types, footnotes, highlight / superscript / subscript, 200+ emoji shortcodes, reference-style links, setext headings\n- **Split mode** — Source and preview side by side with scroll sync\n- **Outline sidebar** — Heading tree navigation (`Cmd+Shift+O`)\n- **File explorer** — Browse a project's Markdown files with rename, move-to-trash, reveal-in-Finder\n- **Full-text search** — Multi-file search across the workspace with debounced results\n- **Git integration** — Blame and diff views built in\n- **Slide exporter** — Split a Markdown file into a slide deck by horizontal rules, preserving original formatting\n- **Copy as** — Markdown, HTML, rich text (RTF), or plain text\n- **Image handling** — Drag-and-drop to insert, paste PNG / TIFF from clipboard, lightbox on click, base64 inlining for standalone HTML exports\n- **Interactive checkboxes** — Toggle task list checkboxes directly in the preview; changes write back to the source\n- **Click-to-source** — Double-click any block in the preview to jump to its line in the source editor\n- **Syntax highlighting** — Highlight.js bundled offline with zero network dependency\n- **Sortable tables** — Click any column header; numeric-aware, three-state sort\n- **Copy tables as TSV** — One-click copy for pasting into spreadsheets\n- **[TOC]** — Inline table-of-contents placeholder generates from document headings\n\n### QuickLook Preview Extension\n\nA system-integrated extension that renders `.md` files directly in macOS Finder's QuickLook, with the same Mermaid, KaTeX, callouts, and syntax highlighting as the in-app preview. Zero network, zero dependencies, sandboxed.\n\n### GPU Terminal Engine (CocxyCore)\n\nA custom terminal engine built in Zig, running on Metal. Cross-platform-ready (macOS and Linux) with a stable C ABI.\n\n- **Metal-accelerated rendering** — 120 fps smooth scrolling with a GPU-backed glyph atlas\n- **Font ligatures** — OpenType ligatures via CoreText shaping with a configurable toggle\n- **Inline image protocols** — Sixel and graphics-protocol image display in the terminal with configurable memory limits\n- **GPU-accelerated regex search** — Native scrollback search with a Swift fallback for compatibility\n- **Protocol v2** — Structured extension protocol for bidirectional agent-to-terminal communication\n- **Multi-stream support** — Split PTY output into named streams addressable from the CLI\n- **Mode diagnostics** — Inspect cursor, alt-screen, application cursor mode, and semantic block state from the CLI\n\n### Remote Workspaces\n\nSSH multiplexing with persistent sessions, proxy management, agent relay, and a remote daemon — all from the client, zero installation required on the server.\n\n- **Persistent sessions** — tmux-backed sessions on remote hosts that survive SSH disconnects\n- **Session management UI** — Visual panel to create, list, attach, and kill remote sessions\n- **SSH multiplexing** — OpenSSH ControlMaster for connection reuse across tabs\n- **Port tunneling** — Local, remote, and dynamic SOCKS forwarding with conflict detection\n- **SOCKS5 + HTTP CONNECT proxy** — Native proxy with system-wide macOS integration, PAC generation, exclusion lists, and health monitoring with auto-failover\n- **Agent relay** — Multi-channel reverse tunnels with HMAC-SHA256 auth, per-channel ACL, audit logging, token rotation, and Keychain persistence\n- **Remote daemon** — POSIX shell daemon with three-level session fallback (tmux / screen / native PTY), persistent port forwards, file sync watching, and 24-hour auto-cleanup\n- **SFTP browser** — Navigate and transfer files on remote hosts\n- **Auto-reconnect** — Exponential backoff reconnection with configurable retry limits\n\n### Built-in Browser\n\nIn-app browser for previewing dev servers, reading docs, and inspecting web output without switching apps.\n\n- **Profiles** — Isolated cookies, storage, and history per profile\n- **DevTools** — Console, Network, and DOM inspection\n- **Bookmarks** — Organized with nested folders\n- **Split or overlay** — Side by side with the terminal or as a floating panel\n- **Downloads** — Tracked with progress and open-on-complete\n\n### Web Terminal\n\nExpose any local terminal over HTTP with a zero-dependency web frontend. Useful for quick peer programming or remote assistance.\n\n- Tunable frame rate, on-demand full frame refresh, connection counts\n- Per-terminal attach / detach with a single CLI command\n- Events exposed to plugins for custom integrations\n\n### Per-Project Configuration\n\nDrop a `.cocxy.toml` file in any project root to override global settings per directory.\n\n```toml\n# .cocxy.toml\nfont-size = 13\nbackground-opacity = 0.95\n\n[agent-detection]\nextra-launch-patterns = [\"^python manage.py\"]\n```\n\nCocxy detects and applies the project config automatically when you `cd` into a directory. Hot-reload on file changes.\n\n### macOS-Native Integrations\n\nFirst-class macOS system integrations — every entry point is local-only with explicit privacy copy.\n\n- **Shortcuts.app** — Catalog of local-only Shortcuts actions: open Cocxy, run command in Cocxy, open notebook, list skills\n- **Touch Bar** — Contextual local terminal actions (new tab, command palette, agent panel, scrollback search) on supported MacBook Pro models\n- **Handoff** — Privacy-preserving Handoff metadata; activity advertised across your devices without leaking terminal contents, paths, env, or search history\n- **Continuity Camera** — Import images directly from an iPhone or iPad into the local Agent Mode attachments with `0600` permissions\n- **Universal Clipboard** — Local clipboard history observer that respects macOS Universal Clipboard\n- **Stage Manager** — Window collection behaviour tuned to participate cleanly in Stage Manager, Spaces, and Mission Control\n- **Spotlight (Notes)** — Optional local Spotlight indexing for notes with a per-workspace privacy opt-out (`.cocxy-spotlight-ignore`)\n- **QuickLook** — Sandboxed QuickLook extension renders Markdown directly in Finder\n\n### Productivity Tools\n\nA full productivity layer that lives next to the terminal so you do not switch apps for the small things.\n\n- **Macros and Snippets** — Recordable terminal input macros, alias manager, snippet manager with parameter expansion, and inline replay\n- **Clipboard history** — Local clipboard history observer with searchable history and a paste-by-keyword overlay\n- **Project templates** — Ten built-in scaffolds covering Swift package, Python package, Rust crate, Node TypeScript, Go module, PHP composer, Ruby gem, static site, Docker service, and Flutter app, with sandbox hooks for custom templates\n- **Notes** — Per-workspace Markdown notes panel with file watcher, autosave, and Spotlight opt-in\n- **Tab configs** — Save, list, export, and replay terminal tab configurations as TOML\n\n### Reliability and Recovery\n\nCocxy keeps your work safe even when something goes wrong.\n\n- **Automatic local backups** — Daily backups under `~/.config/cocxy/backups/` with configurable retention (default 30 daily + 12 monthly), exact directory snapshots, manifest path containment guard, and a Preferences pane to inspect and restore\n- **Crash recovery** — Periodic 5-minute snapshots, a local crash log, a restore prompt on the next launch, and best-effort panel and scroll restore. Tested under `kill -9` smoke\n- **Session replay** — Local session recording store and panel with auto-record opt-in, deterministic 60-second replay, search and bookmark, delete-all, and `.cast` export\n- **AI edit history** — Local timeline of agent-driven edits with diff and revert, plus hook recording for cross-tool tracking\n\n### Activity Insights\n\nOptional local analytics for your own work — never leaves the Mac.\n\n- SQLite-backed activity store and dashboard with command duration, agent state, working directory, and error counts\n- JSON / CSV export\n- Default off; opt in from Preferences\n\n### iCloud Sync\n\nEncrypted opt-in sync across your Macs. Cocxy never sees the data.\n\n- **Encrypted export / import** — End-to-end encryption with a master password you control\n- **Manual conflict resolution** — Visual conflict UI; no silent overwrites\n- **Two-device smoke gate** — Continuous regression coverage for the sync round-trip\n\n### Onboarding\n\nA six-step guided setup the first time Cocxy launches: theme, agent autonomy, LSP setup, tab configs, first skill, and first workflow. Skippable, and reachable any time from the Help menu.\n\n### AppleScript Automation\n\nFull AppleScript vocabulary for workflow automation and integration with Shortcuts, Automator, and Raycast.\n\n```applescript\ntell application \"Cocxy Terminal\"\n    make new tab with properties {command:\"ssh deploy@prod\"}\n    set name of tab 1 to \"Production\"\nend tell\n```\n\n### Plugin System\n\nEvent-driven plugin architecture for extending Cocxy with custom integrations.\n\n```\n~/.config/cocxy/plugins/\n  my-plugin/\n    manifest.toml\n    on-session-start.sh\n    on-agent-detected.sh\n```\n\nPlugins respond to eight terminal events: session start / end, agent detected, state changed, command complete, tab created / closed, directory changed. Scripts run in a sandboxed environment with timeout enforcement.\n\n**Bundled plugins (thirteen).** Cocxy ships with a curated catalogue of local plugins ready to enable from the marketplace panel: AWS CLI helper, Azure CLI, GCP CLI, Cloudflare, Docker, Kubernetes, GitHub pane, Jira, Linear, MySQL, PostgreSQL, Redis, and SQLite. Each plugin runs locally with the same sandbox and event contract as user plugins.\n\n### Tabs, Splits, and Windows\n\n- **Vertical sidebar** with git branch, agent state, and activity timing\n- **Horizontal and vertical splits** with keyboard navigation and equalization\n- **Mixed panels** — A single workspace can contain terminals, Markdown panels, and browser panels side by side\n- **Session persistence** — Tabs, splits, directories, and window state restored on relaunch\n- **Multi-window** — Every window is independent; sessions sync across them\n- **Quick Terminal** — Global dropdown available from any app (`` Cmd+` ``)\n\n### Command Palette and Scrollback Search\n\n- **Command Palette** — Fuzzy search across every command, action, and setting (`Cmd+Shift+P`)\n- **Scrollback search** — Live search with debounced results and native engine acceleration (`Cmd+F`)\n\n### Shell Integration\n\nNative shell integration for zsh, bash, and fish — installed automatically, no setup required. Preserves user frameworks (Prezto, Oh My Zsh, YADR, starship) without modification.\n\n- OSC 7 working-directory reporting with URI encoding\n- OSC 133 semantic prompts for command boundaries and duration\n- Safe environment-variable injection that restores originals in every subshell\n\n### Liquid Glass UI\n\nA polished glass-material design system covering 36+ surfaces — sidebar, command palette, status bar, panels, overlays, and contextual sheets — tuned for macOS 14 through macOS 26 and ready for the Liquid Glass aesthetic when the host supports it.\n\n### Localization\n\nShipped in English and Spanish out of the box (2,651+ strings each, kept symmetric). The active language follows the system or can be picked manually from Preferences. Public website covers EN and ES landings, features, releases, getting started, FAQ, and migration guidance.\n\n### Zero Telemetry\n\nCocxy has no telemetry pipeline, no analytics SDK, no automatic diagnostic sender, and no tracking. Network use exists only for signed updates and explicit user actions such as browser sessions, remotes, GitHub CLI operations, plugins, or tools you run yourself. Terminal activity is not uploaded to a Cocxy backend. Verify with any network monitor.\n\n## Keyboard Shortcuts\n\n| Action | Shortcut |\n|--------|----------|\n| New Tab | `Cmd+T` |\n| Close Tab | `Cmd+W` |\n| New Window | `Cmd+N` |\n| Command Palette | `Cmd+Shift+P` |\n| **Agent Code Review Panel** | **`Cmd+Option+R`** |\n| Agent Dashboard | `Cmd+Option+A` |\n| Agent Timeline | `Cmd+Shift+T` |\n| Smart Routing | `Cmd+Shift+U` |\n| Notifications | `Cmd+Shift+I` |\n| Browser Panel | `Cmd+Shift+B` |\n| Remote Workspaces | `Cmd+Shift+R` |\n| Markdown Outline (when active) | `Cmd+Shift+O` |\n| Markdown Source / Preview / Split | `Cmd+1` / `Cmd+2` / `Cmd+3` |\n| Find in Terminal / Markdown | `Cmd+F` |\n| Split Horizontal | `Cmd+D` |\n| Split Vertical | `Cmd+Shift+D` |\n| Equalize Splits | `Cmd+Shift+E` |\n| Toggle Split Zoom | `Cmd+Shift+F` |\n| Close Split | `Cmd+Shift+W` |\n| Navigate Splits | `Cmd+Option+Arrows` |\n| Quick Terminal | `` Cmd+` `` |\n| Zoom In / Out | `Cmd++` / `Cmd+-` |\n| Next Tab | `Cmd+Shift+]` |\n| Previous Tab | `Cmd+Shift+[` |\n| Jump to Tab 1–9 | `Cmd+1` through `Cmd+9` |\n| Dismiss Overlay | `Esc` |\n\n## Agent Profile Coverage\n\n| Profile class | Hooks | OSC 7 / 133 | Pattern | Timing |\n|---------------|-------|-------------|---------|--------|\n| Hook-capable local CLIs | Yes | Optional | Yes | Yes |\n| OSC-aware shells and tools | Optional | Yes | Yes | Yes |\n| Pattern-only local CLIs | — | — | Yes | Yes |\n| Timing fallback profiles | — | — | Optional | Yes |\n| Custom profiles | Optional | Optional | Yes | Yes |\n\nCustom agents are defined in `~/.config/cocxy/agents.toml`:\n\n```toml\n[my-agent]\ndisplay-name = \"My Agent\"\nosc-supported = false\nlaunch-patterns = [\"^my-agent\\\\b\"]\nwaiting-patterns = [\"^\u003e\\\\s*$\"]\nerror-patterns = [\"Error:\"]\nfinished-indicators = [\"^\\\\$\\\\s*$\"]\nidle-timeout-override = 10\n```\n\n## Configuration\n\n```\n~/.config/cocxy/\n  config.toml          Fonts, theme, keybindings, terminal behavior\n  agents.toml          Agent detection patterns and thresholds\n  themes/*.toml        Custom themes\n  plugins/             Plugin directories with manifest.toml\n  sessions/            Auto-saved session state\n  remotes/             SSH connection profiles\n  sockets/             SSH ControlMaster socket files\n```\n\n### Example `config.toml`\n\n```toml\n[font]\nfamily = \"JetBrains Mono\"\nsize = 14.0\n\n[theme]\nname = \"catppuccin-mocha\"\nlight-theme = \"catppuccin-latte\"\n\n[terminal]\nscrollback-lines = 10000\ncursor-style = \"block\"\ncursor-blink = true\ncopy-on-select = true\nclipboard-paste-protection = true\n\n[appearance]\nbackground-opacity = 1.0\nbackground-blur-radius = 0\nwindow-padding-x = 2\nwindow-padding-y = 2\nligatures = true\n\n[code-review]\nauto-show-on-session-end = true\n```\n\n### Themes\n\nShips with Catppuccin (Mocha and Latte), One Dark, and Solarized (Dark and Light). Drop a `.toml` theme into `~/.config/cocxy/themes/` and it appears immediately in the theme picker. Auto-switching between a light and dark pair follows the system appearance.\n\n## CLI Companion\n\nMore than 100 commands for scripting and automation via a Unix Domain Socket with per-UID authentication.\n\n```bash\ncocxy setup-hooks                # Auto-configure hooks across every installed agent\ncocxy notify \"Deploy complete\"   # Trigger a native notification with optional sound\ncocxy list-tabs                  # List all tabs as JSON\ncocxy window list                # List all open windows\ncocxy session save my-workspace  # Save current session\ncocxy session restore my-workspace\ncocxy remote list                # List SSH profiles and status\ncocxy remote connect prod-web    # Connect to a remote profile\ncocxy plugin list                # List installed plugins\ncocxy dashboard toggle           # Toggle the agent dashboard\ncocxy timeline export --format json \u003e events.json\ncocxy review                     # Toggle the agent code review panel\ncocxy review --submit            # Submit pending review comments to the agent\ncocxy capture-pane               # Capture terminal content as text\ncocxy send --stdin               # Read input from stdin for multiline, escape-safe send\ncocxy core-modes                 # Dump terminal diagnostic state (alt-screen, cursor, etc.)\ncocxy web-start --port 8080      # Expose the active terminal over HTTP\n```\n\nRun `cocxy help` for the full reference.\n\n## Building from Source\n\n### Prerequisites\n\n- macOS 14.0 (Sonoma) or later\n- Xcode 16 or later\n- Swift 5.10+\n- Zig 0.15+ (`brew install zig`) — required to build CocxyCore locally\n\n### Build and Run\n\n```bash\ngit clone https://github.com/salp2403/cocxy-terminal.git\ncd cocxy-terminal\n\nswift build\nswift run CocxyTerminal\n```\n\n### Test\n\n```bash\nswift test\n```\n\n### Package a Local `.app`\n\n```bash\n./scripts/build-app.sh release\n./scripts/install-local-app.sh   # Copies the built bundle into /Applications and registers QuickLook\n```\n\n## Architecture\n\nMVVM + Coordinators with Swift protocols as contracts between modules. Zero third-party Swift dependencies in app code; Sparkle is the only packaged binary dependency, used solely for auto-updates.\n\n```\nSources/\n  App/               Entry point, AppDelegate, scripting bridge\n  Core/              Terminal engine bridge, socket server, renderers\n  Domain/\n    AgentDetection/    Multi-layer detection engine\n    CodeReview/        Diff, comments, hunk actions, feedback loop\n    Markdown/          Parser, renderer, outline, search, git integration\n    Plugins/           Manifest loader and event dispatch\n    RemoteWorkspace/   SSH, proxy, relay, daemon, SFTP\n    CommandPalette/    Engine and coordinator\n    Timeline/          Event store\n    SmartRouting/      Priority-based tab routing\n  UI/                Windows, tabs, panels, overlays, animations\nCLI/                 cocxy companion tool (100+ commands)\nQuickLook/           Markdown QuickLook extension\nTests/               Swift Testing suite\nResources/\n  Themes/            Built-in color schemes\n  Fonts/             Bundled JetBrains Mono and Monaspace Neon Nerd Font\n  shell-integration/ zsh, bash, fish scripts\n  Markdown/          KaTeX, Mermaid, Highlight.js bundled for offline preview\n```\n\nCocxyCore (the terminal engine) lives in a separate repository and is vendored as an `.xcframework` in `libs/` during local development. CI rebuilds it from source.\n\n## Contributing\n\nContributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide: branch naming, commit conventions, test requirements, and code style.\n\n## Security\n\nFound a vulnerability? Do not open a public issue. Email [security@cocxy.dev](mailto:security@cocxy.dev). See [SECURITY.md](SECURITY.md) for the responsible disclosure process.\n\n## License\n\nMIT License. Copyright (c) 2026 Said Arturo Lopez. See [LICENSE](LICENSE).\n\n## Links\n\n- **Website:** [cocxy.dev](https://cocxy.dev)\n- **Releases:** [GitHub Releases](https://github.com/salp2403/cocxy-terminal/releases)\n- **Changelog:** [CHANGELOG.md](CHANGELOG.md)\n- **Documentation:** [cocxy.dev/getting-started.html](https://cocxy.dev/getting-started.html)\n- **Issues:** [GitHub Issues](https://github.com/salp2403/cocxy-terminal/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalp2403%2Fcocxy-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalp2403%2Fcocxy-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalp2403%2Fcocxy-terminal/lists"}