Skip to content

Baram v0.7.7

Choose a tag to compare

@github-actions github-actions released this 01 Oct 13:52
cfe9f1a

Baram v0.7.7 is a small release. Plugins can now ask you to pick from a list or type a line of
text, but only while a command of theirs that you started is still running. A bar you turn back
on after a theme hid it now stays on when Baram restarts (choosing a perspective does not
count), and a theme package you installed from a file is marked as one. Baram also stops
offering withdrawn plugin and theme versions as updates, and stops listing versions that were
pulled from the registry.


New and improved

Plugins can ask you a question

A plugin can now open a box that looks like the command palette and asks you either to pick
from a list, filtered as you type, or to type one line of text. Its header starts with
“Plugin ·” and the plugin's name, so you can tell the plugin's question from Baram's own.

  • It opens only while one of that plugin's commands that you started — from the command
    palette or from the plugin's item in the status bar — is still running, and only until you
    type, click or drop something outside it.
  • Esc, a click outside the box, or opening the command palette or the Quick Switcher cancels
    it. After a cancel, the plugin cannot ask again until you run one of its commands again.

When this version was released (1 October 2026), none of the plugins in the marketplace
used this yet.

Bars you turn back on stay on

A theme can suggest hiding the activity bar, the status bar or the tab bar, as a theme package
exported with Also suggest hiding the bars I hid does. Until now, if you turned such a bar
back on, the theme hid it again the next time Baram started. Baram now remembers, for each
theme, the bars you turned back on, and that theme no longer hides them when Baram starts.

This applies whether you use the switches under Settings › Layout › Show or Hide (or the
same rows in the settings search), their keyboard shortcuts or Reveal hidden bars. Choosing
a perspective is not remembered this way. Choosing the theme's card in Settings › Appearance,
or installing the theme again, forgets what you turned back on. If that switches you to the
theme from another one, its suggestion applies at once to any bar you have not switched on or
off yourself since Baram started (a perspective does not count); otherwise it applies again
from the next start.

Themes installed from a file

A theme package (.zip) you installed with Import Theme... now carries a From file
badge on its card in Settings › Appearance, including one you installed with v0.7.6. Such a
theme does not receive updates from the theme registry. A colour settings file (.json)
imported the same way is still a custom theme and keeps its Custom badge.

Browse Themes now shows its themes as cards in two columns, like the gallery, and a card
draws the same kind of preview as the gallery when the theme registry's entry carries a palette
for it. If the registry lists a theme with the same id as one you installed from a file, its
card says “A theme with this id is installed from a file” and offers Replace, where it used
to offer Reinstall. Replace first asks whether to replace your copy with the registry's
version, which then gets updates from the registry, and only then shows the usual consent
dialog; Reinstall went straight to the consent dialog. When this version was released, the
theme registry listed no themes yet.

For plugin authors

context.prompts gives plugins of both tiers showQuickPick and showInputBox, with no
capability to declare. Baram draws the window and applies the rules above, plus a few more the
page lists (a sandboxed command, for one, must ask within 30 seconds of starting, or of its
previous prompt closing); a quick pick takes up to 5,000 items, and an input box takes up to
1,000 characters. The “Context: prompts” page of the plugin documentation has the details. Set
engines.baram to >=0.7.7 in a plugin that uses it.

Plugin authors can now submit a sandboxed plugin to the community list that Baram has read
since v0.7.6. The new “Publishing to the community registry” page of the plugin documentation
walks through it, starting from a template in the Baram repository. When this version was
released, no community plugin had been published yet.


Fixed

Withdrawn plugin and theme versions

  • A withdrawn version is no longer offered as an update. Before, when the version the
    registry lists for a plugin or theme you have installed had been withdrawn, for any reason,
    Baram still offered it with an update button naming that version, and pressing it was refused
    with “This version has been withdrawn and cannot be installed.” followed by the reason. That
    offer no longer appears, and a plugin update offered before Baram received the withdrawal
    list is removed once the list arrives.
  • A version its author pulled, or that was otherwise taken off the registry, is no longer
    listed
    in the Browse tab of the plugin marketplace or in Browse Themes. It used to
    be listed like any other version and was refused only when you pressed Install. A version
    withdrawn as harmful or for a security problem is still listed, and still cannot be
    installed.
  • Neither change touches a copy you have already installed.

Updating. Press Install & Restart in the update dialog and Baram installs in place
and restarts. Linux .deb and .rpm cannot be updated in place by the updater; those, and
any install that fails, open the releases page instead.