From 06e0d888d1849555b4a50b4ea579b7a492afe72e Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Mon, 30 Nov 2026 15:40:06 -0500 Subject: [PATCH 1/4] fix(window): open bar menus and their submenus under the bar, at most three quarters of the window tall MenuBar.open used openAt, which flips a menu that does not fit below its point above it and clamps it 4 px under the window's top, over the bar. openUnder keeps the top at the button's bottom plus 4, sets max-height from menuCap before measuring, and openBeside keeps submenus at or under that floor with the same cap. The rest scrolls. --- frontend/HASHOUT_LOG.md | 17 +++++++++++++++++ frontend/src/ui/menu-fit.ts | 4 ++++ frontend/src/ui/menubar.ts | 24 +++++++++++++++++++++--- 3 files changed, 42 insertions(+), 3 deletions(-) create mode 100644 frontend/src/ui/menu-fit.ts diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md index 580b553..163b503 100644 --- a/frontend/HASHOUT_LOG.md +++ b/frontend/HASHOUT_LOG.md @@ -33,6 +33,7 @@ frontend/ │ ├── menu.ts popover menus and submenus in the overlay root │ ├── commands.ts the window's command registry: ids, labels, keys, enabled and checked, key event to command │ ├── menubar.ts the in-window menu bar and its popup menus, keyboard and mnemonics + │ ├── menu-fit.ts where a menu may sit and how tall it may be: the cap under the bar (0.33.0) │ ├── app-menu.ts FormAT's commands and its six menus; the one keyboard handler │ ├── native-menu.ts the same menus in the macOS menu bar, through the shell's menu API │ ├── prefs-window.ts the settings window's shell: rail, stacked sections, the wire, drag, focus @@ -1013,6 +1014,22 @@ Not verified on a Mac: there is none here. `scratch/formAT/menubar/native_mock.p Mod+J opened the dock and moved focus into the shell, and then the same key could not hide it: xterm handles a key and stops it before the document's handler sees it. The dock now takes a predicate and passes it to xterm's custom key handler; for a matching event xterm does nothing and the event reaches the app. The predicate asks the registry whether the event is the terminal toggle, so a rebound key follows. Only that command is handed back: Ctrl+B, Ctrl+K and the rest are real shell keys and stay with the shell, as the manual says. Seen before and after with `scratch/formAT/bugpass/t4.py`. +### src/ui/menubar.ts, src/ui/menu-fit.ts · bar menus open under the bar and take a cap of three quarters +- refers-to: src/ui/menubar.ts :: PopupMenu.openUnder, PopupMenu.openBeside, PopupMenu.floor, MenuBar.open; src/ui/menu-fit.ts :: menuCap, MENU_PAD +- kind: fix +- logged: v0.33.0 · 2026-11-30 + +`MenuBar.open` placed its menus with `openAt`, the routine meant for menus opened at a point. A menu that did not fit under its button was flipped above the point and clamped into the window, so a menu longer than the room under the bar was drawn from 4 px under the window's top, over the bar (the stylesheet's `calc(100vh - var(--space-2))` is more than that room). Submenus had the same fault: `openBeside` clamped their top to 4 px from the window's top. Port of FormVis 2.8.3 (FORM-MENU-OVERLAP-FIX 1.2.0, section 3). `openUnder` takes the button's bottom plus 4 as the menu's top and its floor, sets the inline `max-height` from `menuCap(top)` (at most 75 % of the window and never past 4 px above its bottom) while the panel is still hidden, then measures and places it; nothing moves it up and what does not fit scrolls. `openBeside` reads the floor of the menu it hangs from (`root()`), takes the same cap before it measures and keeps its top at or under the floor. The bar closes its menu on `resize`, so the cap follows the window's height. The lines that went: + +```ts +// PopupMenu.openBeside + this.panel.scrollTop = 0; + const w = this.panel.offsetWidth, h = this.panel.offsetHeight, pad = 4; + const y = Math.max(pad, Math.min(row.top - pad, window.innerHeight - h - pad)); +// MenuBar.open + b.menu.openAt(r.left, r.bottom + 4); +``` + ## src/ui/prefs-window.ts and the settings window {#src-ui-prefs-window} ### src/ui/prefs-window.ts · settings are a window over the app diff --git a/frontend/src/ui/menu-fit.ts b/frontend/src/ui/menu-fit.ts new file mode 100644 index 0000000..df68d11 --- /dev/null +++ b/frontend/src/ui/menu-fit.ts @@ -0,0 +1,4 @@ +const MENU_SHARE = 0.75; +export const MENU_PAD = 4; + +export const menuCap = (top: number): number => Math.max(0, Math.min(Math.floor(window.innerHeight * MENU_SHARE), Math.floor(window.innerHeight - top - MENU_PAD))); diff --git a/frontend/src/ui/menubar.ts b/frontend/src/ui/menubar.ts index f31adeb..1373df2 100644 --- a/frontend/src/ui/menubar.ts +++ b/frontend/src/ui/menubar.ts @@ -1,6 +1,7 @@ import { el, q, setText } from './dom'; import { ui } from './icons-ft'; import type { Commands } from './commands'; +import { MENU_PAD, menuCap } from './menu-fit'; export type MenuItem = string | '-' | SubMenu; export interface SubMenu { label: string; items: MenuItem[] } @@ -20,6 +21,7 @@ export class PopupMenu { private key = ''; private openSub: PopupMenu | null = null; private subTop = 0; + private floor: number | null = null; onClose: (() => void) | null = null; constructor(private readonly commands: Commands, private readonly parent: PopupMenu | null = null) { @@ -119,15 +121,31 @@ export class PopupMenu { this.panel.style.visibility = ''; } + openUnder(x: number, y: number): void { + this.floor = y; + this.refresh(); + this.panel.style.visibility = 'hidden'; + this.panel.hidden = false; + this.panel.style.maxHeight = `${menuCap(y)}px`; + this.panel.scrollTop = 0; + const w = this.panel.offsetWidth; + const left = Math.max(MENU_PAD, Math.min(x, window.innerWidth - w - MENU_PAD)); + this.panel.style.left = `${Math.round(left)}px`; + this.panel.style.top = `${Math.round(y)}px`; + this.panel.style.visibility = ''; + } + private openBeside(row: DOMRect): void { this.refresh(); this.panel.style.visibility = 'hidden'; this.panel.hidden = false; + const floor = this.root().floor, pad = MENU_PAD; + this.panel.style.maxHeight = floor === null ? '' : `${menuCap(floor)}px`; this.panel.scrollTop = 0; - const w = this.panel.offsetWidth, h = this.panel.offsetHeight, pad = 4; + const w = this.panel.offsetWidth, h = this.panel.offsetHeight; const right = row.right - 2, left = row.left - w + 2; const x = right + w <= window.innerWidth - pad ? right : Math.max(pad, left); - const y = Math.max(pad, Math.min(row.top - pad, window.innerHeight - h - pad)); + const y = Math.max(floor ?? pad, Math.min(row.top - pad, window.innerHeight - h - pad)); this.panel.style.left = `${Math.round(x)}px`; this.panel.style.top = `${Math.round(y)}px`; this.panel.style.visibility = ''; @@ -288,7 +306,7 @@ export class MenuBar { this.openIndex = i; setClass(b.btn, 'is-open', true); const r = b.btn.getBoundingClientRect(); - b.menu.openAt(r.left, r.bottom + 4); + b.menu.openUnder(r.left, r.bottom + 4); if (keyboard) b.menu.items()[0]?.focus(); } From 14603363e2d2a57328b6165b54f20648b40f52ea Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Mon, 30 Nov 2026 15:41:19 -0500 Subject: [PATCH 2/4] feat(window): show a fade and a small pill at the bottom of a menu while rows remain below The menu card holds a scrolling list and the pill, so the mask fades the rows into the card's own glass. The hint is in place on the first painted frame, fades out at the last row in 160 ms and back in over 490 ms, never shows at the top, and does not animate with reduced motion. Bar menus, their submenus and the popover menus all get it. --- frontend/HASHOUT_LOG.md | 12 +++++++++++ frontend/src/styles/ft-overlays.css | 9 ++++++++ frontend/src/ui/menu-fit.ts | 11 ++++++++++ frontend/src/ui/menu.ts | 16 +++++++++------ frontend/src/ui/menubar.ts | 32 ++++++++++++++++++----------- 5 files changed, 62 insertions(+), 18 deletions(-) diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md index 163b503..1048973 100644 --- a/frontend/HASHOUT_LOG.md +++ b/frontend/HASHOUT_LOG.md @@ -1030,6 +1030,18 @@ Mod+J opened the dock and moved focus into the shell, and then the same key coul b.menu.openAt(r.left, r.bottom + 4); ``` +### src/ui/menubar.ts, src/ui/menu.ts, src/ui/menu-fit.ts, src/styles/ft-overlays.css · the more-below hint +- refers-to: src/ui/menu-fit.ts :: MENU_BODY, showMore; src/ui/menubar.ts :: PopupMenu.list, the constructor's scroll listener, setItems, items, showSub, openAt, openUnder, openBeside, PopupMenu.showMore; src/ui/menu.ts :: openMenu (list, its scroll listener, showMore after place); src/styles/ft-overlays.css :: @property --ft-menu-more, .ft-menu:not([hidden]), .ft-menu-list, .ft-menu-more, .has-more, .no-fade +- kind: feature +- logged: v0.33.0 · 2026-11-30 + +A menu cut off by its cap now says that rows remain below: the bottom rows fade into the menu's own glass and a 56 by 12 px pill with a thin down chevron sits 6 px above the bottom edge. Port of FormVis 2.8.4 (FORM-MENU-OVERLAP-FIX 1.2.0, section 3a, the owner's chosen mockup). The menus are see-through glass, so a gradient painted over the rows would show as a band, and a mask on the scrolling card would fade its border and shadow too. So the card (`.ft-menu`) no longer scrolls: it holds `.ft-menu-list`, which scrolls and carries the mask, and the pill (`.ft-menu-more`, `pointer-events: none`). `max-height` stays on the card; rows, `items()`, `subTop` and every `scrollTop = 0` now use the list. Nothing outside the two menu files read a menu's children or `scrollTop`. `showMore` sets `has-more` while more than 1 px remains below; on opening it runs with `no-fade` and a forced style read, so the hint is there in the first painted frame and never fades in; on the list's `scroll` it runs plain, so the hint fades out in 160 ms at the last row and back in over 490 ms (the transition of the state being entered). `scroll-padding-block-end` keeps a focused row out of the fade while the hint shows. With reduced motion there is no fade. `--ft-menu-more` is a registered `@property` so the mask can animate; an engine without it switches the fade without animating. Popovers from `openMenu` get the same list, pill and calls; their cap stays the stylesheet's `min(70vh, 520px)`. The panel markup that went: + +```ts + this.panel = el(''); + this.panel.addEventListener('scroll', () => { if (this.panel.scrollTop !== this.subTop) this.closeSub(); }, { passive: true }); +``` + ## src/ui/prefs-window.ts and the settings window {#src-ui-prefs-window} ### src/ui/prefs-window.ts · settings are a window over the app diff --git a/frontend/src/styles/ft-overlays.css b/frontend/src/styles/ft-overlays.css index db3db15..1068cea 100644 --- a/frontend/src/styles/ft-overlays.css +++ b/frontend/src/styles/ft-overlays.css @@ -14,6 +14,15 @@ backdrop-filter: var(--glass-filter); font-family: var(--font-ui); } +@property --ft-menu-more { syntax: ''; inherits: false; initial-value: 0; } +.ft-menu:not([hidden]) { display: flex; flex-direction: column; overflow: hidden; } +.ft-menu-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; --ft-menu-more: 0; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - min(88px, 40%)), rgb(0 0 0 / calc(1 - var(--ft-menu-more))) calc(100% - min(22px, 10%))); mask-image: linear-gradient(to bottom, #000 calc(100% - min(88px, 40%)), rgb(0 0 0 / calc(1 - var(--ft-menu-more))) calc(100% - min(22px, 10%))); transition: --ft-menu-more 160ms ease-out; } +.ft-menu-more { position: absolute; left: 50%; bottom: 6px; width: 56px; height: 12px; margin-left: -28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--glass-border); border-radius: 999px; background: var(--glass-bg); color: var(--text-secondary); pointer-events: none; opacity: 0; transition: opacity 160ms ease-out; } +.ft-menu-more svg { width: 12px; height: 8px; } +.ft-menu.has-more > .ft-menu-list { --ft-menu-more: 1; scroll-padding-block-end: min(88px, 40%); transition-duration: 490ms; } +.ft-menu.has-more > .ft-menu-more { opacity: 1; transition-duration: 490ms; } +.ft-menu.no-fade > .ft-menu-list, .ft-menu.no-fade > .ft-menu-more { transition: none; } +@media (prefers-reduced-motion: reduce) { .ft-menu-list, .ft-menu-more { transition: none; } } .ft-menu-item { display: flex; diff --git a/frontend/src/ui/menu-fit.ts b/frontend/src/ui/menu-fit.ts index df68d11..15807f8 100644 --- a/frontend/src/ui/menu-fit.ts +++ b/frontend/src/ui/menu-fit.ts @@ -2,3 +2,14 @@ const MENU_SHARE = 0.75; export const MENU_PAD = 4; export const menuCap = (top: number): number => Math.max(0, Math.min(Math.floor(window.innerHeight * MENU_SHARE), Math.floor(window.innerHeight - top - MENU_PAD))); + +export const MENU_BODY = '
'; + +const setClass = (node: HTMLElement, name: string, on: boolean): void => { if (node.classList.contains(name) !== on) node.classList.toggle(name, on); }; + +export function showMore(card: HTMLElement, list: HTMLElement, instant = false): void { + const more = !card.hidden && list.scrollHeight - list.clientHeight - list.scrollTop > 1; + if (instant) setClass(card, 'no-fade', true); + setClass(card, 'has-more', more); + if (instant) { void getComputedStyle(card.lastElementChild ?? card).opacity; setClass(card, 'no-fade', false); } +} diff --git a/frontend/src/ui/menu.ts b/frontend/src/ui/menu.ts index ba9dd41..1f4062b 100644 --- a/frontend/src/ui/menu.ts +++ b/frontend/src/ui/menu.ts @@ -1,5 +1,6 @@ -import { el, esc } from './dom'; +import { el, esc, q } from './dom'; import { ui, type UiIcon } from './icons-ft'; +import { MENU_BODY, showMore } from './menu-fit'; export interface MenuItem { label?: string; @@ -73,15 +74,17 @@ export function openMenu(anchor: HTMLElement, items: MenuItem[], placement: Plac outsideBound = true; } closeMenus(depth); - const menu = el(``); - if (title) menu.appendChild(el(`
${esc(title)}
`)); + const menu = el(``); + const list = q(menu, '.ft-menu-list'); + list.addEventListener('scroll', () => showMore(menu, list), { passive: true }); + if (title) list.appendChild(el(`
${esc(title)}
`)); items.forEach((item) => { if (item.divider) { - menu.appendChild(el('')); + list.appendChild(el('')); return; } if (item.note) { - menu.appendChild(el(`
${esc(item.note)}
`)); + list.appendChild(el(`
${esc(item.note)}
`)); return; } const row = el(``); setText(q(node, '.ft-menu-label'), item.label); @@ -55,7 +57,7 @@ export class PopupMenu { node.addEventListener('pointerenter', () => this.showSub(menu, node)); node.addEventListener('click', () => this.showSub(menu, node)); this.subs.push({ sub: item, node, menu }); - this.panel.appendChild(node); + this.list.appendChild(node); continue; } const cmd = this.commands.get(item); @@ -65,13 +67,13 @@ export class PopupMenu { node.addEventListener('pointerenter', () => this.closeSub()); node.addEventListener('click', () => { this.root().close(); this.commands.run(item); }); this.rows.push({ id: item, node }); - this.panel.appendChild(node); + this.list.appendChild(node); } } private root(): PopupMenu { let m: PopupMenu = this; while (m.parent) m = m.parent; return m; } - items(): HTMLButtonElement[] { return Array.from(this.panel.children).filter((n): n is HTMLButtonElement => n instanceof HTMLButtonElement && !n.disabled); } + items(): HTMLButtonElement[] { return Array.from(this.list.children).filter((n): n is HTMLButtonElement => n instanceof HTMLButtonElement && !n.disabled); } deepest(): PopupMenu { let m: PopupMenu = this; while (m.openSub?.isOpen) m = m.openSub; return m; } @@ -95,7 +97,7 @@ export class PopupMenu { if (this.openSub === menu && menu.isOpen) return; this.closeSub(); this.openSub = menu; - this.subTop = this.panel.scrollTop; + this.subTop = this.list.scrollTop; setClass(row, 'is-open', true); menu.onClose = () => setClass(row, 'is-open', false); menu.openBeside(row.getBoundingClientRect()); @@ -111,7 +113,7 @@ export class PopupMenu { this.refresh(); this.panel.style.visibility = 'hidden'; this.panel.hidden = false; - this.panel.scrollTop = 0; + this.list.scrollTop = 0; const { width: w, height: h } = this.panel.getBoundingClientRect(); const fitsRight = x + w <= window.innerWidth - 4, fitsBelow = y + h <= window.innerHeight - 4; const left = Math.max(4, Math.min(fitsRight ? x : x - w, window.innerWidth - w - 4)); @@ -127,11 +129,12 @@ export class PopupMenu { this.panel.style.visibility = 'hidden'; this.panel.hidden = false; this.panel.style.maxHeight = `${menuCap(y)}px`; - this.panel.scrollTop = 0; + this.list.scrollTop = 0; const w = this.panel.offsetWidth; const left = Math.max(MENU_PAD, Math.min(x, window.innerWidth - w - MENU_PAD)); this.panel.style.left = `${Math.round(left)}px`; this.panel.style.top = `${Math.round(y)}px`; + this.showMore(true); this.panel.style.visibility = ''; } @@ -141,16 +144,21 @@ export class PopupMenu { this.panel.hidden = false; const floor = this.root().floor, pad = MENU_PAD; this.panel.style.maxHeight = floor === null ? '' : `${menuCap(floor)}px`; - this.panel.scrollTop = 0; + this.list.scrollTop = 0; const w = this.panel.offsetWidth, h = this.panel.offsetHeight; const right = row.right - 2, left = row.left - w + 2; const x = right + w <= window.innerWidth - pad ? right : Math.max(pad, left); const y = Math.max(floor ?? pad, Math.min(row.top - pad, window.innerHeight - h - pad)); this.panel.style.left = `${Math.round(x)}px`; this.panel.style.top = `${Math.round(y)}px`; + this.showMore(true); this.panel.style.visibility = ''; } + private showMore(instant = false): void { + if (this.root().floor !== null) showMore(this.panel, this.list, instant); + } + private refresh(): void { for (const r of this.rows) { const cmd = this.commands.get(r.id); From 8f74dd4308618732e947266b863d60aaa43a061b Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Mon, 30 Nov 2026 15:56:55 -0500 Subject: [PATCH 3/4] fix(window): keep menus opened at a point under the bar, with the same cap and hint The popover menus of openMenu (title, sidebar, composer, Customize, artifacts) and their submenus clamped their top to 8 px under the window's top, so a long one could cover the menu bar. place now keeps the top at or under the bar's bottom edge plus 4 (the window's top when the bar is hidden), caps the height at menuCap of that floor before measuring, and keeps the anchor placement. Popovers close on resize. PopupMenu.openAt gets the same floor, cap and hint and keeps its pointer-corner flip. --- frontend/HASHOUT_LOG.md | 19 +++++++++++++++++++ frontend/src/styles/ft-overlays.css | 2 +- frontend/src/ui/menu-fit.ts | 2 ++ frontend/src/ui/menu.ts | 7 +++++-- frontend/src/ui/menubar.ts | 7 +++++-- 5 files changed, 32 insertions(+), 5 deletions(-) diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md index 1048973..7d71bf6 100644 --- a/frontend/HASHOUT_LOG.md +++ b/frontend/HASHOUT_LOG.md @@ -1042,6 +1042,25 @@ A menu cut off by its cap now says that rows remain below: the bottom rows fade this.panel.addEventListener('scroll', () => { if (this.panel.scrollTop !== this.subTop) this.closeSub(); }, { passive: true }); ``` +### src/ui/menu.ts, src/ui/menubar.ts, src/ui/menu-fit.ts, src/styles/ft-overlays.css · menus opened at a point keep under the bar +- refers-to: src/ui/menu.ts :: place, openMenu (the resize listener); src/ui/menubar.ts :: PopupMenu.openAt; src/ui/menu-fit.ts :: barFloor; src/styles/ft-overlays.css :: .ft-menu max-height, --ft-menu-cap +- kind: fix +- logged: v0.33.0 · 2026-11-30 + +FORM-MENU-OVERLAP-FIX 1.2.0, section 3b. FormAT has no right-click menu (the only `contextmenu` listener stops the browser's own menu on the bar's panels). Its menus opened at a point are the popovers of `openMenu`: the title's chat menu, the sidebar's row and account menus, the composer's plus, model and mode menus, Customize's Add and "..." menus, the artifact panel's Export and Share, the Artifacts page's row menu, and their submenus (placement `right`). `place` clamped their top to 8 px under the window's top, so an `up` menu with no room above its button, a `down` menu pushed up from the bottom, or a submenu clamped into the window could cover the menu bar. Now `place` takes a floor, `barFloor()` (the bottom of `.ft-menubar` plus 4, or the window's top when the bar has no height, as with the macOS system menu; at least the old 8), sets `--ft-menu-cap` to `menuCap(floor)` before it measures, and keeps the top at or under the floor. The anchor placement (under, above or beside the button, and the flip to the left) is unchanged. The stylesheet's cap becomes `min(70vh, 520px, var(--ft-menu-cap, 100vh))`, so a popover is never taller than before and never runs past the window or over the bar. `openMenu` now closes its menus on `resize`, so the cap follows the window's height. `PopupMenu.openAt` (no caller in the window since the bar uses `openUnder`, kept for menus at a point) gets the same floor, the cap set before measuring and the hint; it keeps its pointer-corner flip. The lines that went: + +```ts +// menu.ts place + y = Math.max(8, Math.min(y, vh - h - 8)); +// menubar.ts PopupMenu.openAt + const top = Math.max(4, Math.min(fitsBelow ? y : y - h, window.innerHeight - h - 4)); +``` + +```css +/* ft-overlays.css .ft-menu */ + max-height: min(70vh, 520px); +``` + ## src/ui/prefs-window.ts and the settings window {#src-ui-prefs-window} ### src/ui/prefs-window.ts · settings are a window over the app diff --git a/frontend/src/styles/ft-overlays.css b/frontend/src/styles/ft-overlays.css index 1068cea..4796aac 100644 --- a/frontend/src/styles/ft-overlays.css +++ b/frontend/src/styles/ft-overlays.css @@ -3,7 +3,7 @@ z-index: var(--z-menu); min-width: 220px; max-width: 340px; - max-height: min(70vh, 520px); + max-height: min(70vh, 520px, var(--ft-menu-cap, 100vh)); overflow-y: auto; padding: var(--space-1); border: 1px solid var(--glass-border); diff --git a/frontend/src/ui/menu-fit.ts b/frontend/src/ui/menu-fit.ts index 15807f8..31e1f46 100644 --- a/frontend/src/ui/menu-fit.ts +++ b/frontend/src/ui/menu-fit.ts @@ -3,6 +3,8 @@ export const MENU_PAD = 4; export const menuCap = (top: number): number => Math.max(0, Math.min(Math.floor(window.innerHeight * MENU_SHARE), Math.floor(window.innerHeight - top - MENU_PAD))); +export const barFloor = (): number => { const r = document.querySelector('.ft-menubar')?.getBoundingClientRect(); return r && r.height > 0 ? r.bottom + MENU_PAD : MENU_PAD; }; + export const MENU_BODY = '
'; const setClass = (node: HTMLElement, name: string, on: boolean): void => { if (node.classList.contains(name) !== on) node.classList.toggle(name, on); }; diff --git a/frontend/src/ui/menu.ts b/frontend/src/ui/menu.ts index 1f4062b..b6b3c00 100644 --- a/frontend/src/ui/menu.ts +++ b/frontend/src/ui/menu.ts @@ -1,6 +1,6 @@ import { el, esc, q } from './dom'; import { ui, type UiIcon } from './icons-ft'; -import { MENU_BODY, showMore } from './menu-fit'; +import { MENU_BODY, barFloor, menuCap, showMore } from './menu-fit'; export interface MenuItem { label?: string; @@ -49,6 +49,8 @@ function onKey(e: KeyboardEvent): void { function place(menu: HTMLElement, anchor: DOMRect, placement: Placement): void { const gap = 6; + const floor = Math.max(8, barFloor()); + menu.style.setProperty('--ft-menu-cap', `${menuCap(floor)}px`); const w = menu.offsetWidth; const h = menu.offsetHeight; const vw = window.innerWidth; @@ -62,7 +64,7 @@ function place(menu: HTMLElement, anchor: DOMRect, placement: Placement): void { if (x + w > vw - 8) x = anchor.left - w - 2; } x = Math.max(8, Math.min(x, vw - w - 8)); - y = Math.max(8, Math.min(y, vh - h - 8)); + y = Math.max(floor, Math.min(y, vh - h - 8)); menu.style.left = `${Math.round(x)}px`; menu.style.top = `${Math.round(y)}px`; } @@ -71,6 +73,7 @@ export function openMenu(anchor: HTMLElement, items: MenuItem[], placement: Plac if (!outsideBound) { document.addEventListener('pointerdown', onOutside, true); document.addEventListener('keydown', onKey, true); + window.addEventListener('resize', () => closeMenus()); outsideBound = true; } closeMenus(depth); diff --git a/frontend/src/ui/menubar.ts b/frontend/src/ui/menubar.ts index b2fb3e5..ddfde30 100644 --- a/frontend/src/ui/menubar.ts +++ b/frontend/src/ui/menubar.ts @@ -1,7 +1,7 @@ import { el, q, setText } from './dom'; import { ui } from './icons-ft'; import type { Commands } from './commands'; -import { MENU_BODY, MENU_PAD, menuCap, showMore } from './menu-fit'; +import { MENU_BODY, MENU_PAD, barFloor, menuCap, showMore } from './menu-fit'; export type MenuItem = string | '-' | SubMenu; export interface SubMenu { label: string; items: MenuItem[] } @@ -110,16 +110,19 @@ export class PopupMenu { } openAt(x: number, y: number): void { + this.floor = barFloor(); this.refresh(); this.panel.style.visibility = 'hidden'; this.panel.hidden = false; + this.panel.style.maxHeight = `${menuCap(this.floor)}px`; this.list.scrollTop = 0; const { width: w, height: h } = this.panel.getBoundingClientRect(); const fitsRight = x + w <= window.innerWidth - 4, fitsBelow = y + h <= window.innerHeight - 4; const left = Math.max(4, Math.min(fitsRight ? x : x - w, window.innerWidth - w - 4)); - const top = Math.max(4, Math.min(fitsBelow ? y : y - h, window.innerHeight - h - 4)); + const top = Math.max(this.floor, Math.min(fitsBelow ? y : y - h, window.innerHeight - h - 4)); this.panel.style.left = `${Math.round(left)}px`; this.panel.style.top = `${Math.round(top)}px`; + this.showMore(true); this.panel.style.visibility = ''; } From b2b3dba987e0030f58364236bdcf4db129468931 Mon Sep 17 00:00:00 2001 From: nodemode-ai Date: Mon, 30 Nov 2026 15:57:58 -0500 Subject: [PATCH 4/4] chore(release): 0.33.0, menus keep under the bar with a cap and a more-below hint Version 0.33.0 in the engine, the window, package.json and its lockfile, the desktop shell's Cargo.toml, Cargo.lock and tauri.conf.json, and the README badge. CHANGELOG section, the manual's Menus line and both HASHOUT logs' version lines. The release also carries the hardening after 0.32.0 that was on main unreleased. --- CHANGELOG.md | 13 +++++++++++++ README.md | 2 +- backend/HASHOUT_LOG.md | 4 ++-- backend/app/__init__.py | 2 +- docs/getting-started.md | 2 +- frontend/HASHOUT_LOG.md | 4 ++-- frontend/package-lock.json | 4 ++-- frontend/package.json | 2 +- frontend/src/version.ts | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 12 files changed, 27 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f1b23a..77b02a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.33.0 · 2026-11-30 + +- Menus from the menu bar (File, Edit, View, Go, Window, Help) always open just under the bar and are at most three quarters of the window tall; the rest scrolls. Before, a menu longer than the room under the bar was drawn from the top of the window, over the bar. Their submenus keep under the bar too. +- A menu that is cut off now shows a fade and a small pill at its bottom while more rows are below. Both fade away at the last row and come back when you scroll up. A menu that fits shows nothing, and with reduced motion turned on the hint shows and hides without fading. +- The other menus (the chat title's menu, the sidebar's menus, the composer's plus, model and mode menus, Customize's menus and the artifact menus) keep opening at their button, but never cover the menu bar, never run past the bottom of the window, and show the same hint when they are cut off. They now close when the window is resized. +- Other devices: other phones and computers are served over https only, each paired device has its own token that you can take back with Unpair in Settings, Settings shows the certificate fingerprint to compare, FormAT asks you in the window before a device is paired, and pairing codes run out after five minutes. +- Claude Code starts in its own sandbox, and its file tools stay out of your home folder, FormAT's data folder and its key file. +- A skill with a name that is already in use is never replaced without asking: you choose Overwrite, Keep both or Cancel. +- Settings, About shows the full third-party licence texts. +- Safer tools: a stopped or timed-out command ends with everything it started, the built-in browser cannot reach FormAT's own engine and window, plugins from git sources are cloned only as repositories, and a connector stays signed in when a token refresh cannot reach its server. +- Not checked for this version: the menus were measured in a scratch page built from the window's own menu code, not in the full window with the engine; nothing was run on macOS or Windows, and the desktop app was not built. +- Engine: four new commands, `devices.list`, `devices.answer`, `devices.revoke` and `skill.clash` (118 now). + ## 0.32.0 · 2026-11-20 - The page shown in the Browser pane is now sent only to the FormAT window. Other programs on your computer that ask for it are refused, as they already were for every change. Nothing changes in how you use the pane. diff --git a/README.md b/README.md index 6793391..f98d668 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@

