Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ improvising or retrying when something is off.
| --- | --- | --- | --- |
| Compile one or more demonstrations into a deterministic program | Released | Real app (OpenEMR referral, 62 timed runs) | `openadapt-flow record`, `compile`; [packages/flow](packages/flow/README.md) |
| Try the three acts on a real app: `openadapt quickstart --app openemr` runs the certified OpenEMR referral program in Docker, five referrals at once checked in OpenEMR's record, then a possible duplicate stopped before saving; without Docker or a clone it says so and exits 2 | On main ([#1431](https://github.com/OpenAdaptAI/OpenAdapt/pull/1431)) | Real app (local OpenEMR 8.0.0.3, synthetic patients) | `openadapt quickstart --app openemr`; [docs/quickstart](docs/quickstart/README.md#on-a-real-app---app-openemr) |
| Run the quickstart without taking over the screen: `uvx --python 3.12 openadapt@latest quickstart` keeps the browser hidden and shows progress in the terminal (`--watch` shows the window, `--open` opens the Seal page), runs a run whose starting screen never settles once more in a new folder and otherwise says why in plain words, and reruns itself with Python 3.12 under `uvx` on an unsupported Python. Flow's page settle hands a page that draws no frames (a covered headed window) to the screenshot check instead of waiting out its timeout | On main ([#2365](https://github.com/OpenAdaptAI/OpenAdapt/pull/2365)) | Unit tests; headless terminal captures at 80, 120 and 250 columns for Terminal.app, WezTerm and iTerm2 settings; a headed covered-window run is not reproduced here | `openadapt quickstart`; [openadapt/quickstart](openadapt/quickstart/__init__.py), [_page_quiescence.py](packages/flow/openadapt_flow/backends/_page_quiescence.py) |
| Classify common local edits without a person (select-all, Enter in a field or dropdown, an in-form tab, an informational dialog's dismiss), only when the recording's network capture shows no write and a runtime check confirms only the expected change | Released ([#1366](https://github.com/OpenAdaptAI/OpenAdapt/pull/1366)) | Synthetic; OpenEMR referral recording re-admitted offline (violations 12 to 1 under `permissive`) | [LOCAL_EDIT_CLASSIFICATION.md](packages/flow/docs/design/LOCAL_EDIT_CLASSIFICATION.md), `compiler/local_edit.py` |
| Keep the empty search result a person confirmed through (a duplicate check's "No matches were found.") as an exact check after the click that opens the dialog and again right before Confirm, so a run whose dialog lists a match stops before the save; only fixed-vocabulary search-result statements shown once, never text with a name or search term, and a confirmation dialog without one is noted in `compile_notes.json` | On main | Real app frames (an OpenEMR referral recording, compiled offline) | `compiler/empty_result_guard.py` |
| Mine that check in any language: induction keeps the one line a named dialog adds (not its title or buttons, not a question, no typed value or number) when two or more demonstrations whose typed values all differ show the same line, refuses when the demonstrations disagree on a mined check instead of copying the first one's, and qualification then needs a business-rule run that halts at it | On main | Synthetic (a search dialog recorded in Chromium by the real recorder, German statement, real OCR) | `compiler/empty_result_guard.py`, `compiler/induction.py` |
Expand Down
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,32 @@

### Fixes

- `openadapt quickstart` keeps the browser hidden and shows each step in the
terminal, so it no longer opens a window over your work. `--watch` shows
the window, and the older `--headed` still does too. `--headless` is now the
default and changes nothing. The Seal page is no longer opened at the end:
the finale prints a link to it (an OSC 8 hyperlink where the terminal
supports one, the `file://` address elsewhere, Terminal.app included), and
`--open` opens it.
- A run whose starting screen never finishes drawing (it stopped before its
first click and wrote nothing) runs once more in a new folder. When the
second try stops the same way, the quickstart says why in plain words and
skips the break-it act instead of printing that OpenAdapt "stopped, but not
at the check this act sets off".
- The quickstart's output is at most 100 columns wide, and each step's timing
follows its text instead of sitting at the window's right edge.
- The screen and the database are shown as text side by side in every
terminal, with the saved message read from the screen. The screenshot is
drawn under them only where the terminal answers an image-protocol query
(iTerm2, Kitty, Ghostty). WezTerm drew blank rows for it and gets the text
unless `OPENADAPT_INLINE_IMAGES=iterm2` is set.
- `openadapt quickstart` no longer prints that it is also available as
`openadapt demo quickstart`.
- The documented first command is `uvx --python 3.12 openadapt@latest
quickstart`, and the printed next steps under `uvx` use `openadapt@latest`.
Under `uvx` on Python 3.13 or newer, the launcher reruns the same command
with Python 3.12 (`uvx --python 3.12 openadapt@<this version> ...`) instead of
stopping. Elsewhere on those Pythons it prints that one-line command first.
- Before publishing a Seal, the quickstart and `openadapt seal publish` list
each public field and explain how readers can link Seals signed by the same
key. The quickstart shows the checked and stopped Seals, with both file
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,14 @@ has the method, the raw runs and the cost.
## Try it in one command

```bash
uvx --python 3.12 openadapt demo quickstart --break-it
uvx --python 3.12 openadapt@latest quickstart --break-it
```

No account or API key. [uv](https://docs.astral.sh/uv/getting-started/installation/)
fetches Python 3.12 if you need it; with Python 3.10 to 3.12 already installed,
`python -m pip install --upgrade openadapt` then `openadapt demo quickstart --break-it`
does the same.
fetches Python 3.12 if you need it, and `@latest` runs the newest release. With
Python 3.10 to 3.12 already installed, `python -m pip install --upgrade openadapt`
then `openadapt quickstart --break-it` does the same. The browser runs hidden
and progress shows in the terminal; add `--watch` to see the browser window.

### What it shows

Expand Down
23 changes: 23 additions & 0 deletions docs/quickstart/terminal-captures-2026-11-20/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Quickstart terminal captures, 20 November 2026

These are real headless `openadapt quickstart --break-it` runs, captured in a pseudo-terminal by
`scripts/capture_quickstart_pty.py`. Each run has `TERM_PROGRAM` set to `Apple_Terminal`,
`WezTerm` or `iTerm.app` and a width of 80, 120 or 250 columns. No browser window was opened.
Nothing answered terminal queries, so no image protocol was confirmed. A local stub said hosted
Seals were live, and the publish question was answered "n", so nothing was uploaded.

- `before-*` files are launcher 1.23.0 from PyPI with Flow 3.3.0, run with `--headless`. They
don't reproduce the Terminal.app failure, because that needs a visible window.
- `after-*` files are this branch, with no flags. The browser is hidden by default.
- `.txt` is the screen as a terminal shows it at the end, with scrollback (rendered with pyte).
- `.ansi` is the raw byte stream.
- `.json` holds the command, exit code and time.

Paths under the run folder read `<cwd>`, and the stub's port reads `<stub>`.

`python-3.14-rerun.txt` shows the launcher on Python 3.14 under `uvx` rerunning the command on
3.12. The command is `flow --version`, which opens no browser.

The short "Put this Seal online?" summary in the `after-*` captures came from an earlier head of
#2365. That change moved to #2357, which lists every uploaded field before consent. #2365 leaves the
publish prompt as it is on main.
Loading