Repository navigation
Releases
TurboFrame 0.3.0
TurboFrame 0.3.0
The first release of stage 2. It adds the web mode: the same terminal application served to a web browser on
this machine, app --web 127.0.0.1:9090 --res 120x60, with no change to the application but one call in its
main. It also fixes the completion defect turbodoo met with a slow language server, a menu that closed right
after it opened, and two intermittent failures. Every v0.2.1 import still works, and every signature only gains
optional arguments.
TurboFrame is distributed from GitHub only. It is not on PyPI.
Install
pip install "turboframe @ git+https://github.com/divengine/turboframe@v0.3.0"
pip install "turboframe[watch,lsp,web] @ git+https://github.com/divengine/turboframe@v0.3.0" # with the extrasOr the wheel attached to this release (check it against SHA256SUMS).
Requirements
- Python 3.11 or later; tested on 3.11 and 3.12. Linux and Windows, both required in CI; macOS is not tested.
textual>=8.2,<9,textual-vision==0.0.1,rich>=14.2: unchanged.- New extra
web:aiohttp>=3.9.5,<4, for the server. The page's terminal, xterm.js 6.0.0 and its fit addon
0.11.0 (MIT), is shipped inside the package: the page loads nothing from the internet.
New: the web mode (#67)
from turboframe import web
def main() -> None:
if web.launch(title="My app"): # --web given: served until Ctrl+C
return
MyApp().run()my-app --web 127.0.0.1:9090 --res 120x60 # open the address it prints, once
my-app --web :9090 --res auto # the terminal follows the browser window- Each browser tab is a session of its own: the application started again as a child process, with the same
arguments less--weband--res, speaking Textual's web protocol. The application's code does not change. --res COLSxROWSfixes the terminal's size in cells, whatever the window (the page fits the font to it);
--res auto, the default, follows the window.- Keys, Alt and F-keys, Escape (Windows included), the mouse, Unicode, the application's copy to the system
clipboard (OSC 52, through the browser's clipboard API) and a tab's end (the application asks about unsaved
changes first) work as in a terminal. The browser keeps a few keys for itself (Ctrl+W, Ctrl+T, Ctrl+N,
Ctrl+Tab). - Without
--webnothing changes, andturboframe.webimports without the extra. - A frozen application (PyInstaller) serves itself: the child is the executable.
--collect-all turboframe --collect-all textual(or--collect-data turboframe --collect-data textual --collect-submodules textual.drivers) carries the page and the web driver. The first, divide's, is checked in CI on Linux and Windows. - The workbench example runs in a browser:
python examples/workbench/workbench.py --web 127.0.0.1:9090 --res 120x60.
Security, by design and each point with a test (docs/web.md, 4):
| What | How |
|---|---|
| Who can reach it | loopback addresses only (127.0.0.0/8, ::1, localhost); a network address is refused with a message. From another machine: SSH port forwarding, the same port at both ends. |
| The address to open | a secret token, printed once on the server's terminal. It opens once and expires unused after 10 minutes; two requests at the same moment let one browser in. It leaves the address bar at once (a redirect) and is never sent as a Referer. |
| After that | an HttpOnly, SameSite=Strict cookie named by the port (turboframe_session_<port>), for 12 hours, enforced by the server too. Not renewed. Its expiry stops new sessions (tabs, reloads) but does not end the ones already open: those last until their tab closes or the server stops. Another browser or profile needs a restart and its new address. A restart revokes everything and ends every session. |
| Other sites | Host must be the address served (DNS rebinding: 421); the WebSocket's Origin must be the page's own (403); a Content-Security-Policy allows this server only. |
| What the page can do | send keys, sizes and focus; the command is the application's, fixed at start, never a shell. At most 4 sessions (429 beyond) and 1 MiB per message. A request from the application to read the clipboard is never answered. |
| Logs | no access log; the token is not logged. |
Fixed
| Issue | What was wrong | Now |
|---|---|---|
| #69 | With a slow language server a completion that ran out of time looked like an empty one; the requests it superseded stayed in the server; Ctrl+Space waited behind them and showed nothing | LspSession.complete() raises LspTimeout or LspRequestFailed (both LspNoAnswer); a request superseded, cancelled or out of time is cancelled in the server ($/cancelRequest); one completion in flight per editor; an explicit completion is retried once (COMPLETION_RETRY) and then a message says the server did not answer in time |
| #73 | A menu opened by a click closed at once when a click on the desktop came just before it (more often on a slow machine). The cause is in textual-vision, reported there: karellen/textual-vision#2 | DesktopApp ignores, for closing the menu, a click older than the menu's opening (DropMenuBar.activated_at); a click outside an open menu still closes it |
| #68 | A reveal (go_to, a search) done just before the editor was resized (a zoom) left the line where the old size had put it |
the editor reveals again on a resize while the user has not moved the cursor or scrolled |
| #65 | An intermittent test: a language server's sync arriving while a stopped start was discarded | the behaviour is intended and now pinned by its own test; the test no longer races it. No change to the code |
| #77 | (found before release) two web servers on one machine overwrote each other's cookie | the cookie is named by the port |
Each fix has a regression test that fails without it.
Changes to existing modules
None breaks an import or a signature.
turboframe.lsp.session:LspSession.request(method, params, timeout)(with cancellation),complete(), and
the exceptionsLspNoAnswer,LspTimeout,LspRequestFailedare new.completion()behaves as in v0.2.1:
no answer is([], False); it now also cancels in the server what runs out of time.turboframe.ui.lsp.LspMixin:COMPLETION_TIMEOUT(10 s) andCOMPLETION_RETRY(10 s) are class attributes
an application may change. A completion asked while one is pending for the same editor replaces it.turboframe.ui.app.DesktopApp.on_mouse_downandturboframe.ui.desktop.DropMenuBar.activated_atare new
(#73). An application that defines its ownon_mouse_downon itsDesktopAppsubclass keeps TurboFrame's
too: Textual calls both.turboframe.ui.editor.CodeEditorreveals again on a resize (#68).
Known limitations
- Native mode over SSH: after a long idle period the application may seem slow to react to the first clicks
(#75). Not reproduced yet; no cause found in TurboFrame,
Textual or textual-vision. It does not affect the web mode. - The web mode serves this machine only. Serving to a network would need TLS and real authentication; it is not a
setting. Downloads, uploads, reconnecting to a session after a reload, and a reverse proxy are not part of it.
Verification
- 497 unit and component tests on Linux (Python 3.11 and 3.12) and Windows (Python 3.12); the real-terminal tests
on Linux and Windows; and a new CI job,web, that serves the test application and the workbench to Chromium
through Playwright on Linux and Windows (fixed and automatic sizes, keys, Escape and Alt on Windows, the mouse
and the menu bar, sessions and the processes they leave, the clipboard). Missing tools fail these suites in CI
instead of skipping them. - The release workflow builds the sdist and the wheel once, installs the wheel with every extra in clean
environments on Linux and Windows, and runs the unit, real-terminal and browser suites against it: the page and
its terminal are served from the installed package. - The package job checks that the page and xterm.js are in both the sdist and the wheel.
- A new CI job,
frozen, builds the test application as one PyInstaller file withcollect_all(divide's recipe)
on Linux and Windows and serves it to Chromium: the page from the executable's data, the session is the
executable, keys reach it, a reload starts a new session, and stopping the server leaves no process. The
--collect-datarecipe was run by hand on Linux.
Integrating in divide (the web mode's pilot)
- Dependency:
turboframe[watch,lsp,web] @ git+https://github.com/divengine/turboframe@v0.3.0(and[i18n]in
dev).webis optional: without itdivide --websays which extra to install and exits with status 2. - Replaces: nothing.
- Changes, each optional:
src/divide/app.py, first thing inmain(argv), beforeargparse(which would refuse--web):The child gets the same arguments less the web ones, sofrom turboframe import web ... def main(argv: list[str] | None = None) -> None: if web.launch(None if argv is None else ["divide", *argv], title="divide"): return parser = argparse.ArgumentParser(...)
divide --web :9090 ~/projectopens
~/projectin each tab.launch()serves before divide reads its own arguments, so a check that--mcp
and--webare not given together, if divide wants one, goes before the call.- Help:
--web [HOST:PORT]and--res COLSxROWS|autoare TurboFram...
TurboFrame 0.2.1
TurboFrame 0.2.1
A maintenance release. It fixes the defects that divide and
turbodoo met while adopting v0.2.0, and offers one opt-in way to hold
\n text in the editor while a file keeps its own newlines. Nothing else: no new component and no stage 2
work. Every v0.2.0 import still works, and every signature only gains optional arguments.
TurboFrame is distributed from GitHub only. It is not on PyPI.
Install
pip install "turboframe @ git+https://github.com/divengine/turboframe@v0.2.1"
pip install "turboframe[watch,lsp] @ git+https://github.com/divengine/turboframe@v0.2.1" # with the extrasOr the wheel attached to this release (check it against SHA256SUMS).
Requirements
- Python 3.11 or later; tested on 3.11 and 3.12. Linux and Windows, both required in CI; macOS is not tested.
textual>=8.2,<9,textual-vision==0.0.1, and nowrich>=14.2, declared (it came with Textual before; the
floor is the one Textual 8.2 requires, so no environment changes).- The extras are the same;
lspnow also nameslsprotocol>=2025.0.0, which pygls already pins.
Fixed
| Issue | What was wrong | Now |
|---|---|---|
| #56 | process.split_arguments kept the quotes inside the arguments on Windows (shlex.split(posix=False)) |
Windows splits by the Microsoft C runtime's rules, the inverse of command_line (subprocess.list2cmdline): 'one "two words"' is ["one", "two words"], C:\Users\me stays as typed |
| #51 | process.communicate returned empty output when the time ran out |
it returns what the process wrote until then, with timed_out=True |
| #50 | ui.history.add raised OSError into the dialog when the store could not be written |
nothing is kept and the dialog goes on, as the other settings do |
| #53 | GitMixin.git_command returned None; the language servers' temporary folder was ~/.cache on Windows |
git_command returns True for GIT_COMMANDS, False otherwise; the folder is %LOCALAPPDATA% on Windows ($XDG_CACHE_HOME still wins when set) |
| #52 | the package docstring said it held no components; Rich was imported but not declared | both fixed; a test checks that every package src/ imports is declared |
| #54 | the palette listed the folder's files on the event loop each time it opened, the command palette too | the dialog opens at once and the files are read in a thread; Go to file says "Reading the folder's files..." meanwhile |
| #58 | an Enter typed before Go to file's list was filled was dropped | it acts on the list as soon as it is filled: a name and Enter typed at once open the file |
| #59 | Window > Tile (desktop.tile()) put the editors over the explorer |
the desktop (ui.desktop.DeskTop) tiles beside the docked windows: shown, not tileable, not zoomed, against the left or right edge |
| #60 | an opened editor took the focus back from a window the application raised over it | the editor is focused only while its window is still the active one |
| #55 | the Browse title was not translated; ListWindow.EMPTY was looked up in TurboFrame's catalogue only; init_status_line() ran twice |
translated; ListWindow.empty_text() is the hook an application overrides with its domain; it runs once |
Each fix has a regression test that fails on v0.2.0.
New, opt-in: \n text with the file's newlines kept
By default nothing changes: an editor's text is the file's, \r\n included, and a save writes it back byte for
byte. An application whose offsets count \n newlines (lexers, outlines, member text) can now ask for \n text
instead, and the file keeps its newlines:
from turboframe.ui.editor import EditorWindow
class MyWindow(EditorWindow):
LF = True # the editor holds \n text; a save writes the file's own newlines backUnderneath, for code outside the editor:
files.read_source(path, lf=True)returns\ntext, andSourceFile.newlinenames the file's newline (its
most frequent;\nfor a file without newlines);files.write_source(..., newline=)writes every newline as that one;files.newline_of(text)andfiles.lf_text(text)are the helpers.
With LF = True, Save, Save as, Git's reload of an open file and the explorer's member text all follow it. An
untitled window is written as typed.
Changes to existing modules
None breaks an import or a signature. Behaviour that differs from v0.2.0, besides the fixes above:
process.split_arguments(text, *, strict=False, windows=None):strict=TrueraisesValueErroron bad
quoting instead of splitting on spaces;windows=picks the rules regardless of the platform. The line is never
a shell expression: no variables, globs, pipes, redirections,%VAR%or^.PaletteDialog(files, ...)takesNonefor files still being read and gainsset_files()andlist_ready.
PaletteMixin.palette_items(commands=False)now runs in a thread: an override must not touch widgets there.DesktopApp.init_desktop()returnsui.desktop.DeskTop;desktop.tile(region)with a region is unchanged.ListWindow.empty_text(),EditorWindow.LF,EditorWindow.read(),EditorWindow.newline,
SourceFile.newlineare new.- On Windows, language servers' temporary folders move to
%LOCALAPPDATA%\<app>\tmp; folders left in
~\.cache\<app>\tmpby v0.2.0 are not removed and can be deleted.
Verification
- 444 unit and component tests on Linux (Python 3.11 and 3.12) and Windows (Python 3.12), and the real-terminal
tests on Linux and Windows. On Windows,split_argumentsis also checked against thesys.argva child Python
receives. The workbench's real-terminal test now types a name and Enter into Go to file as soon as it shows,
the case that failed on a loaded CI runner (#58). - The consumers' suites, unchanged, against 0.2.1: divide 760 passed and turbodoo 397 passed, as with v0.2.0.
With their workarounds removed (the integration steps below) they pass as well, and divide's tiling test fails
on v0.2.0 without its workaround. - The release workflow builds the sdist and the wheel once, installs the wheel with its extras in clean
environments on Linux and Windows, and runs the suites against it before publishing.
Integrating in divide
- Dependency:
turboframe[watch,lsp] @ git+https://github.com/divengine/turboframe@v0.2.1(and[i18n]indev). - Replaces: nothing new; the workarounds for #56, #59 and #60 can go.
- Changes possible, each optional:
src/divide/run/script.py:split_argsbecomesturboframe.process.split_arguments(same fallback on bad quoting);src/divide/app.py: drop the_show_editoroverride (#60) and, underCommand.TILE, callself.desktop.tile()(#59);- newlines:
EditorWindow.LF = Trueinstead oflf_source,saved()andProjectTree.member_text's
conversion. That keeps a\r\nfile's newlines on save, where divide saves it with\ntoday; to keep
saving\n, leave the conversion as it is.
- Behaviour changes to expect: Go to file opens at once on a large project and lists the files when read.
- Verify: divide's unit, acceptance and real-terminal suites (its Windows CI for #56 and #60), the wheel in a clean
environment, the binary. - Rollback: pin v0.2.0; the workarounds still work with it.
Integrating in turbodoo
- Dependency:
turboframe[lsp] @ git+https://github.com/divengine/turboframe@v0.2.1. - Replaces:
core/dap.split_arguments, which keeps the quotes on Windows (#56), for its callers intui/. - Changes possible, each optional:
src/turbodoo/tui/debug.py:turboframe.process.split_arguments(text, strict=True): the sameValueError
on bad quoting, the Windows rules fixed.corekeeps the standard library only, so the function there goes
or stays unused;git_commandmay be chained withorinstead of testingGIT_COMMANDSfirst;- newlines:
EditorWindow.LF = Truegives\ntext and keeps\r\non save, as turbodoo does today; the
normalization intui/frontend.pystays for files read outside an editor.
- Behaviour changes to expect: turbodoo tiles with its own region, which is used as given; nothing else.
- Verify: turbodoo's unit, acceptance and real-terminal suites, the wheel in a clean environment, the binary.
- Rollback: pin v0.2.0 (
5a9e869).
TurboFrame 0.2.0
TurboFrame 0.2.0
Stage 1 is complete: TurboFrame now holds all the generic infrastructure that
divide and turbodoo built, the
editor, the explorer, the git windows and the language server among it. What stays in the applications, and
why, is in docs/extraction-matrix.md.
TurboFrame is distributed from GitHub only. It is not on PyPI.
Install
pip install "turboframe @ git+https://github.com/divengine/turboframe@v0.2.0"
pip install "turboframe[watch,lsp] @ git+https://github.com/divengine/turboframe@v0.2.0" # with the extrasOr the wheel attached to this release (check it against SHA256SUMS).
Requirements
- Python 3.11 or later; tested on 3.11 and 3.12. Linux and Windows, both required in CI; macOS is not tested.
textual>=8.2,<9,textual-vision==0.0.1.- Optional extras, each imported only by its own module:
watch:watchdog>=6,<8, forturboframe.watch;lsp:pygls>=2.1,<3, forturboframe.lsp.sessionandturboframe.ui.lsp;i18n:babel>=2.12, forturboframe.i18n_tools, a development tool;terminal:tui-test==0.1.1,psutil>=7, forturboframe.testing.terminal.
New
| Module | What it is |
|---|---|
turboframe.files |
open and save a project's files without losing a byte (atomic, refusing a file changed on disk), list them, read them to search |
turboframe.watch |
folders watched through the system's notifications (extra watch) |
turboframe.lsp.session |
a language server's session: start it, its documents, completion, hovers, signatures, definitions, references (extra lsp) |
turboframe.config |
an application's settings in a JSON file: the store the components take |
turboframe.recent |
recently opened folders and files |
turboframe.i18n_tools |
extract, update, compile and check an application's catalogues (extra i18n) |
turboframe.testing.i18n |
catalogue checks for an application's tests |
turboframe.ui.editor |
CodeEditor, EditorWindow, OutputWindow, LogWindow: the editor with diagnostics, marks, gutter marks and completion |
turboframe.ui.completion |
the completion list and the signature box |
turboframe.ui.editing |
EditorMixin: new, open, save, save as, close, go to line |
turboframe.ui.searching |
SearchMixin: Find, Replace, Search again |
turboframe.ui.lsp |
LspMixin: the language server in the editor, references, problems, go back (extra lsp) |
turboframe.ui.findfiles |
find in files, bounded, with its results window |
turboframe.ui.explorer |
the project tree: file operations, members, git marks, folder watching |
turboframe.ui.localmenu |
the local menu (Alt+F10, right click) of any window |
turboframe.ui.git |
the git windows: changes, history, branches and stashes, blame, commit, with the features an application offers |
turboframe.ui.debugwindows |
a debugger's list windows and call stack |
turboframe.ui.palette |
the command palette and Go to file |
turboframe.ui.language |
Options > Language |
Also new in existing modules:
turboframe.i18n:Domain(an application's catalogue, switching TurboFrame's texts with it) andchoose_language;turboframe.process:communicate,command_line,split_arguments;turboframe.ui.themes:treesitter_tokens;turboframe.ui.compat:install_cell_scrollbars.
The wiki has a guide for each: https://github.com/divengine/turboframe/wiki.
Changes to existing modules
None breaks an import from v0.1.0:
turboframe.lspis now a package; its helpers are where they were.DesktopAppinstalls whole-cell scroll bars: Textual's eighth-cell thumbs are not CP437. SetCELL_SCROLLBARS = Falseto keep Textual's.- A
TVDialoghasready, set once its own start-up (its text selected) is done, andturboframe.testing.dialog_readywaits for it. Before, a key pressed in that moment could be selected with the text and replaced. ExplorerMixinandGitMixinhandeditors,open_fileanddiscard_editortoEditorMixinwhen an application has it.- The commands of the new components take TurboFrame's range,
FRAMEWORK_COMMANDS[2..50].
Fixed on the way
These fixes came from the applications' own copies:
- divide's catalogue tool missed texts marked
N_(); - divide's language server session left a server's children running; turbodoo's session, now TurboFrame's, kills its process group;
- new diagnostics or marks in an editor showed only after the next edit, because of TextArea's line cache;
- a folder opened in the explorer could be left unwatched on a slow machine (the same race exists in divide);
- divide's PHP lint killed a process without reaping it;
communicatereaps.
Verification
- 399 unit and component tests on Linux (Python 3.11 and 3.12) and Windows (Python 3.12), and the real-terminal tests on Linux and Windows.
- The release workflow builds the sdist and the wheel once, installs the wheel with its extras in clean environments on Linux and Windows, and runs the suites against it before publishing.
Integrating in divide and turbodoo
-
Dependency:
turboframe[watch,lsp,terminal] @ git+https://github.com/divengine/turboframe@v0.2.0, with the extras each app needs. -
Replaces, for each app, its copy of each module above. turbodoo also replaces its remaining copies of v0.1.0's modules: the acceptance support, the test helpers, the glyph test, and the desktop base of
tui/app.py(subclassDesktopApp). -
Changes needed: each app module becomes a subclass or a re-export plus its own parts, through the hooks each module documents:
- divide's
DivEditorsubclassesCodeEditor; - divide's server table, and turbodoo's Python setup and Odoo filters, plug into
LspMixin; - turbodoo sets
GitMixin.GIT_FEATURES = frozenset()to keep its narrower Git menu; - divide keeps its settings where they are with
JsonStore("divide", appdata=False).
- divide's
-
Behaviour changes to expect, listed in each PR (#37 to #48). divide gains:
- atomic saves that ask before overwriting a file changed on disk;
- Find wrapping around;
- the hover in a box.
turbodoo gains:
- whole-cell scroll bars;
- the cancel letter in the save question.
-
Verify: each app's unit, acceptance and real-terminal suites, the wheel in a clean environment, and the binary (it must collect
turboframewith itslocale/data). -
Rollback: pin v0.1.0; nothing else changes.
TurboFrame 0.1.0
TurboFrame 0.1.0
The first release of TurboFrame: desktop applications for the terminal, the Turbo Vision way, in Python,
built on Textual and textual-vision. It gathers the infrastructure that
divide and turbodoo built and
proved in daily use, as components that run and are tested on their own.
TurboFrame is distributed from GitHub only. It is not on PyPI.
Install
pip install "turboframe @ git+https://github.com/divengine/turboframe@v0.1.0"Or the wheel attached to this release (check it against SHA256SUMS):
pip install "turboframe @ https://github.com/divengine/turboframe/releases/download/v0.1.0/turboframe-0.1.0-py3-none-any.whl"For real-terminal tests, add the terminal extra: turboframe[terminal] @ git+...@v0.1.0.
Requirements
- Python 3.11 or later; tested on 3.11 and 3.12.
- Linux and Windows, both required in CI. macOS is not tested yet.
textual>=8.2,<9andtextual-vision==0.0.1(pinned exactly: TurboFrame uses parts of it that may change).- The
terminalextra:tui-test==0.1.1andpsutil>=7.
What is in it
Core (no UI library):
| Module | What it is |
|---|---|
turboframe.process |
child processes that end with the application; a command runner that streams output and never waits on a prompt; quiet_env |
turboframe.git |
git through its machine formats: status, log, details, blame, diffs, branches, remotes, staging, commit and amend, discard, switch, fetch, pull, push, merge, stashes |
turboframe.search |
find and replace in plain text |
turboframe.lsp |
Language Server Protocol positions, snippets and hovers |
turboframe.text |
the glyph policy: ASCII and CP437, and its check |
turboframe.i18n |
the framework's language, with a Spanish catalogue |
User interface:
| Module | What it is |
|---|---|
turboframe.ui.app |
DesktopApp, the base of an application: themes, shadows, menus, status line, numbered windows, modal dialogs, child processes ended on exit |
turboframe.ui.desktop |
the menu bar, the status line, the reserved command range |
turboframe.ui.windows |
windows, Turbo Vision scroll bars, lists, the locations window |
turboframe.ui.filter |
lists and trees filtered by typing |
turboframe.ui.dialogs |
message boxes, File Open, Find and Replace, Go to line, input dialogs |
turboframe.ui.history |
input lines that remember, with a pluggable store |
turboframe.ui.progress |
the progress box, with Esc to stop |
turboframe.ui.themes |
nine palettes, colour roles, colour depth |
turboframe.ui.colors |
Options > Colors |
turboframe.ui.shadow |
Turbo Vision's drop shadows |
turboframe.ui.icons |
file marks |
turboframe.ui.diffview |
the diff viewer, unified or side by side |
turboframe.ui.compat |
terminal compatibility (Alt keys) |
Testing:
| Module | What it is |
|---|---|
turboframe.testing |
wait_for, dialog_ready and the isolated_config fixture |
turboframe.testing.terminal |
a pytest plugin that drives an application in a real terminal and checks that no process is left behind |
Also: a five-step tutorial in examples/tutorial (each step tested), and the
wiki with a guide per component and an API reference generated
from the code.
Breaking changes
None: this is the first release. Before 1.0, a minor release may change the public API; every such change is
listed here with a migration note.
Verification
- 212 unit and component tests on Linux (Python 3.11 and 3.12) and Windows (Python 3.12).
- The real-terminal tests on Linux and Windows.
- The sdist and the wheel are built by the release workflow, the wheel is installed in a clean environment and
the test suite runs against it before the release is published.
Integrating in divide
- Dependency:
turboframe @ git+https://github.com/divengine/turboframe@v0.1.0;turboframe[terminal]for
acceptance tests. - Replaces: the process lifecycle, compat, filter, windows, menus and status line (already adopted), and the
themes, shadows, search, history, dialogs, progress, colours, icons, diff viewer, git service, LSP helpers,
glyph policy, the desktop base ofapp.py, the test helpers and the real-terminal support. - Changes needed: each module becomes a re-export plus what is divide's own; stores are set once
(set_store(config),DiffView.store = config,colors_store = config);turboframe_acceptance_prefix = "DIVIDE". - Kept differences: divide's server table, its hover extras, its own dialogs and marks,
raise_window. - Verify: the unit suite, the acceptance journeys and the real-terminal scenarios; a wheel in a clean
environment and the binary, which must collectturboframewith itslocale/data. - Rollback: pin the previous commit; nothing else changes.
Integrating in turbodoo
- Dependency:
turboframe @ git+https://github.com/divengine/turboframe@v0.1.0;turboframe[terminal]for
acceptance tests. - Replaces: as divide, without progress (turbodoo has none of its own).
- Changes needed: re-exports;
set_store(preferences),DiffView.store = preferences,colors_store = preferences;FileDialog.SELECT_NAME = True;turboframe_acceptance_prefix = "TURBODOO". - Kept differences:
windows(),active_window()andraise_window; its own dialogs and marks. - Verify: the unit suite, the acceptance journeys and RT-001/002/003; the wheel and the binary.
- Rollback: pin the previous commit; nothing else changes.