Skip to content

Install experience: PATH setup, CLI card in General, condensed README, install-modal copy - #1035

Merged
arul28 merged 7 commits into
mainfrom
readme-surfaces
Aug 5, 2026
Merged

Install experience: PATH setup, CLI card in General, condensed README, install-modal copy#1035
arul28 merged 7 commits into
mainfrom
readme-surfaces

Conversation

@arul28

@arul28 arul28 commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Install / onboarding

  • The one-liner now puts ade on PATH. Previously the POSIX installer only printed a hint, so the promoted command ended in ade: command not found in the next shell. It now writes a guarded ~/.ade/env and, after asking, appends one marker-wrapped line to the right profile (zsh → .zshrc; bash → .bash_profile on macOS, .bashrc on Linux). Idempotent, so the update path never re-prompts or duplicates. Non-interactive runs, fish, and unknown shells get a printed hint instead of an edited dotfile; ADE_INSTALL_NO_PATH=1 opts out. Runs before sign-in, and when it edits a profile it tells you how to fix the current shell. Verified by a 10-case sandbox harness that extracts the real block and runs it against a temp HOME.
  • Windows: PATH handling was already correct; fixed the gap where -NoPath ended the install with no next step.
  • Sign-in copy: the installer prompt and the CLI's browser line now say "sign in or create your ADE account", since Clerk's hosted page carries both and new users had no signal.

Desktop

  • "ADE command" card moves from Integrations to General (second card). The manifest entry moves with it, so ⌘K and the ?integration=cli deep link follow automatically; Integrations is now just GitHub + Linear. Not-on-PATH copy ties into the install story and names the platform-correct one-liner for machines without the desktop app.

README

  • ## CLI through the Validate line: 285 lines → 41. Nothing deleted: the glossary, brain-vs-manual-runtime table, what-to-rebuild matrix, dev command matrix, lane-worktree instructions, browser preview, socket warning, and Alpha/Beta packaging all move verbatim to docs/development/local-development.md, linked from Develop and added to the docs nav map.
  • The PATH paragraph is rewritten to describe what the installer actually does now.

Website

  • Hero link: "Linux · install the brain" → "Linux".
  • Linux modal: drops the subtitle and the footnote line.
  • Mac + Windows modals: drop the subtitle, terminal blurb, and download blurb; "DOWNLOAD THE APP" → "OR DOWNLOAD FROM FILE". The unused shared blurb constant is deleted and the four fields are now properly optional, so the dialog renders without them rather than leaving empty tags.

Verification

sh -n/dash -n clean · 10/10 installer PATH sandbox cases · desktop typecheck + eslint clean · 53 desktop tests (settings manifest, SettingsPage, adeCliService) · web build + 9 analytics tests · validate-docs clean apart from the known placeholder below.

Follow-up before merge

assets/readme/web-client.png is still referenced by the web-client grid cell and not yet added (TODO(readme) comment marks it). Drop the capture at that path and the tile renders.

Note: the install scripts ship as release assets, so the live install.sh keeps the old PATH behavior until the next release cut.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Installers now offer clearer sign-in or account-creation prompts.
    • Added guided PATH setup for supported shells and platforms, with fallback instructions when automatic updates aren’t available.
    • Desktop settings now include ADE CLI installation guidance in the General section.
  • Improvements

    • Installer completion messages now explain PATH updates and new-terminal steps.
    • Installation dialogs show only applicable guidance and use clearer platform-specific download labels.
    • Simplified the Linux installation call-to-action.

Split the intro into shorter beats and fix its typos, replace the
six-row feature table with a 2x2 grid of the four surfaces (desktop,
web, terminal, mobile), and restructure Install around them: the
one-liner leads and states what it gets you, GitHub Releases is framed
as the same outcome by another route, and ade connect is described as
what it is -- linking a machine to your account, run for you by the
installer and by desktop sign-in.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ade Ignored Ignored Preview Aug 5, 2026 6:56am

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@arul28, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 15 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c2167d71-60f2-48b0-8c35-214260e3889e

📥 Commits

Reviewing files that changed from the base of the PR and between b121c4d and 2d6a92a.

