Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: construct-worlds/construct
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.17.8
Choose a base ref
...
head repository: construct-worlds/construct
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.17.9
Choose a head ref
  • 11 commits
  • 17 files changed
  • 1 contributor

Commits on Aug 19, 2026

  1. Configuration menu
    Copy the full SHA
    2f7b37b View commit details
    Browse the repository at this point in the history
  2. Fix TUI modal input precedence over Playbook (#1292)

    * fix tui modal input precedence over playbook
    
    * keep modal routing fix scoped to direct input
    edwin-zvs authored Aug 19, 2026
    Configuration menu
    Copy the full SHA
    eac7da6 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2026

  1. Configuration menu
    Copy the full SHA
    59e70f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4dc2ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f5dcc8 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2026

  1. Configuration menu
    Copy the full SHA
    b290714 View commit details
    Browse the repository at this point in the history
  2. fix(webui): match the TUI's per-character playbook run shimmer (#1297)

    * fix(webui): match the TUI's per-character playbook run shimmer
    
    The TUI paints a pending playbook block by re-styling every character with
    a brightness taken from a travelling sine wave (crates/cli/src/ui.rs,
    `apply_playbook_shimmer`): PLAYBOOK_SHIMMER_SPEED 4.2 rad/s,
    PLAYBOOK_SHIMMER_DENSITY 0.18 rad/char, foreground blended muted -> text
    through a smoothstep so the region rests dim and the crest pops, with one
    character index running across every pending line so the band stays
    continuous down the block.
    
    The web editor instead swept a translucent accent band across each pending
    row, on its own 1.6s cadence — a different effect entirely. Reproduce the
    TUI wave: a 34.907ch (2*pi/0.18) repeating gradient sampling the same
    smoothstep, clipped to the glyphs and translated one wavelength per 1.496s
    (2*pi/4.2). playbookApplyShimmer sets a per-line negative animation-delay
    from the running character offset, so the crest carries on across lines the
    way the TUI's `gidx` does, and lines joining a run late stay in phase.
    
    Still driven by the same source of truth as before — the daemon's run
    pending set — so nothing shimmers once blocks settle, and the animation is
    pure CSS: no per-character DOM, no per-frame JS, no idle repaint loop.
    
    Notes:
    - Chips and inline code carry their own background, which the TUI overlay
      skips; their colors are pinned back against the inherited transparent
      text fill. Fenced-code rows re-issue their block background as a
      border-box layer so `background-clip: text` cannot clip it away.
    - The TUI also bolds the crest, which CSS cannot express per character;
      the crest peaks at full foreground instead.
    - prefers-reduced-motion gets a static accent tint at full contrast.
    
    * chore: temporary PR media (removed in the next commit)
    
    * chore: drop temporary PR media
    edwin-zvs authored Aug 21, 2026
    Configuration menu
    Copy the full SHA
    cd4d17e View commit details
    Browse the repository at this point in the history
  3. fix(webui): C-Space sets the Playbook mark and motion extends the reg…

    …ion (#1298)
    
    * fix(webui): C-Space sets the Playbook mark and motion extends the region
    
    The web Playbook editor had no mark at all. `C-Space` fell through
    `playbookOnKeyDown` — which bound only `C-f` out of the TUI's movement
    keys — to the contenteditable underneath, where Chrome took it as a
    literal space and typed one into the document. The TUI has had the full
    emacs contract for this since the Playbook popup shipped
    (`begin_playbook_selection` + `update_playbook_selection_head`), so the
    two clients disagreed on a binding the shared keymap implies.
    
    Give the web editor the same contract, built on the browser's own
    selection rather than a shadow offset pair: the DOM selection's anchor
    *is* the mark, so extending is `Selection.modify("extend", …)` and
    nothing has to stay in sync with a DOM the renderer rewrites.
    
    - `C-Space` arms the region at the caret, with `preventDefault` so the
      contenteditable never sees the space. Verified against a trusted CDP
      key event, not a synthesized one — the default action is the bug.
    - While armed, every motion extends from the mark: arrows, Home/End,
      `C-f`/`C-b`/`C-n`/`C-p`/`C-a`/`C-e`, and word / line-boundary /
      document-boundary motions under each platform's modifier. Alt combos
      match on `code` because macOS turns `M-f` into `ƒ`.
    - `C-g` and `Escape` cancel, leaving the caret put and the document
      untouched. Copy and cut act on the region and then disarm the mark.
    - An edit, a pointer press, blur, or mounting another session's Playbook
      ends the region; native mouse and shift selection are untouched.
    
    Adds spec 0206 for the cross-client contract, and a web_smoke section
    that drives real CDP key events through set → extend → cancel. Confirmed
    non-vacuous: disabling the `C-Space` branch fails the new assertions.
    
    * chore: PR media (removed in the next commit)
    
    * chore: drop PR media from the tree
    edwin-zvs authored Aug 21, 2026
    Configuration menu
    Copy the full SHA
    86295d0 View commit details
    Browse the repository at this point in the history
  4. feat(tui): replay the focus sweep when typing resumes after idle (#1299)

    * feat(tui): replay the focus sweep when typing resumes after idle
    
    Focus acquisition answers "where did my focus go" at the instant it
    moves. It says nothing to a user coming back to a terminal they left
    minutes ago, where a fleet of similar panes gives the eye nothing to
    lock onto. Replay the same sweep on the already-focused pane when a
    keystroke reaches it after a long silence.
    
    The transition animates, not the typing: every key the focused pane
    consumes refreshes the idle clock, and a key landing while a sweep is
    already on screen is absorbed, so focus gain and idle resume can never
    stack. Keys swallowed by a modal, popup, or the prompt strip are not
    pane input and animate nothing.
    
    Threshold: 120s, in a named constant beside the other sweep constants,
    with a CONSTRUCT_FOCUS_SWEEP_IDLE_MS override for recordings.
    
    * chore: temporary PR media for the idle focus sweep
    
    * chore: drop temporary PR media
    
    * chore(specs): renumber the idle focus-sweep spec to 0207
    
    0206 was taken by the Playbook mark-and-region spec (#1298) while this
    branch was open.
    edwin-zvs authored Aug 21, 2026
    Configuration menu
    Copy the full SHA
    e409175 View commit details
    Browse the repository at this point in the history
  5. fix(webui): let Tab focus the Playbook selection menu (#1300)

    * fix(webui): let Tab focus the Playbook selection menu
    
    Selecting text in the web Playbook editor pops up the selection action
    menu, but the editor's keydown handler gave Tab exactly one job: insert an
    indent. With a selection live, `document.execCommand("insertText")`
    *replaces* it — so Tab both failed to reach the menu and destroyed the very
    text the menu was offering to act on.
    
    The TUI has settled this contract over #1240/#1285/#1286/#1289 and spec 0196
    records it. This mirrors that end state rather than inventing a web one:
    
    - Bare Tab moves focus into a visible menu; the document is untouched.
    - Once focused, Tab/S-Tab and the arrows walk the rows, Enter runs the
      focused one (Shift: in a fork), C-g cancels selection and menu together.
    - Escape peels the menu off but keeps the selection, so the next Tab reaches
      the editor and nests every list line the selection spans (S-Tab un-nests).
      A second Escape then cancels the region — two stages, as in the TUI.
    - C-o still focuses the menu, and can reopen one Escape dismissed.
    
    Menu focus is real focus: the rows are `role="menuitem"` buttons that the
    browser reports as `document.activeElement`, not a painted highlight. Two
    details the round trip needs — the editor's `blur` handler disarms the mark,
    and a blurred contenteditable does not reliably keep a readable Range — so
    both are parked on focus and restored when focus comes back, leaving the
    region extendable and Escape's second stage with something to cancel.
    
    Tab with no selection still inserts a tab stop, and nothing outside the
    Playbook editor changes.
    
    Spec 0196 previously scoped itself to the TUI and listed web menu focus as a
    non-goal; it now states the contract for any client that shows the menu.
    
    Verified against a real Chrome over CDP with trusted key events, for both a
    pointer drag and a C-Space region. The new web_smoke coverage asserts
    `activeElement` moves into the menu and `playbookSerialize()` is unchanged;
    reverting the Tab branch fails it with `text: "-    item"` — the original bug.
    
    * chore: temporary PR screenshots (removed in the next commit)
    
    * chore: remove temporary PR screenshots
    edwin-zvs authored Aug 21, 2026
    Configuration menu
    Copy the full SHA
    efda94d View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2026

  1. release: v0.17.9 (#1301)

    edwin-zvs authored Aug 22, 2026
    Configuration menu
    Copy the full SHA
    d444703 View commit details
    Browse the repository at this point in the history
Loading