Repository navigation
feat!: bare driga opens the viewer; drop CLI copies of live views - #59
Merged
Merged
Conversation
The TUI and web dashboard are where people watch agents. The CLI is the interface for scripts, agents and actions, so it no longer imitates the live views: - Bare `driga` in a terminal opens `driga top`. Piped output or --json still prints the one-screen summary; `driga summary` always does. - Remove --watch from every read command. It redrew text on a timer, which top and web already do properly. - Remove the `activity` and `conflicts` commands. Activity is in the web Activity page, overlaps are in Flow and Projects, and MCP keeps get_activity and list_conflicts. README and usage docs lead with top, web, service install and doctor, and move the read commands under scripting and agents. Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4
vishr
added a commit
that referenced
this pull request
Oct 24, 2026
The landing page leads with a 24-second film and three short loops, all recordings of the shipped binary: - cmd/driga-demo plays scripted sessions into a private data directory: it writes the store, holds the collector lock and runs the real prompt broker, so `driga` and `driga web` read it as a live collector. It never reads the process table, agent files or Git. - site/footage records the TUI with VHS and the web dashboard (dark and light) with Playwright, then cuts site/public/media with Remotion. `just site-footage` redoes all of it. The page follows the approved design: status line, headline, install, film, feature sections for Needs you, Flow and Machines, three ways in, local by default, and a closing install. The site switches to Geist and Geist Mono, with Catppuccin state colours darkened to 4.5:1 in Latte. Docs follow the CLI changes in #59: bare `driga` opens the viewer, and activity, conflicts and --watch are gone. The notifications guide explains the one-time macOS prompt from #58. Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4
vishr
added a commit
that referenced
this pull request
Oct 24, 2026
A Starlight site for driga.dev, built from the code where it can be: - cmd/driga-docgen writes the CLI, settings, MCP tools and hooks reference pages from the parser, the settings table, the MCP server and dry-run hook installers; `just docs-check` and the docgen tests fail on a stale page. - llms.txt, llms-full.txt and a Markdown alternate of every page, including the landing page's headings, commands and install line. - Catppuccin Mocha and Latte as in the app, Geist and Geist Mono, one heading scale and focus ring, state colours at 4.5:1 or better. The landing page leads with real-time screen recordings of the shipped binary: the terminal from typing `driga` to an allowed permission prompt, then the same prompt allowed in the browser, then the install command, with a Terminal · Browser · Install chapter bar. Feature sections play tight crops of the same takes, light or dark with the site theme; phones get the Needs-you crop in the hero. - cmd/driga-demo plays scripted sessions into a private temporary data directory: it holds the collector lock, writes the store and runs the real prompt broker, so `driga` and `driga web` read it as a live collector. It never reads the process table, agent files or Git. - site/footage records the TUI with VHS and `driga web` with Playwright (a drawn pointer, both themes), refusing to film unless the viewer reads the demo, and cuts the films with Remotion from film/cut.json. - Videos live in the R2 bucket driga-assets under content-hashed keys, served from assets.driga.dev and listed in src/data/media.json; posters are committed. `just site-footage` re-records, `just site-footage-publish` uploads. Docs follow #58 (one-time macOS notification prompt) and #59 (bare `driga` opens the viewer; no activity, conflicts or --watch). Deployed to Cloudflare Pages by .github/workflows/site.yml. Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4
vishr
added a commit
that referenced
this pull request
Oct 24, 2026
A Starlight site for driga.dev, built from the code where it can be: - cmd/driga-docgen writes the CLI, settings, MCP tools and hooks reference pages from the parser, the settings table, the MCP server and dry-run hook installers; `just docs-check` and the docgen tests fail on a stale page. - llms.txt, llms-full.txt and a Markdown alternate of every page, including the landing page's headings, commands and install line. - Catppuccin Mocha and Latte as in the app, Geist and Geist Mono, one heading scale and focus ring, state colours at 4.5:1 or better. The landing page leads with real-time screen recordings of the shipped binary: the terminal from typing `driga` to an allowed permission prompt, then the same prompt allowed in the browser, then the install command, with a Terminal · Browser · Install chapter bar. Feature sections play tight crops of the same takes, light or dark with the site theme; phones get the Needs-you crop in the hero. - cmd/driga-demo plays scripted sessions into a private temporary data directory: it holds the collector lock, writes the store and runs the real prompt broker, so `driga` and `driga web` read it as a live collector. It never reads the process table, agent files or Git. - site/footage records the TUI with VHS and `driga web` with Playwright (a drawn pointer, both themes), refusing to film unless the viewer reads the demo, and cuts the films with Remotion from film/cut.json. - Videos live in the R2 bucket driga-assets under content-hashed keys, served from assets.driga.dev and listed in src/data/media.json; posters are committed. `just site-footage` re-records, `just site-footage-publish` uploads. Docs follow #58 (one-time macOS notification prompt) and #59 (bare `driga` opens the viewer; no activity, conflicts or --watch). Deployed to Cloudflare Pages by .github/workflows/site.yml. Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4
vishr
added a commit
that referenced
this pull request
Oct 24, 2026
A Starlight site for driga.dev, built from the code where it can be: - cmd/driga-docgen writes the CLI, settings, MCP tools and hooks reference pages from the parser, the settings table, the MCP server and dry-run hook installers; `just docs-check` and the docgen tests fail on a stale page. - llms.txt, llms-full.txt and a Markdown alternate of every page, including the landing page's headings, commands and install line. - Catppuccin Mocha and Latte as in the app, Geist and Geist Mono, one heading scale and focus ring, state colours at 4.5:1 or better. The landing page leads with real-time screen recordings of the shipped binary: the terminal from typing `driga` to an allowed permission prompt, then the same prompt allowed in the browser, then the install command, with a Terminal · Browser · Install chapter bar. Feature sections play tight crops of the same takes, light or dark with the site theme; phones get the Needs-you crop in the hero. - cmd/driga-demo plays scripted sessions into a private temporary data directory: it holds the collector lock, writes the store and runs the real prompt broker, so `driga` and `driga web` read it as a live collector. It never reads the process table, agent files or Git. - site/footage records the TUI with VHS and `driga web` with Playwright (a drawn pointer, both themes), refusing to film unless the viewer reads the demo, and cuts the films with Remotion from film/cut.json. - Videos live in the R2 bucket driga-assets under content-hashed keys, served from assets.driga.dev and listed in src/data/media.json; posters are committed. `just site-footage` re-records, `just site-footage-publish` uploads. Docs follow #58 (one-time macOS notification prompt) and #59 (bare `driga` opens the viewer; no activity, conflicts or --watch). Deployed to Cloudflare Pages by .github/workflows/site.yml. Claude-Session: https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An independent review asked whether the CLI duplicates the TUI and web. Most of it does not: MCP reads, Chat actions, notification clicks (
driga inbox jump), the read-only web dashboard and TUI hand-offs all run through CLI commands, so those stay. What duplicated the live views is removed here.Changes
drigaopensdriga topwhen stdin and stdout are a terminal. Piped or--json, it prints the summary as before;driga summaryalways prints it.--watchremoved from every read command (a clear-screen redraw loop;topandwebare the live views). The viewer heartbeat stays forweb.activityandconflictscommands removed. The web Activity page, Flow and Projects show this data; MCP keepsget_activityandlist_conflicts(built fromview, not the CLI).service install,driga,webanddoctor, and present read commands as the scripting and agent interface.Breaking for anyone scripting
driga activity,driga conflictsor--watch; Driga is alpha and has no compatibility shims.Verification
just checkpasses; MCP parity test skips CLI comparison for the two MCP-only tools.drigaprints the summary; under a pseudo-terminal (script)drigaopens the TUI with Flow, Projects and Machines tabs.https://claude.ai/code/session_01T2vtcW6ihn1ywy9vxUq9a4