Commit Graph
1162 Commits
Author SHA1 Message Date
Tanish Manku 6510edd13a Merge branch 'main' into bugfix/plugin-args-json-array 2026-11-19 14:54:27 -07:00
Afloat 3f2aedfe7e Disclose partial SQLite schema records 2026-11-19 20:44:12 +08:00
Afloat e865276f84 Claim R3.12 partial SQLite schema records 2026-11-19 20:43:54 +08:00
Afloat 054d721ff2 Validate legacy SquashFS block sizes before identifying filesystems (R3.12) 2026-11-19 15:19:54 +08:00
Afloat 0bad618774 Claim R3.12 legacy SquashFS block layout validation 2026-11-19 14:08:54 +08:00
Justin John ecf650402c Hand notes to an API-backend builder between tool calls (R2.2) (#2162)
A note added while an API-backend builder worked waited for its whole turn to end, which can be
hundreds of steps. After each tool step the loop now claims the waiting notes and adds them
after that step's results, in the wording the coding-agent hook uses. Claimed notes are marked
read, so the build shows them in the feed and doesn't send them again after the turn.
2026-11-19 12:52:25 +07:00
Justin John a9130cabed Say in the feed when a request waits for its rate limit (#2158)
An API backend with requests_per_minute set held each request back without a word, so a paced
build looked stuck. A wait of two seconds or more now puts a line in the feed saying how long
it waits and why (#668).
2026-11-19 09:26:57 +07:00
BFlat 893aa76646 Merge pull request #2156 from mansur-akhmadi/bugfix/r3.12-sqlite-schema-incomplete
The schema listing dropped its b-tree walk's incomplete flag and notes, so a schema with an
unreadable child page or row was listed as the whole schema, with complete coverage. The
overview now marks such a schema truncated and carries the walk's first notes, and
db_sqlite_show adds a schema_incomplete limitation, partial coverage, and an unknown-table
error that says only the listed part was searched.
2026-11-19 09:17:53 +07:00
Mansur Akhmadi 348897e808 Say when a SQLite schema couldn't be read whole (R3.12) 2026-11-19 08:57:21 +07:00
Fury dcd23a8fc0 Walk a folder tree in path order, so a cut inventory is a prefix of the tree (R3.11) (#2101)
The walk listed a folder's files before opening any of its subfolders, so when the file limit stopped it, a file inside an earlier folder was dropped for later ones and the inventory's sort couldn't bring it back. It now opens a subfolder where its name sorts in its parent, and results are sorted folder by folder (`path_order`), so a limit cuts the tree where a listing of it would end. Only the listings of the folders on the current path are held, within the same entry limit. When the entry limit runs out early, fewer entries are reported than before: the honest prefix.
2026-11-19 08:56:40 +07:00
Mansur Akhmadi ff7e266354 Claim the SQLite schema walk's lost incompleteness (R3.12) 2026-11-19 08:22:13 +07:00
Mansur Akhmadi d4b6816074 Keep squashfs 4.0's compression and block_log out of older images' description (R3.12) 2026-11-19 06:45:03 +07:00
Mansur Akhmadi 146c6b8668 Read a squashfs 2.x or 3.x image's block size where those versions keep it (R3.12) 2026-11-19 06:36:40 +07:00
Mansur Akhmadi 7d20e64a4b Claim the squashfs 2.x/3.x block size in the firmware scan (R3.12) 2026-11-19 06:26:52 +07:00
bflatastic 8f12dd262a Take a pasted JSON array as a plugin's arguments (R2.9) 2026-11-19 06:09:04 +07:00
bflatastic 6b2390c4b2 Claim pasted JSON plugin arguments (R2.9) 2026-11-19 06:08:41 +07:00
Mansur Akhmadi 4d6e834d11 Keep the steps test to paths only one-pass filling keeps; note the fill in platform's docs 2026-11-19 04:39:02 +07:00
Mansur Akhmadi 58a5989fdf Fill the engine build steps' placeholders in one pass (R2.9) 2026-11-19 04:31:11 +07:00
Mansur Akhmadi 93a8d30137 Claim the one-pass fill for the Unity build steps (R2.9) 2026-11-19 04:20:14 +07:00
Efe Şahinbaş 479c287661 Localize saved-builder replacement notices after Just ask (R5.5) 2026-11-18 23:37:39 +03:00
Efe Şahinbaş 061b84b082 Claim R5.5 Just ask localization on current main 2026-11-18 23:37:31 +03:00
BFlat 8f693094b5 Merge pull request #2143 from mansur-akhmadi/bugfix/r2.9-trf-literal-values
i18n::trf filled {name} placeholders with one replace per argument, so a value that looked like
a later placeholder was filled in turn. It now fills them in one pass over the translated
template: inserted values stay literal, and unknown names and stray braces are kept as written.
The saved-builder replacement notice uses it instead of its own split.
2026-11-19 03:23:38 +07:00
Mansur Akhmadi 02ef4dffc2 Keep inserted values literal when filling UI placeholders (R2.9) 2026-11-19 02:40:56 +07:00
macallantheroot 9569dad045 Link the bounded managed-source draft (R3.11) 2026-11-18 22:32:28 +03:00
macallantheroot 60e1b0928f Keep the independent status updates conflict-free (R3.11) 2026-11-18 22:31:41 +03:00
macallantheroot 6a28746956 Bound managed reconstruction source reads to the remaining budget (R3.11) 2026-11-18 22:30:11 +03:00
macallantheroot 4bcc127887 Claim bounded managed source reads (R3.11) 2026-11-18 22:21:36 +03:00
Mansur Akhmadi ad06e5e3ee Claim literal placeholder values in i18n::trf (R2.9) 2026-11-19 02:20:05 +07:00
macallantheroot b277e09438 Localize saved-builder replacement notices in the desktop UI (R5.5) 2026-11-18 21:21:12 +03:00
macallantheroot fb40433a7e Claim saved-builder replacement notice localization (R5.5) 2026-11-18 21:21:12 +03:00
Mansur Akhmadi 7bd2834d28 Mark the managed reconstruction check partial when it leaves source files unread (R3.11) 2026-11-19 00:46:30 +07:00
Mansur Akhmadi f25f0de04b Claim the managed reconstruction check's cut coverage (R3.11) 2026-11-19 00:15:26 +07:00
AlexJoaquimPereira 64a388d06c Reject non-text game folders and settle only the failed job (R3.9)
Review follow-up: folder_picked now refuses a folder whose name isn't text before dispatching either tool, with a message, and sends the exact UTF-8 path. Game files keeps one map of in-flight jobs with their kind and whether the screen still waits for them, instead of a looks list and a listing id. A worker failure is always logged; a current folder scan or listing clears only its own spinner and says so, a failed triage holds neither, and a superseded job says nothing. Export save errors say so without stopping the archive listing, even when the archive path matches a reopened listing.

The same-folder regression now starts both looks through folder_picked and feeds results through CraftApp dispatch; new regressions cover the non-text refusal, a failed triage keeping the scan running, a superseded failure staying quiet, and an export error not clearing loading.
2026-11-18 21:26:03 +05:30
AlexJoaquimPereira 54f42f8230 Keep a Game files look with the job that asked for it (R3.9)
Picking game A, B and A again while the first A look ran could still apply the older A result, because the screen compared the shown folder's path. Worse, a folder whose name has bytes that aren't text was sent as a lossy display string, so every completion failed the same path check and the screen loaded forever. act now returns its job id; GameFiles records the folder looks and the archive listing still expected, and tool_done applies only those. A repeated pick ignores the older answer, and a non-text folder's current answer finishes with its error.

Regressions: a stale same-folder look is ignored and the newer one fills the list; a non-text folder's current error clears looking and is shown. The three existing wrong-folder/archive guards still pass.
2026-11-18 21:26:03 +05:30
AlexJoaquimPereira 169092b3cc Claim R3.9: correlate each Game files look with its request
Picking game A, B, then A again while the first A look runs can still apply the older A result, because the screen compares the shown folder's path. Record the pending change before fixing it.
2026-11-18 21:26:03 +05:30
Fury f9fbd77d1b Name the folders a walk couldn't list in every tool that walks one (R3.11) (#2106)
A folder walk says which folders it couldn't list and why, but five tools that walk a folder (two for Apple bundles, the app source import and comparison, the managed source check and the JavaScript source restore) read only "cut short". A folder that couldn't be opened was reported as a limit, with neither its name nor the reason, and some results still said they were complete.

- Each of those tools now names the folders and their reasons, and marks its result partial when a walk was cut or a folder couldn't be listed.
- When nothing is found and a folder couldn't be listed, the error says so ("no .cs files under …; 1 folder(s) couldn't be listed…") with what to do, since what was looked for may be in it.
- Two inputs with the same folder name are told apart in the notes ("dist (input 2)").
2026-11-18 22:53:40 +07:00
Justin John 5e09595d55 Let Settings → AI choose Codex's model (#2129)
Codex now shows the model it uses ("Codex default" until one is chosen) with Change…, like Claude Code (#2109). The choices are its default (no model is passed, so its own settings decide) and the models `codex debug models` lists, in its order, leaving out the ones it hides; over SSH the remote Codex is asked. `ai model Codex` lists and sets them the same way. Until now the model could only be set by adding `cli_model` to config.toml by hand.
2026-11-18 21:35:57 +07:00
BFlat 9c9f5a10d2 Merge pull request #2128 from Plastic-time/bugfix/r3.11-pseudo-write-footprints
Follow-up to #2124. The pseudo-C could still show an argument's load in the call line after an instruction that overwrote the bytes it read, for writes the decompiler measured wrongly: 64-bit ARM pair and exclusive stores (both registers count, and non-temporal pairs are stores too), x86 bit writes through a register index, `movdir64b`, and a store that overwrites part of a Windows stack argument. Those are measured now. A register is treated as the stack frame only while the function really keeps its stack there, so a stack pointer loaded from elsewhere is no longer assumed clear of global data. 64-bit ARM loads also show the size they read (`*(uint8_t*)…`), and a pair store shows as two typed writes.

Measured on two real programs before and after (every function, default limits): an x86-64 `grep` folds 3,021 register arguments where it folded 3,023, the two lost being loads from a global with a store through a data pointer in between; an AArch64 `ls` folds 1,813 either way.
2026-11-18 21:27:16 +07:00
RRFZ e2df6bc410 Preserve pair writeback and split outgoing arguments (R3.11) 2026-11-18 08:49:22 -05:00
BFlat b935cb33bf Merge pull request #2123 from Plastic-time/bugfix/r3.12-js-app-file-localhost-dot-folders
Follow-up to #2113. A window loading `file://localhost/ui/index.html` was looked up as `localhost/ui/index.html`, which could match the wrong page; `localhost` and an empty host both mean this computer now. And a page reference ending in a `.` or `..` part (`./boot.js/.`) names a folder, so it is no longer matched to the file before it.
2026-11-18 20:26:30 +07:00
RRFZ bdd284d030 Preserve A64 memory effects and truncated direct stores (R3.11) 2026-11-18 08:23:09 -05:00
RRFZ d1421498e6 Preserve argument loads across overlapping memory writes (R3.11) 2026-11-18 07:57:51 -05:00
BFlat de20759323 Merge pull request #2125 from Plastic-time/bugfix/r5.7-result-lists-cap-before-index
Follow-up to #2116. A result with thousands of lists at its top level was still gone through in full, though its first 64 already decide what is listed. The top level is read first and the work stops at the 64th list; nested lists are only looked for when there is room left. What is listed doesn't change.
2026-11-18 19:47:46 +07:00
RRFZ 4731a13375 Claim the pseudo-C memory-write follow-up (R3.11) 2026-11-18 07:45:18 -05:00
BFlat 194442dae5 Merge pull request #2124 from Plastic-time/bugfix/r3.11-pseudo-memory-write-overlap
Follow-up to #2119, which stopped a load being shown after a store that may have changed the memory it read, but still let it through in several cases: on 64-bit ARM, where the size of an access wasn't known and a 16-byte pair store looked clear of a load 8 bytes on; when a stack address had an index, or the two addresses used different segments; after an instruction the decompiler doesn't model, such as a byte store on 32-bit ARM or an x86 string operation; and for a value loaded from a fixed address. A Win64 argument passed on the stack is also no longer shown with the value stored before a later write to its slot. Where it can't tell, the decompiler now keeps the load as its own statement.
2026-11-18 19:38:01 +07:00
RRFZ a640dc31b8 Resolve local file URL authorities from the application root (R3.12) 2026-11-18 07:15:44 -05:00
RRFZ 55a9d46b24 Stop listing root arrays at the summary cap (R5.7) 2026-11-18 07:13:19 -05:00
RRFZ 4040a90d92 Claim the root list cap follow-up (R5.7) 2026-11-18 07:08:35 -05:00
BFlat 5633b513ff Merge pull request #2117 from Plastic-time/bugfix/r3.12-sqlite-default-followups
Follow-up to #2108. A column added later to a SQLite table fills older rows with its default. Two kinds of default were read as empty: a blob written with a plus sign in front (`DEFAULT+X'41'`), which #2108's splitting broke, and a bare word containing accented or other non-ASCII letters or a `$` (`DEFAULT été`, `DEFAULT a$b`). Both are read as SQLite reads them. A test table that SQLite itself would refuse to create is replaced by one it accepts.
2026-11-18 19:04:07 +07:00
BFlat cf6f1d1a7f Merge pull request #2116 from Plastic-time/bugfix/r5.7-result-lists-first-match-map
Follow-up to #2107. Listing a result's pageable lists looked each list name up from the top of the result again, so a large result with many names took one full walk per name (about 150 ms for 5,000 names in the author's measurement, under 1 ms now). The result is walked once, recording what each name reaches first, in the same order as before. What is listed doesn't change.
2026-11-18 18:54:47 +07:00