⛔ Files ignored due to path filters (3)
  • CONTRIBUTING.md is excluded by !*.md
  • README.md is excluded by !*.md
  • assets/readme/web-client.png is excluded by !**/*.png, !assets/**
📒 Files selected for processing (4)
  • .gitignore
  • apps/ade-cli/scripts/install-runtime.ps1
  • apps/ade-cli/scripts/install-runtime.sh
  • apps/desktop/README.md
📝 Walkthrough

Walkthrough

Changes

Installation experience

Layer / File(s) Summary
CLI PATH and onboarding flow
apps/ade-cli/scripts/install-runtime.*, apps/ade-cli/src/cli.ts, apps/ade-cli/README.md
The installers add idempotent PATH setup, -NoPath handling, shell guidance, and sign-in or account-creation wording.
Desktop ADE CLI settings placement and guidance
apps/desktop/src/renderer/components/app/SettingsPage.tsx, apps/desktop/src/renderer/components/settings/*
The ADE CLI section moves to General settings and shows platform-specific installation commands outside embedded views.
Web installer content configuration
apps/web/src/components/install/InstallDialog.tsx, apps/web/src/lib/installTargets.ts, apps/web/src/components/editorial/Lede.tsx
Installer text fields become optional. Mac, Windows, and Linux installation labels and descriptions are updated.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • arul28/ADE#561: Updates the same installer README with runtime release asset information.

Suggested labels: desktop, web, docs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes to PATH setup, CLI settings placement, README content, and install-modal copy.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch readme-surfaces

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

arul28 and others added 2 commits August 5, 2026 01:57
Updated installation instructions and clarified the functionality of the ADE Brain and UI clients.
…e the README

The POSIX installer now writes ~/.ade/env and, with consent, appends one
marker-guarded line to the right shell profile, so the promoted one-liner
no longer ends in 'ade: command not found'. It is idempotent, skips
non-interactive and fish/unknown shells with a printed hint, honors
ADE_INSTALL_NO_PATH=1, and runs before sign-in. Windows gains the closing
next-step it was missing under -NoPath.

The 'ADE command' settings card moves from Integrations to General, and
its not-on-PATH copy now points at the same install story.

The README's CLI-through-Develop block drops from 285 lines to 41; the
detail moves verbatim to docs/development/local-development.md. Install
prompts now say 'sign in or create your ADE account'. Website install
modals lose the redundant subtitles and blurbs, and the app download
column reads 'or Download from file'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@arul28 arul28 changed the title docs(readme): surface-first grid and install section Install experience: PATH setup, CLI card in General, condensed README, install-modal copy Aug 5, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/ade-cli/README.md`:
- Line 74: Update the PowerShell installer’s path-handling logic around the
NoPath option so install-runtime.ps1 also sets $NoPath when the
ADE_INSTALL_NO_PATH environment variable equals "1", preventing persistent user
PATH updates; keep the existing -NoPath behavior unchanged.

In `@apps/ade-cli/scripts/install-runtime.ps1`:
- Around line 480-486: Update the -NoPath branch in the install-runtime output
flow to emit a valid PowerShell invocation when $adeCommand contains spaces:
format the command with the call operator (&) and quoted executable path,
followed by connect --status --text. Keep the existing output behavior for the
non--NoPath branch unchanged.

In `@apps/ade-cli/scripts/install-runtime.sh`:
- Around line 262-267: Update the zsh profile selection logic in the install
script to always use $HOME/.zshrc for PATH setup, including when only .zprofile
exists; create .zshrc when it is missing instead of selecting .zprofile.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: d98a779b-aabd-4fbf-a16e-e007bc9d359b

📥 Commits

Reviewing files that changed from the base of the PR and between 5068ce1 and b121c4d.

⛔ Files ignored due to path filters (4)
  • README.md is excluded by !*.md
  • docs/README.md is excluded by !docs/**
  • docs/development/local-development.md is excluded by !docs/**
  • docs/features/onboarding-and-settings/README.md is excluded by !docs/**
📒 Files selected for processing (10)
  • apps/ade-cli/README.md
  • apps/ade-cli/scripts/install-runtime.ps1
  • apps/ade-cli/scripts/install-runtime.sh
  • apps/ade-cli/src/cli.ts
  • apps/desktop/src/renderer/components/app/SettingsPage.tsx
  • apps/desktop/src/renderer/components/settings/AdeCliSection.tsx
  • apps/desktop/src/renderer/components/settings/settingsManifest.ts
  • apps/web/src/components/editorial/Lede.tsx
  • apps/web/src/components/install/InstallDialog.tsx
  • apps/web/src/lib/installTargets.ts

Comment thread apps/ade-cli/README.md
For an unpublished Windows proof bundle, run `install.ps1 -AssetDirectory <bundle-directory>` (or set `ADE_RELEASE_ASSET_DIR`) to install the local checksum, executable, and native archive without creating a GitHub Release.

The POSIX script downloads `ade-<platform-arch>` to `$ADE_INSTALL_DIR/ade`; the PowerShell script downloads `ade-win32-x64.exe` to `$ADE_INSTALL_DIR\ade.exe`. Both verify the binary and matching `.native.tar.gz` against `SHA256SUMS`, extract native dependencies under `$ADE_HOME/runtime/<platform-arch>/`, run `ade --version`, and register the per-user login service. The PowerShell installer also adds the install directory to the current user's `PATH` unless `-NoPath` is passed; use `-NoService` to skip startup registration.
The POSIX script downloads `ade-<platform-arch>` to `$ADE_INSTALL_DIR/ade`; the PowerShell script downloads `ade-win32-x64.exe` to `$ADE_INSTALL_DIR\ade.exe`. Both verify the binary and matching `.native.tar.gz` against `SHA256SUMS`, extract native dependencies under `$ADE_HOME/runtime/<platform-arch>/`, run `ade --version`, and register the per-user login service. Both put `ade` on `PATH`. The PowerShell installer adds the install directory to the current user's `PATH` (idempotently, then broadcasts `WM_SETTINGCHANGE`) and tells you to open a new terminal. The POSIX installer writes `$ADE_HOME/env` — a guarded `case ":${PATH}:" in ... esac` prepend that is safe to source repeatedly — and, with consent on a tty, appends one marker-commented block (`# >>> ade >>>` / `. "$HOME/.ade/env"` / `# <<< ade <<<`) to `~/.zshrc` (zsh; `~/.zprofile` only when no `~/.zshrc` exists), `~/.bash_profile` (bash on macOS) or `~/.bashrc` (bash on Linux). It greps for the marker first, so re-running the installer — which is also the update path — never duplicates the block. fish and unrecognized shells are never edited: the installer prints `fish_add_path "<dir>"` or the source line instead, as it does with no tty or with `ADE_INSTALL_NO_PATH=1`. After a profile edit the closing output tells you to run `. "$HOME/.ade/env"` or open a new terminal. Both accept `-NoPath` / `ADE_INSTALL_NO_PATH=1`; use `-NoService` to skip startup registration.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Map ADE_INSTALL_NO_PATH in the PowerShell installer.

This line says install.ps1 accepts ADE_INSTALL_NO_PATH=1. However, install-runtime.ps1 only checks the -NoPath switch before it updates the user PATH. An environment-only opt-out still changes persistent user state.

Set $NoPath = $true when ADE_INSTALL_NO_PATH is 1, or remove this claim.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/ade-cli/README.md` at line 74, Update the PowerShell installer’s
path-handling logic around the NoPath option so install-runtime.ps1 also sets
$NoPath when the ADE_INSTALL_NO_PATH environment variable equals "1", preventing
persistent user PATH updates; keep the existing -NoPath behavior unchanged.

Comment thread apps/ade-cli/scripts/install-runtime.ps1
Comment thread apps/ade-cli/scripts/install-runtime.sh Outdated
arul28 and others added 4 commits August 5, 2026 02:16
The worktree-graph image and its catch-all caption leave the README. The
signed-release section leaves CONTRIBUTING, which now says the thing that
actually matters: contributions are wanted, and good PRs get merged.
115 lines to 33. Also repoints two stale README anchors at the new
local-development doc.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The blanket *.png ignore already carried negations for docs, web public,
and iOS assets; assets/ was missing, so hero.png had to be force-added.
Add the negation so README captures track normally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Three failure modes, all post-install: an unset HOME crashed the script
under set -u once ADE_HOME was supplied (docker RUN, systemd units, some
CI images), an unwritable env file aborted under set -e and could leave a
profile sourcing a file that does not exist, and the marker block was
three writes so concurrent installs could interleave into one another.
HOME is now guarded, the env write degrades to a printed hint, and the
block is a single append.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… command, always use .zshrc

Review findings, all real. The README promised install.ps1 accepts
ADE_INSTALL_NO_PATH=1 but it only read the -NoPath switch, and `irm ... |
iex` cannot take parameters, so the env var was the only possible opt-out
on the one-liner we promote and it did nothing. Under -NoPath the printed
next step interpolated a bare absolute path, which stops being runnable
once it contains a space. And zsh only read .zshrc for interactive
shells, so preferring an existing .zprofile left PATH missing in the
non-login shells editors and multiplexers spawn.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@arul28
arul28 merged commit d4f24e0 into main Aug 5, 2026
36 checks passed
@arul28
arul28 deleted the readme-surfaces branch August 5, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant