Commit Graph
1584 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
BFlat df2270904c Merge pull request #2165 from Afloat16/bugfix/r3.12-sqlite-partial-schema-20261119
A readable sqlite_schema row could still hold a partial value (an overflow chain that ends
early, loops or leaves the file, or text cut at a schema budget), so a table's column list could
be short while the schema was reported complete. Such records now set schema_truncated and add
a counted integrity note; the object's readable name and metadata are kept.
2026-11-19 20:02:00 +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
Dylan M. Taylor 642d5a2567 Merge pull request #2167 from storytold/refactor/shared-cms-certificate-listing
formats: use shared CMS inspection for certificate listings
2026-11-19 06:33:40 -05:00
Dylan M. Taylor b858e2b12c Use shared CMS wire inspection for certificate listings 2026-11-19 05:44:15 -05:00
Dylan M. Taylor 640fd94218 Merge pull request #2166 from storytold/refactor/shared-der-inspection-metadata
formats: use shared DER inspection length metadata
2026-11-19 05:39:44 -05:00
Dylan M. Taylor c9b4b8b660 Reuse shared inspection length metadata in the DER adapter 2026-11-19 05:07:33 -05:00
BFlat 6e11ce469f Merge pull request #2163 from Afloat16/bugfix/r3.12-old-squashfs-block-layout-20261119
A squashfs 2.x or 3.x superblock was taken as a filesystem on its magic, version and bytes used
alone. The firmware scan now also requires its block size to match its block_log, from 4 KiB to
1 MiB, as version 4's already must. A superblock cut before those fields is no longer reported.
2026-11-19 14:36:50 +07: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
Dylan M. Taylor c28f8ba58d formats: reuse shared definite TLV reader (partial PKCS#7 cutover) (#2149)
* formats: cut over pkcs7 and der to craft-pkcs7

* Preserve signature inspection while reusing shared definite TLV reader
2026-11-18 23:25:04 -05: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
BFlat bbfd5177f0 Merge pull request #2155 from mansur-akhmadi/bugfix/r3.12-squashfs-v3-block-size
The scan read every squashfs region's block size at offset 12, where only version 4 keeps it;
in 2.x and 3.x that is the uid table's start, and the block size is at offset 51. Older images
now report the block size they declare, and their description no longer names a compression
read from a field those versions don't have.
2026-11-19 07:06:09 +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
Dylan M. Taylor cf91402bdd Update craft-tar to storytold/craft-libs main (#2151) 2026-11-18 17:45:02 -05:00
BFlat 7f0c877f8c Merge pull request #2147 from mansur-akhmadi/bugfix/r2.9-stack-steps-literal-values
The build steps filled {editor}, {player} and {ext} with chained replace calls, so an editor
installed under a folder named like a later placeholder reached the builder with a different
path. The one-pass fill moves to platform::text::fill, which both the build steps and i18n::trf
use.
2026-11-19 04:58:24 +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
BFlat d6a1f888aa Merge pull request #2142 from MacallanTheRoot/bugfix/r5.5-just-ask-builder-notice
Answers to questions now carry the replaced and replacing AI names as an optional
builder_replacement field (saved, used). The desktop fills them into the same catalog entry
Make and build starts use, so the notice after Just ask follows the UI language. The English
builder_notice is unchanged for CLI and MCP callers.
2026-11-19 04:11:01 +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
BFlat ebfbd999be Merge pull request #2144 from MacallanTheRoot/bugfix/r3.11-bounded-managed-sources
The check compared .cs files against the sizes its folder walk recorded, then read each one
whole, so a file that grew in between could be read past the 64 MiB source budget. Each read is
now capped at what is left of the budget. When no file could be read, the error keeps the first
read errors and says when the folder walk was cut short.
2026-11-19 03:14:03 +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
BFlat 5fee83713f Merge pull request #2140 from MacallanTheRoot/fix/r5.5-localize-builder-replacement-notice
The notice shown on Make and at build starts when a project's saved AI is off or gone now comes
from the UI catalogs. Turkish has a reviewed translation; the other languages keep the English
wording until a native speaker reviews theirs. Builder names are filled in literally, and the
CLI, MCP and headless notice are unchanged.
2026-11-19 01:55:15 +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
BFlat 5895463ed6 Merge pull request #2136 from mansur-akhmadi/bugfix/r3.11-reconstruction-check-cut-coverage
The check reports partial coverage, with no total, when a .cs file under the source folder may
have been left unread: the file or size budget stopped the reading, a listed file could not be
read, or the folder walk was cut short. Before, members declared only in an unread file read as
missing in a check marked complete.
2026-11-19 01:18:35 +07: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
FredApps 4932cca8c5 Use merged DEX bounds and completeness repairs (#2130) 2026-11-19 00:06:11 +07:00
BFlat 3b0a7ec1d4 Merge pull request #2133 from AlexJoaquimPereira/bugfix/r3.9-game-files-request-ids
Picking game A, then B, then A again while the first look at A was still running could show the older result, because the screen matched an answer to the folder's path. Each look and each archive listing is now matched to the job that started it, so a repeated pick ignores the older answer, and a job that fails settles only its own request: one a newer pick replaced is logged and says nothing. A folder whose name isn't valid text used to be sent under a changed name and left the screen loading forever; picking one now says its name can't be read and asks for another folder. A failed save of a picture or asset also says so.
2026-11-18 23:47:48 +07:00
FredApps 7e3843633a Keep the legacy MUTF-8 helper available only to parity tests (#2132) 2026-11-18 23:07:15 +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