Skip to content

Gamma 0.4.15

Choose a tag to compare

@github-actions github-actions released this 01 Dec 11:58
731a7b0

Download

Download on the Mac App Store Download from the Microsoft Store

Download for Windows Download for macOS Download for Debian / Ubuntu

Windows 10/11 x64 · macOS 13 or later on Apple Silicon (also as .zip) · Debian / Ubuntu x64. The desktop app is self-contained — no Python or Node needed — and updates itself (Help → Check for Updates…).

First launch, install and updates
  • Stores — the Mac App Store and the Microsoft Store install Gamma signed and keep it up to date. Each takes a release after its store's review, so it can trail this one. The Mac App Store's runs in Apple's sandbox: it opens PDFs from the Finder but not folders, and keeps its data apart from a dmg install's.
  • Windows — unsigned. SmartScreen: More info → Run anyway (Edge: … → Keep → Keep anyway).
  • macOS — ad-hoc signed, not notarized. The first launch says Apple could not verify Gamma: close it, open System Settings → Privacy & Security, scroll to Security and click Open Anyway (once per download).
  • Linux — sudo apt install ./Gamma-0.4.15-linux-amd64.deb installs to /opt/Gamma; the command is gamma.
  • Updates — Windows installs on restart, Linux asks for your password to run dpkg, macOS offers the download until builds are notarized. The latest*.yml and .blockmap assets are the update feed; there is no need to download them.