- version 0.32.0 + version 0.33.0 TypeScript and Vite Python and FastAPI macOS, Windows and Linux diff --git a/backend/HASHOUT_LOG.md b/backend/HASHOUT_LOG.md index 3dce02f..1f2c23f 100644 --- a/backend/HASHOUT_LOG.md +++ b/backend/HASHOUT_LOG.md @@ -2,8 +2,8 @@ Living log of all comment content, explainers, rationale, TODOs and removed code for the engine. Source files stay comment-free; everything they would have said lives here, indexed. Read this first, then edit code surgically. -Current build version: v0.32.0 -Last updated: 2026-11-20 · v0.32.0: the built-in browser's frame is read only by the window (app/core/window_key.py :: PRIVATE_READS, needs_key), and every read route is classified in tests/test_window_key.py; 2026-11-20 · v0.31.0: no engine change (the window's token names and the README's status; see the window log's entry for 0.31.0); 2026-11-20 · v0.30.1: the macOS engine list installs keyring (backend/requirements_macos.txt), and tests/test_requirements_lists.py keeps it beside requirements.txt and the freeze scripts; 2026-11-20 · v0.30.0: on Windows the engine ends with its app (src-tauri/src/win_job.rs, a job object that takes the engine by its process id) and is built with no console window unless FORMAT_ENGINE_WINDOWED is 0 (setup/freeze_backend.bat, setup/freeze_backend), the shell waits at most 90 seconds for the engine's address (src-tauri/src/engine_start.rs), an ended engine not yet collected counts as gone where there is no /proc (app/core/startup.py :: finished), and the connect command names the four agent programs in order (setup/agents.py); 2026-11-19 · v0.29.0: the engine starts and stops cleanly beside its app (app/core/startup.py copied from FormTools with its names changed, the record in engine.lock and the replacing of a holder whose shell is gone in app/core/instance.py, the engine's own log, the started-alone branch and the watch on the shell in format_engine.py), and in the shell a failed start shows its dialog before the loading window is hidden, also when the main window cannot be built (src-tauri/src/main.rs); 2026-11-19 · v0.28.0: the family's finder for the agent programs (app/engine/agent_lookup.py, copied unchanged, its hash recorded in setup/agents.py), claudecode.status reporting Claude Code, Codex, Cursor and Antigravity, `./format agents install` covering Antigravity, a test run that finds only stand-in agent programs, and an entry script that starts without output streams; 2026-11-19 · v0.27.0: only the FormAT window changes things without asking (a key made at each launch in app/core/window_key.py, every call without it following the Outside agents choice, the choice sealed in app/core/seal.py and read as Ask when its seal is missing or does not match, one-time tickets for the events and terminal sockets, resources/list raising a refusal as an error), the shell's wait for the engine corrected (no limit on the start, 10 seconds for the key once the address is known), the bash tool's shell and terminal tabs no longer given the engine's secrets, `./format agents sync --check` and agents/manifest.json; 2026-11-15 · v0.26.3: the review's open list fixed (the engine's unpack folder removed at quit and swept at start, one engine per data folder in app/core/instance.py and one shell per user, a dialog when the engine cannot be spawned, Other devices no longer silencing the engine log while pairing codes and share tokens are blanked from every access line, chat.start and compaction clearing their running mark on every failure, `app.info` naming the keys file and the .env file, Download all named for the chat, demos listed from each folder's about.json and refreshed in place when untouched, the Orrery's Credits panel and FIGURES.md with its source in tools/demos/orrery, format.bat's missing commands, freeze_backend.bat's missing space); v0.26.2: no engine change (the desktop updater's endpoint in src-tauri/tauri.conf.json is nodemode-dev/formcompiler); v0.26.1: no engine change (the Orrery's attached CREDITS.md and its chat.json entry now carry each map's own credit line, source page and terms, as NOTICE.md does; CODE_OF_CONDUCT.md, CONTRIBUTING.md and SECURITY.md; formcompiler's address in current docs and skills is nodemode-dev/formcompiler, and the README clones formAT); v0.26.0: demo chats seeded as ordinary records from app/demos (`demo.list`, `demo.restore`, the `demo` column, three demos including the Orrery with NASA maps), the splash hand-off in the shell (src-tauri/src/reveal.rs, the `app_ready` command and its generated permission, the remote capability), and the review's fixes (the events socket that hung shutdown, Other devices through the local guard, chat delete cleaning up, /favicon.ico, the name FormAT where people see it, the engine-failure dialog, build_app's names, the Windows freeze line); v0.25.3 and v0.25.4: no engine change (the icon, the product name FormAT in tauri.conf.json, the README); 2026-10-31 · v0.25.2: .js, .mjs and .css keep their types on Windows (app/main.py) and the Linux packages pull in the media plugins (src-tauri/tauri.conf.json); 2026-10-30 · v0.25.1: no engine change (`format.bat desktop build` passes its arguments to `tauri build`, and the Windows LGPL FFmpeg build runs in its own MSYS2 script with MSVC's linker first); v0.24.3: the desktop freeze takes reportlab's modules only, and voice ships PyAV 18.1.0 built from source against an LGPL FFmpeg 8.0.3 (`setup/build_lgpl_av`, checked by `setup/check_lgpl_av.py`; the PyPI wheel links GPL x264 and x265, and `av` 19 had also dropped the `metadata_errors` argument faster-whisper 1.2.1 passes, so voice was broken on an unpinned install); v0.24.1: no engine change (checks only, releases by formcompiler, version string); v0.24.0: no engine change (the app icon only); v0.23.0: GET /api/uploads/{id} serves an attachment back to the window (ranges, immutable cache, sandboxing CSP); v0.22.0: message.citation sent as each citation streams; v0.21.0: archive, npm and command plugin sources, private marketplaces, .plugin uploads, skills Discover and Skill with Claude, the connector directory, connectors on the Claude Code route; v0.20.0: plugin.create and plugin.files, Create with Claude (output plugin and the add_plugin tool), /plugin:skill invocation; v0.19.0: plugin marketplaces (add, Check for updates, Sync automatically, remove), plugin.install from a marketplace, a plugin's connectors added on request; v0.18.0: signing in to a connector (OAuth with PKCE, registration or your own client, refresh, SSE transport) and connectors on or off per chat; v0.16.0: connector tool permissions (Always allow, Needs approval, Blocked) and request headers; v0.15.0: skill.read for the Customize file viewer; v0.14.0: Allow for this chat (conversations.allow_all, conversation.allowAll) on both routes; v0.13.0: skills invoked by name, Allow all answers what is waiting +Current build version: v0.33.0 +Last updated: 2026-11-30 · v0.33.0: the hardening after 0.32.0 and the unreleased entries below it ship (git sources, the deny list, pairing over TLS with a token per device, Claude Code's sandbox, the built-in browser, tool processes, connector refresh, skill replace, the third-party licence texts); the menu fix is window-only (see the window log's entries for 0.33.0); 2026-11-20 · v0.32.0: the built-in browser's frame is read only by the window (app/core/window_key.py :: PRIVATE_READS, needs_key), and every read route is classified in tests/test_window_key.py; 2026-11-20 · v0.31.0: no engine change (the window's token names and the README's status; see the window log's entry for 0.31.0); 2026-11-20 · v0.30.1: the macOS engine list installs keyring (backend/requirements_macos.txt), and tests/test_requirements_lists.py keeps it beside requirements.txt and the freeze scripts; 2026-11-20 · v0.30.0: on Windows the engine ends with its app (src-tauri/src/win_job.rs, a job object that takes the engine by its process id) and is built with no console window unless FORMAT_ENGINE_WINDOWED is 0 (setup/freeze_backend.bat, setup/freeze_backend), the shell waits at most 90 seconds for the engine's address (src-tauri/src/engine_start.rs), an ended engine not yet collected counts as gone where there is no /proc (app/core/startup.py :: finished), and the connect command names the four agent programs in order (setup/agents.py); 2026-11-19 · v0.29.0: the engine starts and stops cleanly beside its app (app/core/startup.py copied from FormTools with its names changed, the record in engine.lock and the replacing of a holder whose shell is gone in app/core/instance.py, the engine's own log, the started-alone branch and the watch on the shell in format_engine.py), and in the shell a failed start shows its dialog before the loading window is hidden, also when the main window cannot be built (src-tauri/src/main.rs); 2026-11-19 · v0.28.0: the family's finder for the agent programs (app/engine/agent_lookup.py, copied unchanged, its hash recorded in setup/agents.py), claudecode.status reporting Claude Code, Codex, Cursor and Antigravity, `./format agents install` covering Antigravity, a test run that finds only stand-in agent programs, and an entry script that starts without output streams; 2026-11-19 · v0.27.0: only the FormAT window changes things without asking (a key made at each launch in app/core/window_key.py, every call without it following the Outside agents choice, the choice sealed in app/core/seal.py and read as Ask when its seal is missing or does not match, one-time tickets for the events and terminal sockets, resources/list raising a refusal as an error), the shell's wait for the engine corrected (no limit on the start, 10 seconds for the key once the address is known), the bash tool's shell and terminal tabs no longer given the engine's secrets, `./format agents sync --check` and agents/manifest.json; 2026-11-15 · v0.26.3: the review's open list fixed (the engine's unpack folder removed at quit and swept at start, one engine per data folder in app/core/instance.py and one shell per user, a dialog when the engine cannot be spawned, Other devices no longer silencing the engine log while pairing codes and share tokens are blanked from every access line, chat.start and compaction clearing their running mark on every failure, `app.info` naming the keys file and the .env file, Download all named for the chat, demos listed from each folder's about.json and refreshed in place when untouched, the Orrery's Credits panel and FIGURES.md with its source in tools/demos/orrery, format.bat's missing commands, freeze_backend.bat's missing space); v0.26.2: no engine change (the desktop updater's endpoint in src-tauri/tauri.conf.json is nodemode-dev/formcompiler); v0.26.1: no engine change (the Orrery's attached CREDITS.md and its chat.json entry now carry each map's own credit line, source page and terms, as NOTICE.md does; CODE_OF_CONDUCT.md, CONTRIBUTING.md and SECURITY.md; formcompiler's address in current docs and skills is nodemode-dev/formcompiler, and the README clones formAT); v0.26.0: demo chats seeded as ordinary records from app/demos (`demo.list`, `demo.restore`, the `demo` column, three demos including the Orrery with NASA maps), the splash hand-off in the shell (src-tauri/src/reveal.rs, the `app_ready` command and its generated permission, the remote capability), and the review's fixes (the events socket that hung shutdown, Other devices through the local guard, chat delete cleaning up, /favicon.ico, the name FormAT where people see it, the engine-failure dialog, build_app's names, the Windows freeze line); v0.25.3 and v0.25.4: no engine change (the icon, the product name FormAT in tauri.conf.json, the README); 2026-10-31 · v0.25.2: .js, .mjs and .css keep their types on Windows (app/main.py) and the Linux packages pull in the media plugins (src-tauri/tauri.conf.json); 2026-10-30 · v0.25.1: no engine change (`format.bat desktop build` passes its arguments to `tauri build`, and the Windows LGPL FFmpeg build runs in its own MSYS2 script with MSVC's linker first); v0.24.3: the desktop freeze takes reportlab's modules only, and voice ships PyAV 18.1.0 built from source against an LGPL FFmpeg 8.0.3 (`setup/build_lgpl_av`, checked by `setup/check_lgpl_av.py`; the PyPI wheel links GPL x264 and x265, and `av` 19 had also dropped the `metadata_errors` argument faster-whisper 1.2.1 passes, so voice was broken on an unpinned install); v0.24.1: no engine change (checks only, releases by formcompiler, version string); v0.24.0: no engine change (the app icon only); v0.23.0: GET /api/uploads/{id} serves an attachment back to the window (ranges, immutable cache, sandboxing CSP); v0.22.0: message.citation sent as each citation streams; v0.21.0: archive, npm and command plugin sources, private marketplaces, .plugin uploads, skills Discover and Skill with Claude, the connector directory, connectors on the Claude Code route; v0.20.0: plugin.create and plugin.files, Create with Claude (output plugin and the add_plugin tool), /plugin:skill invocation; v0.19.0: plugin marketplaces (add, Check for updates, Sync automatically, remove), plugin.install from a marketplace, a plugin's connectors added on request; v0.18.0: signing in to a connector (OAuth with PKCE, registration or your own client, refresh, SSE transport) and connectors on or off per chat; v0.16.0: connector tool permissions (Always allow, Needs approval, Blocked) and request headers; v0.15.0: skill.read for the Customize file viewer; v0.14.0: Allow for this chat (conversations.allow_all, conversation.allowAll) on both routes; v0.13.0: skills invoked by name, Allow all answers what is waiting --- diff --git a/backend/app/__init__.py b/backend/app/__init__.py index 13844a7..571d8cc 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -1 +1 @@ -__version__ = "0.32.0" +__version__ = "0.33.0" diff --git a/docs/getting-started.md b/docs/getting-started.md index b39a6d7..5fb0c50 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -49,7 +49,7 @@ Open Settings, API keys and paste the key. It is stored in FormAT's data folder, - **Sidebar** (Mod+B folds it to a narrow rail): New chat, Projects, Artifacts, Scheduled, Customize, More (Terminal, Settings), then your chats grouped by day with pinned chats first. A dot on a chat means Claude is working there, or waiting for you. - **Conversation** in the middle, with the composer under it. -- **Menus**: File, Edit, View, Go, Window and Help, in the top bar on Windows, Linux and in a browser, and in the system menu bar on macOS. Every command with a shortcut shows it there; Help has the shortcuts list and the demo chats. +- **Menus**: File, Edit, View, Go, Window and Help, in the top bar on Windows, Linux and in a browser, and in the system menu bar on macOS. Every command with a shortcut shows it there; Help has the shortcuts list and the demo chats. A menu opens under the bar and is at most three quarters of the window tall; when it has more rows than fit, it scrolls and shows a small pill at its bottom until you reach the last row. - **Top bar**: the chat's title (click for rename, pin, move to a project, delete; delete asks first), Background work, the terminal, the built-in browser, the chat's files, and Outputs. - **Side track** beside the chat: an artifact, the chat's files or the browser, one at a time. - **Terminal dock** at the bottom (Mod+J). diff --git a/frontend/HASHOUT_LOG.md b/frontend/HASHOUT_LOG.md index 7d71bf6..6426318 100644 --- a/frontend/HASHOUT_LOG.md +++ b/frontend/HASHOUT_LOG.md @@ -2,8 +2,8 @@ Living log of all comment content, explainers, rationale, TODOs and removed code for the window. Source files stay comment-free (vendored family sheets keep their upstream headers); everything else they would have said lives here, indexed. Read this first, then edit code surgically. -Current build version: v0.32.0 -Last updated: 2026-11-20 · v0.32.0: the Browser pane sends the window's key with each frame request (src/ui/browser-pane.ts); 2026-11-20 · v0.31.0: every FormVis token name resolves (src/styles/ft-tokens.css, seven names with FormVis Studio Dark's values; no value of FormAT's changed); 2026-11-20 · v0.30.1: no window change (the macOS engine list installs keyring; see the engine log's entry for 0.30.1); 2026-11-20 · v0.30.0: no window change (the shell's job object and wait, the Windows engine without a console, the connect command; see the engine log's entries after v0.29.0); 2026-11-19 · v0.29.0: no window change (the engine's start and stop and the shell's failure dialog; see the engine log's entries after v0.28.0); 2026-11-19 · v0.28.0: every command of the window waits for its key before it is sent (src/engine-client/window-key.ts, api.ts), and Settings, Outside agents names Antigravity; 2026-11-19 · v0.27.0: the window sends its key with every write and takes a one-time ticket for the events and terminal sockets (src/engine-client/window-key.ts), and Settings, Outside agents says when the saved choice was reset to Ask; 2026-11-15 · v0.26.3: the review's open list fixed in the window (a stopped engine is noticed within seconds and said on every view, deleting a project, a scheduled task or an artifact asks first, the composer's bottom row wraps in narrow containers, Projects page errors appear on that page, Settings names where keys are kept, View, Menus in Window on macOS applies at once, the demo list comes from `demo.list`, Outputs shows each file's caption and names Download all); v0.26.2: no window change (the desktop updater's address; see the engine log's entry for 0.26.2); v0.26.1: no window change (documents only: each Orrery map's credit line and source page, the community files, the release addresses; see the engine log's entry for 0.26.1); v0.26.0: a menu bar from one command registry (File, Edit, View, Go, Window, Help; in the macOS menu bar through the shell's injected API), settings as a window with a rail and a wire, the family look and the name FormAT, demo chats in their own sidebar group that open with their page beside them and at their start, the family splash and the `app_ready` call, and the review's window fixes (the reload loop at boot, focus after load, a failed send keeps its text, the terminal's toggle key and adopted shells, delete asks first, narrow windows); 2026-10-26 · v0.25.0: the window smoke and the splash mark's jump (v0.25.1 to v0.25.4: no window change beyond the icon and the README); 2026-10-25 · v0.24.5: markdown-it 15.0.3 and Vite 8.3.5; 2026-10-22 · v0.24.1: no window change (checks only, releases by formcompiler, version string); v0.24.0: the app icon redrawn as a smiling chat bubble with a sparkle (every Tauri size, the macOS .icns with its margin and shadow, favicon and splash), assets/icon_src to regenerate it, and the compact build's bloom kept; v0.23.0: attachment tiles with real previews (image, SVG, video frame and length, audio length, first lines of text) in the composer and on sent messages, and a full-screen viewer for every kind; v0.22.0: a run of the API's text blocks renders as one Markdown flow (a cited answer no longer breaks into a paragraph per claim), source chips after cited claims (web, document page, search result) live while streaming, punctuation kept before the chips, the caret only on the reply's last text, redacted thinking shown as nothing, KaTeX's operator and AMS faces preloaded; v0.21.1: a whole-app audit (no overflow, scrollbars or errors in 102 states) and five fixes: opening a chat moves the composer at the click, view tabs no longer reset each other, Skills Discover's empty line waits, a plugin connector chip holds still, Customize's message line keeps its height; v0.21.0: Discover for skills and connectors, Skill with Claude, a confirm for command plugins, private marketplace tokens, .plugin uploads; v0.20.0: Create a plugin (editor) and Create with Claude, /plugin:skill in the / menu; v0.19.0: Plugins with Your plugins and Discover, marketplaces with Check for updates and Sync automatically, a plugin page with Skills, Commands, Connectors and Agents tabs; v0.18.0: connector sign-in in the add form, on rows and pages, and the + menu's connector switches per chat; v0.17.0: Customize's list beside the open item on wide windows, Enabled switches, Delete and Remove in "..." menus with a confirm, skills grouped by where they came from; v0.16.0: a connector's page with status, Disconnect, the "..." menu and tool permissions; v0.15.0: the / menu, Customize with tabs, search, Add and a skill file browser; v0.14.1: zero horizontal overflow in the chat and the app at 360 to 1920 px, the streaming caret off its own line; v0.14.0: Allow for this chat on approval cards and in the permission menu, Always allow named for its kind of step; v0.13.0: files dropped anywhere on the chat, /skill in the composer, Allow all, a pinned follow of the reply, user messages on the right, edits as diffs, a quieter thinking row +Current build version: v0.33.0 +Last updated: 2026-11-30 · v0.33.0: bar menus and their submenus open under the bar with a cap of three quarters of the window, a menu cut off by its cap shows the more-below hint, and the popover menus keep under the bar with the same cap and hint (src/ui/menu-fit.ts, menubar.ts, menu.ts, src/styles/ft-overlays.css; FORM-MENU-OVERLAP-FIX 1.2.0), and the window's unreleased entries after 0.32.0 ship; 2026-11-20 · v0.32.0: the Browser pane sends the window's key with each frame request (src/ui/browser-pane.ts); 2026-11-20 · v0.31.0: every FormVis token name resolves (src/styles/ft-tokens.css, seven names with FormVis Studio Dark's values; no value of FormAT's changed); 2026-11-20 · v0.30.1: no window change (the macOS engine list installs keyring; see the engine log's entry for 0.30.1); 2026-11-20 · v0.30.0: no window change (the shell's job object and wait, the Windows engine without a console, the connect command; see the engine log's entries after v0.29.0); 2026-11-19 · v0.29.0: no window change (the engine's start and stop and the shell's failure dialog; see the engine log's entries after v0.28.0); 2026-11-19 · v0.28.0: every command of the window waits for its key before it is sent (src/engine-client/window-key.ts, api.ts), and Settings, Outside agents names Antigravity; 2026-11-19 · v0.27.0: the window sends its key with every write and takes a one-time ticket for the events and terminal sockets (src/engine-client/window-key.ts), and Settings, Outside agents says when the saved choice was reset to Ask; 2026-11-15 · v0.26.3: the review's open list fixed in the window (a stopped engine is noticed within seconds and said on every view, deleting a project, a scheduled task or an artifact asks first, the composer's bottom row wraps in narrow containers, Projects page errors appear on that page, Settings names where keys are kept, View, Menus in Window on macOS applies at once, the demo list comes from `demo.list`, Outputs shows each file's caption and names Download all); v0.26.2: no window change (the desktop updater's address; see the engine log's entry for 0.26.2); v0.26.1: no window change (documents only: each Orrery map's credit line and source page, the community files, the release addresses; see the engine log's entry for 0.26.1); v0.26.0: a menu bar from one command registry (File, Edit, View, Go, Window, Help; in the macOS menu bar through the shell's injected API), settings as a window with a rail and a wire, the family look and the name FormAT, demo chats in their own sidebar group that open with their page beside them and at their start, the family splash and the `app_ready` call, and the review's window fixes (the reload loop at boot, focus after load, a failed send keeps its text, the terminal's toggle key and adopted shells, delete asks first, narrow windows); 2026-10-26 · v0.25.0: the window smoke and the splash mark's jump (v0.25.1 to v0.25.4: no window change beyond the icon and the README); 2026-10-25 · v0.24.5: markdown-it 15.0.3 and Vite 8.3.5; 2026-10-22 · v0.24.1: no window change (checks only, releases by formcompiler, version string); v0.24.0: the app icon redrawn as a smiling chat bubble with a sparkle (every Tauri size, the macOS .icns with its margin and shadow, favicon and splash), assets/icon_src to regenerate it, and the compact build's bloom kept; v0.23.0: attachment tiles with real previews (image, SVG, video frame and length, audio length, first lines of text) in the composer and on sent messages, and a full-screen viewer for every kind; v0.22.0: a run of the API's text blocks renders as one Markdown flow (a cited answer no longer breaks into a paragraph per claim), source chips after cited claims (web, document page, search result) live while streaming, punctuation kept before the chips, the caret only on the reply's last text, redacted thinking shown as nothing, KaTeX's operator and AMS faces preloaded; v0.21.1: a whole-app audit (no overflow, scrollbars or errors in 102 states) and five fixes: opening a chat moves the composer at the click, view tabs no longer reset each other, Skills Discover's empty line waits, a plugin connector chip holds still, Customize's message line keeps its height; v0.21.0: Discover for skills and connectors, Skill with Claude, a confirm for command plugins, private marketplace tokens, .plugin uploads; v0.20.0: Create a plugin (editor) and Create with Claude, /plugin:skill in the / menu; v0.19.0: Plugins with Your plugins and Discover, marketplaces with Check for updates and Sync automatically, a plugin page with Skills, Commands, Connectors and Agents tabs; v0.18.0: connector sign-in in the add form, on rows and pages, and the + menu's connector switches per chat; v0.17.0: Customize's list beside the open item on wide windows, Enabled switches, Delete and Remove in "..." menus with a confirm, skills grouped by where they came from; v0.16.0: a connector's page with status, Disconnect, the "..." menu and tool permissions; v0.15.0: the / menu, Customize with tabs, search, Add and a skill file browser; v0.14.1: zero horizontal overflow in the chat and the app at 360 to 1920 px, the streaming caret off its own line; v0.14.0: Allow for this chat on approval cards and in the permission menu, Always allow named for its kind of step; v0.13.0: files dropped anywhere on the chat, /skill in the composer, Allow all, a pinned follow of the reply, user messages on the right, edits as diffs, a quieter thinking row --- diff --git a/frontend/package-lock.json b/frontend/package-lock.json index ef72f09..13d9966 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "format", - "version": "0.32.0", + "version": "0.33.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "format", - "version": "0.32.0", + "version": "0.33.0", "license": "Apache-2.0", "dependencies": { "@fontsource/inter": "5.3.0", diff --git a/frontend/package.json b/frontend/package.json index f72d0fb..44dc790 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "format", "private": true, - "version": "0.32.0", + "version": "0.33.0", "description": "Format · A.T, the Agentic Terminal · a chat and agent workspace on the Claude API in the form family", "license": "Apache-2.0", "type": "module", diff --git a/frontend/src/version.ts b/frontend/src/version.ts index 04650ce..fc680fc 100644 --- a/frontend/src/version.ts +++ b/frontend/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.32.0'; +export const VERSION = '0.33.0'; diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c1b0878..5301822 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1093,7 +1093,7 @@ dependencies = [ [[package]] name = "format" -version = "0.32.0" +version = "0.33.0" dependencies = [ "objc2", "objc2-app-kit", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 0fd6188..78741b1 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "format" -version = "0.32.0" +version = "0.33.0" description = "Format desktop shell" authors = ["nodemode-ai"] license = "Apache-2.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 31db2f6..0a4209c 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -2,7 +2,7 @@ "$schema": "https://schema.tauri.app/config/2", "productName": "FormAT", "mainBinaryName": "format", - "version": "0.32.0", + "version": "0.33.0", "identifier": "ai.nodemode.format", "build": { "frontendDist": "../frontend/dist"