Skip to main content

Module tabs

Module tabs 

Source
Expand description

tabs SQLite table: named tab handles addressable as <browser>/<name> across the CLI. Backs the tab open / tab list subcommands and the cross-command <browser>/<name> positional routing.

Provenance distinguishes daemon-style (CLI-created) tabs that are eligible for sweep / LRU recycle from user-created tabs the CLI just adopted, which are never GC’d.

This module is pure SQL CRUD. Orchestration (talking to CDP to create/navigate/close real tabs, and the sweep-on-read of stale target_ids) lives in crate::session::tabs so the registry layer stays narrow and testable in isolation.

Structs§

TabRow
In-memory view of a tabs row.