What's new since v0.4.14
  • A PDF whose Chinese, Japanese or Korean text is set in CID fonts with no ToUnicode map shows that text, drawn and selectable (#192): the ESP32-C6 technical reference manual's pages showed only their Latin words, every Chinese character (the red headings too) missing, because pdf.js reads such a font (one naming Adobe-GB1, CNS1, Japan1 or Korea1) through that collection's -UCS2 CMap, fetched by name from the folder getDocument is given (cMapUrl), and the viewer gave none, so pdf.js dropped the font. The pdfjsData plugin in vite.config.js copies the installed pdfjs-dist's cmaps/ and standard_fonts/ into the build under assets/pdfjs-/ (cached for good like the other assets; an upgrade changes the folder) and the dev server serves the same paths from node_modules; PdfViewer's openParams passes cMapUrl, cMapPacked and standardFontDataUrl (the data pdf.js loads for Symbol and ZapfDingbats named without being embedded) on every open. No backend change, no migration; the build grows by 2 MB of files a PDF fetches only as its fonts need them. Frontend lint, the unit tests bundleBudget, pathCase and uiConventions, build, doc links; the browser groups pdf-load, translation, ipad and notes-pdf-share 189/189 steps, with a new pdf-load step (makePdf's new "F7" font, Liberation Sans as a CID font naming Adobe-GB1 with no ToUnicode map: its line in the text layer and on the page's bitmap, the CMap and the Symbol font's data fetched from the build) that fails without the viewer's change; and the reporter's manual opened in the built app, page 2 drawn and its text layer reading as in Acrobat
  • Chat skills run from a "/name" mention anywhere in a message, several to a message, as Codex has it: "/" opens the picker at the start of any word (mid-message only while a skill matches, so a path in the text opens nothing; "and/or", "(/x", a page's mention, a quote's line and backticks never), the message keeps its text whole with the mentions where they were typed and skills: [{id, name, args}] beside it (each skill once, in the order of its mentions, at most six; its $ARGUMENTS the text after its mention, the other mentions taken out), the bubble marks each mention where it stands in place of the chip ahead of the text, and an edit reads its text again, a skill it still names keeping its id and one deleted from it dropped (the chip's × is gone). What the model reads stays Gamma's: one lead line and a block per skill ahead of the text, the blocks sharing MAX_RENDERED; one skill reads byte for byte as before. Messages stored since v0.4.12 (skill, the mention cut off the text) read through skills.of_message and skillsOf with /name put back, every title unchanged, nothing rewritten; an older tab's request with skill is read the same way, text and invocation together. A computer's agent gets a prompt section per skill; a computer announces several_skills, a turn of several for one without it is refused at its start ("Update Gamma on {computer} to run several skills in one message there."), and the claim also carries the legacy skill (for several, the first's name with no instructions, so a computer before this fails such a turn rather than run part of it). Codex 0.169.0's invocation and injection, read from its source, are in docs/research/chat-skills.md. No migration. Backend: the skill, computer-chat, remote-chat, export, local-agent and AI chat-route tests (781 passed); frontend lint, the unit tests chatSkills, chatQueue, computerChat, i18n and uiConventions; doc links; the browser groups chat-skills, mentions and local-agents 38/38 steps, with new steps for a mention mid-message, two skills in one message, edits that keep, change or drop a skill, and a message from before several
  • A highlight made from a selection is one even band per line, as high as the line's text: over a superscript or a subscript (f with "Dirac" over "nJ", n²) it drew darker boxes and bands, the colour twice where its rects overlapped (each stored rect is its own multiplied wash). The merge of the range's rects into lines (PdfViewer layerSelection) took each rect into the first line it touched in one pass, so a rect that started a line of its own (the ², the ³, the span box of "the second term") stayed inside the line that later grew round it, and a line took the full height of its scripts, reaching into the lines above and below. selectionLines.js places the selection's own type first (its width-weighted median height); smaller type joins the line it overlaps most and taller type a line it overlaps by half the line's height, both widening it and neither heightening it; a column's gutter still splits a line (COLUMN_GAP); lines set closer than their type is high meet halfway. On Nature s41586-026-10124-3 p. 1 three lines are three rects, not six. Highlights made before keep their stored rects. No backend change, no migration. Frontend lint, 3350 unit tests (new: selectionLines), build, the browser pdf steps 73/73, and a probe of the paper's passage in the browser
  • A docked keyboard on an Android tablet stays up and types into its field (#189): the app's frame ends above the keyboard, so the page lost its height at the same width and the layout took that for a turn (upright, wider than tall; in landscape, under the phone's 500px), swapping the shell and taking away the field being typed into (a note beside a PDF), so the keyboard closed as it opened. useIsPhone, moved out of App.jsx into app/useIsPhone.js, keeps the layout while the window loses height at the same width with a text field focused, until the height comes back or the width changes; a turn or a resized window is still followed at once. No backend change, no migration, no change to the Android app's own code. Frontend lint, the unit tests appState and uiConventions, build, doc links; the browser groups android, ipad and touch 72/72 steps, with a new android step (a docked keyboard upright and in landscape keeps the layout and the focus of the note beside a PDF, its typing saved, and a turn still swaps the shell), which fails on dev; on an Android 16 Pixel Tablet emulator with Gboard docked, the debug app built from dev loses the note's focus and the keyboard within about 120 ms of the tap, and the app built from this branch keeps the keyboard and the typing in landscape for a note beside a PDF, a note on a page of notes and the search field, and upright for the note on a page of notes (Gboard upright leaves 800 × 844, still taller than wide, so dev did not swap there; the browser step covers a taller keyboard)
  • A mouse selects the text under a highlight: a drag inside a highlight or a link box, out of one or into one selects the text it runs over, where it selected nothing, the wrong text, or ran to the end of the page's text (the mark over the text took the pointer's hit test). The pen's selection across the marks (pdf/penSelect.js, renamed pdf/textDrag.js: beginTextDrag, textDragging, data-text-drag) is the mouse's too: a press on the text stays the browser's own selection, with its double and triple clicks, Shift and edge autoscroll, the marks deaf until the button goes up; a press on a mark (PdfPage mouseDrag) is read from the pointer's events and the caret under it, deaf only past 8 px so a click is still the mark's and a drag is no click on it, its mousedown's default prevented and its release the page's ordinary mouseup. No backend change, no migration. Frontend lint, the unit test uiConventions, build, doc links; the browser groups notes-pdf-share, pen, ipad, translation, touch, pdf-touch, textbox, comments and ink 320/320 steps, with a new pdf step (drags inside, out of and into a highlight each select exactly their text, open the popup, click nothing, make no highlight)
  • A table's cell edits as the note's text does, and every editor of a note's text has the note's formatting: the cell's field is the note's own editor (TableCellField: BlockCmEditor over the cell, its marks, math and chips drawn as typed, the caret where the click was, as wide as its text up to the note's edge), and what was typed in it is saved however the table goes away (a press on the note's text above it lost the edit and left a stale session that reopened the cell). The selection toolbar and the Formatting group's keys are the shared editor's formatting option, drawn and run on that editor alone, under the account's keybindings (App's KeybindingsContext): a note's row, a table's cell, a comment's field and a text box; the row's own copy and the text box's key dispatch go. Escape over the bar puts it away and goes no further (it closed a comment's popover with it); a press on the bar is no press outside a comment or a selected text box. The textarea's canvas width measuring goes. No backend change. Frontend lint, the unit tests uiConventions, designTokens, commands, hotkeys, editBar, mdObjects, coverage, selectionEdits, i18n, comments, textBox, guide, blockTree and bundleBudget, build, doc links; the browser notes 54/54, comments 25/25, text box 18/18, triggered guide 31/31, ipad 5/5, touch 49/49
  • What the Paste as chooser makes of a paste is part of the paste: one Ctrl+Z takes Blocks, Table, As copied, Nested, a titled link or a mention back together with the text, instead of first to the text as pasted (Blocks always took two steps, the others when picked after the history's 500 ms typing run). The choice's editor change carries foldEdit (BlockCmEditor's annotation, reported to onChange as fold), and App commits it, and Blocks' insertion, through foldBlocks, so the block history records no step of its own and redo brings the choice back. A choice that lands after the block was typed in (a title fetched late) stays a step of its own. Frontend lint, the unit tests blockHistory, blockClipboard, blockTree and appState, build, the browser notes steps 53 of 53 (Paste as Blocks and the math step's As copied now each undo in one step; the selected-notes paste step failed once on its unwaited selection count and passed on the rerun)

iPad app

Get the iPad app beta on TestFlight

Install Apple's TestFlight app, then open the link on the iPad. The iPad build of this release reaches TestFlight once it has been built and Apple has processed it.

Android app

Download the APK for Android

Android 10 or later on 64-bit ARM, phones and tablets; a stylus (S Pen, USI, Wacom) writes with the pressure and tilt it reports. Open the APK on the device and allow your browser to install apps when Android asks. The app carries its own Gamma server, so a workspace on the device works with no connection. Update by installing the next release's APK over it.

Server (Docker)

Docker image

docker run -d --name gamma -p 9001:9001 -v gamma-data:/data ghcr.io/tim4431/gamma:0.4.15   # or :latest

AI assistant plugins

Let an AI assistant search and read your Gamma library.

Codex

Download Codex plugin Windows setup macOS / Linux setup

In Gamma, open Settings → AI → Integrations → Codex CLI and copy the setup command. It installs the plugin and connects your Gamma server, then asks you to approve a workspace in your browser. Requires the Codex CLI; works with browser and self-hosted Gamma.

Claude Code

Download Claude Code plugin

  1. Extract the ZIP into a permanent directory.
  2. Run claude plugin marketplace add <path>/gamma-marketplace and claude plugin install gamma@gamma-local --scope user.
  3. Connect your server with claude mcp add --transport http --scope user gamma <your-gamma-address>/mcp, then open /mcp in Claude Code to sign in and approve a workspace.
  4. Start a new session and use /gamma:gamma.

DeepSeek Harness

Download dsh plugin

In Gamma, open Settings → AI → Integrations → DeepSeek Harness: create a read-only token, then copy the install command (it downloads dsh-gamma.tgz, also attached here, and runs dsh plugin --profile web add on it) and the start command, which sets GAMMA_URL and asks for the token. Requires DeepSeek Harness and pnpm.

Browser extension

Chrome Web Store Download .zip

For Chrome, Edge and other Chromium browsers. Install Gamma Connector from the Chrome Web Store and it updates itself; this release reaches it once Google has reviewed it (usually 1–3 days). Or load the zip by hand: unzip it into a permanent folder, open chrome://extensions, turn on Developer mode, click Load unpacked and choose the unzipped folder.