Repository navigation
Instruments now lay out their own pages, add pages of their own to the sidebar and hand you files from the target, and you can chat about an object, an instruction or the project with the model you choose. Luma 4 also changes the project format and the lab protocol, so read the first section before updating.
Before you update
- Projects made with Luma 3 do not open in Luma 4. The project format changed and nothing is converted. Luma says "This project was made with an earlier version of Luma, which Luma 4 cannot open." and leaves the project untouched.
- Labs and the store need Luma 4. Luma 3 is told it is too old for both. Everyone in a lab has to update.
- A lab's work comes along, most of it. To go on with a project you put in a lab, choose the lab under Continue from a lab in the welcome window. Its sessions come with their hooks, Code Share instances and insights, and the lab's chat is now its Project Chat. Each address note becomes a chat about its instruction, in the note's place and with its title, but in most labs without its messages: the lab had stopped keeping them.
- Instruments you installed from the store with Luma 3 have to be updated. Add Instrument lists them as "Needs updating for Luma 4" and offers the update. Offline, the row says the update is offered once the store can be reached. Updating leaves only the new version's files.
- Instruments with settings or widgets need Luma 4. Their
package.jsonchanged shape: Luma 4 refuses one written for Luma 3, naming the key, and Luma 3 cannot read one written for Luma 4. The instruments in the store have been updated. If you wrote your own, see For instrument authors.
Instruments lay out their pages
- An instrument places its widgets in rows and columns, each with a share of the page, and a row becomes a column when the window gets too narrow.
- A widget's title sits above it, with the instrument's own buttons beside it, such as Scan, Export OBJ or Pause. When they do not fit they fold into a menu, and one is grayed while it cannot be used.
- Luma no longer puts a Clear button on every widget; an instrument that wants one has it in the widget's header.
- A long table or list scrolls inside its card instead of pushing the rest of the page down, and only the rows in view are built.
- Table columns are as wide as what they hold, and row actions stay whole in a narrow card, the rest under a ⋯ menu. A hex view fits 16, 8 or 4 bytes to a row, whichever its card holds. Graphs have axes, a legend and a fixed palette.
- An instance's settings open from the Settings pill beside its name.
A designer for the page
- Layout… in a custom instrument's menu opens the Widgets sheet on its new Layout tab. Wrap widgets in a row or a column, place one below or beside another, set shares, row caps and the width a row folds at, and preview the page at wide, laptop and phone widths.
- The same sheet designs the kinds of children an instrument has, with a sample of their sidebar row.
Pages of their own
- An instrument can add children under itself in the sidebar, each with a title, a subtitle, a badge whose color follows its state, and a page of its own. GStreamer has a page per pipeline, Lua Hunter per interpreter, Electron per web contents, React Native per JavaScript runtime, and Flutter per channel you choose to follow.
- Show on a row opens that child's page. The 20 children added last are in the sidebar; Show all… lists the rest.
- On iPhone and iPad, children are rows under the instrument that lead to their pages.
Files from the target
- An instrument can offer you a file, and Luma asks where to save it. The bytes are streamed from the target as the instrument reads them, up to 64 MiB a file.
- Mesh Finder exports a mesh as OBJ this way, Electron app.asar's files, Flutter the app's compiled Dart and engine, React Native its bundles.
- In a lab, the file goes to the member who asked for it, straight from the host's Luma; the lab stores none of it.
- A file that cannot be saved says why, and one lost before you save it, as when the host leaves, says so.
Instruments that run code in Luma ask first
- An instrument with Smalltalk of its own that is not the copy published in the store runs nothing, neither in the target nor in Luma, until you allow it.
- You are asked once, over its page, which says where the code came from: a folder, a lab member, a mission or the project. The sidebar marks an instrument that is waiting.
- In a lab, a member first sees "Waiting for to allow", with nothing of the instrument behind it, and is then asked themselves unless they allowed that code before. When the host changes the code, everyone waits for the host again.
Chats
- Chat about this object in an inspector pane's menu starts a chat about that object. The model can read its views and evaluate Smalltalk in your image, and asks before it runs anything unless you tell it not to. Every call it makes is shown in the thread.
- Chat about This Instruction, from an instruction's line or marker in the disassembly, starts one about that instruction, told the code around it. These chats take the place of address notes.
- Chats open in columns beside what they are about and are all under Chats in the sidebar, with their unread replies counted there and on the toolbar.
- Pick the model in the chat's input bar. Each person in a lab picks their own, and Set Up… is there for a provider that cannot answer yet. A provider's failure, in a chat or a mission, reads as a sentence with its status and message.
- In a lab, chats are shared with everyone, and the collaboration panel's chat is now the Project Chat: a chat about the project, which the model can answer in too.
Labs
- Missions run in labs. The member who starts a mission runs it, everyone else can steer it, and each call is approved and run by the member it is assigned to. The transcript says who runs each call, what it waits for, and why you may not stop, delete or approve.
- Deleting a session reaches everyone when you host it or own the lab. Anyone else removes it from their own project only, and the confirmation says which it will be.
- Members see what the host sees, also after the host restarts Luma or attaches again. An action on a row of a table that has since changed is refused with "this table changed; try again", and you are told how your action ended.
- Nothing the lab turns away is lost. It stays on your side, marked "Not in the lab", with the reason in plain words and Add to Lab to give it back. The same goes for an instrument or a pattern someone removed after you changed it.
- A lab takes an instrument of at most 256 files, 256 KiB each and 8 MiB in all. A larger one still links and works in your project, marked "Not in the lab" with the limit it is over, and goes to the lab once it fits.
- The collaboration panel says who owns the lab and when a mission was deleted or stopped by an owner, a disabled action says why, and opening a lab's link again reconnects to it.
- Removed sessions, chats, missions, instruments and patterns stay removed: a change that arrives late no longer brings them back.
The store
Four new instruments:
- Electron takes an Electron app apart from its main process: its versions, fuses and app.asar integrity, every web contents with its security preferences, live IPC with arguments and results, a JavaScript console in the main process and in each page, and app.asar's files to export. Offered for macOS and Linux.
- Flutter shows a Flutter app's engine, Dart version and build, the packages and channel names in its snapshot, the files holding its compiled Dart, and every platform-channel message between Dart and the host, decoded with its reply. Offered for macOS.
- React Native finds the Hermes and JavaScriptCore runtimes an app runs, gives you a JavaScript console into each, shows the calls between JavaScript and native as they happen, and lists its native modules and bundles, which it exports. Its scan reads memory through copies, which keeps it from bringing down an app that has its own crash reporter; it stops after a minute, and Stop Scan ends it sooner. Offered for arm64 on Apple platforms.
- GStreamer finds the pipelines a process is running, also those made before Luma attached, and draws each as a live graph of bins, elements, pads and caps, with the caps on each link wrapped to fit. Click any of them to open it beside the graph. Offered for Windows, macOS and Linux.
And the others have been updated for Luma 4:
- TLS Plaintext also sees BoringSSL linked statically and stripped, as in Flutter's engine. A Libraries table says what was found in each module and why.
- XPC Spy sees the connections a process made before it was added. It stops the process for a moment to read them, and says how long. It shows at most a set number of messages a second, and counts the rest.
- Lua Hunter gives each interpreter a page with its own console.
- Mesh Finder offers its OBJ export as a file to save. Scan is in the table's header.
- Trainer's locks now carry out the game's write around the locked value instead of undoing it, so no other thread ever sees the new value.
- Certificates has Rescan in the table's header, grayed while a scan runs.
Instrument views
- What you click in an instrument's view, such as an element of a GStreamer graph, opens in a column beside the view, as in the playground, and you can go on from there.
- A canvas takes scrolls and keys only once you click it, so the page scrolls past it; the canvas in use is outlined.
- An instrument's
.stfiles are colored and completed as Smalltalk in its editor, its own classes included. A file that does not compile is reported with its line and the reason.
Smoother
- A busy instrument no longer slows Luma: its messages arrive in batches, and past 2,000 a second it drops events, graph points and console output at the source, counting them.
- The event stream and consoles say how many earlier entries they no longer keep. Copy Entry and Copy Result copy the whole value where the view shows a shortened one.
- A project is no longer marked edited because an instrument received data. It is still saved.
- Disassembly is quicker: each module is analyzed once, memory already read is not read again, and radare2 no longer searches the address space for room for a stack.
Also
- Every custom instrument has one menu, in its row's context menu and behind its ellipsis button. Its editors save when you close them and discard only on Cancel, and a new file's name is checked as you type it.
- After Add Instrument, the new instance is selected, with its session expanded.
- Double-clicking anywhere on a line of disassembly opens it, and following a branch centers its target and makes it pulse.
- Tables in the inspector size their columns as their view says. In a narrow pane they leave out the least important columns whole instead of cutting every one, so a disassembly keeps its addresses and instructions whole.
- GTK: the sidebar collapses in a narrow window, and the event stream stays light under a flood of events.
- Code Share snippets that call
Interceptor.flush()orInterceptor.detachAll()work again. - Frida 17.28.0. On a Mac with Apple silicon, attaching to and detaching from busy apps no longer crashes them. Two instruments on one process, one hooking functions and one watching libraries load, no longer freeze it. Reading memory that turns out to be unreadable no longer crashes an app that has its own crash reporter. On macOS, compiling a CModule no longer hangs in some apps, and a session that ends without closing, as when Luma crashes, no longer leaves about 68 MB of Frida's files behind. On Windows, attaching no longer leaves thread handles open in the target.
For instrument authors
What an instrument written for Luma 3.0.0 has to change, in its package.json and its agent. docs/instruments.md describes the rest, including layouts, children and offering files.
luma.featuresis nowluma.settings, and the agent readsconfig.settingsinstead ofconfig.features.- A widget's
configsits beside itskind:"kind": "table", "config": { … }, not"kind": { "kind": "table", "config": { … } }. - A list's or table's
config.actionsis nowconfig.rowActions.actionson the widget itself declares buttons for its header. - Inside
luma, a key Luma does not know is refused, naming it, as inluma.widgets[0].persistance: unknown key. Keys outsidelumaare left alone. - Luma no longer adds a Clear to every widget. Declare
"actions": [{ "id": "clear", "name": "Clear" }]and callclear()fromonAction. - A widget's
namemay be left out, for a widget with no title; an empty one is refused. - A restored hex widget's
base_addressis aNativePointer, not a number.setHextakes aNativePointertoo. - In the typings,
CustomInstrumentFeatureMapandCustomFeatureValuebecameCustomInstrumentSettingMapandCustomSettingValue, and the list and table widget types lost their row-action type parameter. - An instrument with any widget or setting needs
"engines": { "luma": ">=4.0.0" }to be published. Luma writes it when you edit the instrument in Luma. - Luma writes
package.jsonback with its keys in a fixed order. - New:
onActionandonConsoleInputget arespondwithfile, to offer a file of at most 64 MiB, andshow, to show a child;ctx.children();setActionEnabled();fractionDigitsonsetCounter;luma.layoutandluma.children. - An instrument's messages are sent once per tick, in order, with repeated updates to the same row in a tick merged into one. Text in a widget is cut at 64 KiB per entry. A row id may be used again after a clear or a replace.
- A view's table columns can say how they are sized, through
column:do::fitContent,weight:,width:,minimumCharacters:andpriority:. See docs/views.md. - The MCP tools for custom instruments take
settings,actionsandrow_actions, andlayout.
Fixes
- An evaluation that never ended keeping Luma's Smalltalk busy after its playground snippet, notebook cell, chat or view was removed; it now stops at once.
- The Raw tab showing "a StInspectorSlotNode(…)" in place of each slot's name.
- Crashing when a graph in an inspector or a view lost nodes.
- A canvas given another scene in the same place going on drawing the first.
- On macOS, a change made on disk to a linked instrument's file going unnoticed until the project was reopened.
- Two Lumas running at once reading each other's Smalltalk.
- A strip of empty space above the event stream.
- Assistive technologies being unable to attach to a process from the list.
- A mission's transcript starting under the sidebar.
- Labs: changing a mission or an address note deleting its turns, actions, findings or messages.
- Labs: addresses above
0x7fffffffffffffff, such as a kernel's, reaching other members wrong. - Labs: a connection the server never answered hanging, and Retry doing nothing after a failure.
- macOS: brackets and other dark Smalltalk colors being hard to read in dark mode.
- GTK: a lab link or project passed on the command line, as by a file manager, arriving garbled.
- GTK: quitting on a signal, as at logout, losing unsaved edits; the project now reopens with them.
- GTK: crashing after a shader effect went away.
- GTK: the Add Package button, and the button offering what to do about a folder that changed on both sides, doing nothing.
- GTK: a project that failed to open leaving an empty window; Luma now says why and closes it.
- GTK: table columns not lining up with their header.