Commit Graph
922 Commits
Author SHA1 Message Date
Afloat fb4c437fe6 Read JVM method parameters containing parentheses in class names (R3.12) (#1342)
A method descriptor's parameter list now ends at the parenthesis that follows a whole parameter, so a class name containing a parenthesis no longer cuts the parameters short.
2026-11-09 19:18:06 +07:00
Afloat de18c1066e Attribute instantiated Go function names to their owning package (R3.12) (#1341)
A generic Go function's name with type arguments in brackets, which can hold slashes, is now split at the package before the brackets, so it's attributed to the package that declares it.
2026-11-09 19:18:01 +07:00
Afloat 25a8f179f8 Read concatenated Zstandard frames without dropping member data (R3.12) (#1340)
A Zstandard member made of several frames, possibly with skippable frames between them, was read only up to its first frame. Every frame is now decoded in turn, within the same output limit.
2026-11-09 19:17:55 +07:00
Afloat bd279b18f1 Decode VLAN tags in Linux cooked packet captures (R3.12) (#1339)
VLAN tags were only read in Ethernet captures. They're now read after the Linux cooked header too (SLL and SLL2), so tagged frames reach the IP decoder.
2026-11-09 19:17:49 +07:00
Afloat 96413a8e65 Expand overlapping LZ4 matches in blocks in Unity bundles (R3.12) (#1338)
An LZ4 match that overlaps what it writes is now copied in growing chunks of the repeating pattern rather than a byte at a time, with the same output.
2026-11-09 19:17:43 +07:00
Afloat 9877acc34b Read checked Info-ZIP Unicode path metadata for legacy member names (R3.12) (#1337)
A ZIP member with a legacy-encoded name and an Info-ZIP Unicode path field whose checksum matches the name now shows the Unicode name. A field that doesn't match, or a name already flagged as UTF-8, keeps the name as before.
2026-11-09 19:17:37 +07:00
Afloat dd95209f21 Distinguish Android resource locales with explicit scripts and variants (R3.12) (#1336)
Android resource configurations that differ only in script, variant or numbering system, such as zh-Hant and zh-Hans, now get distinct BCP 47 qualifiers (`b+zh+Hant+TW`) instead of the same `zh-rTW`.
2026-11-09 19:17:31 +07:00
Afloat 66d80d19b8 Keep X.509 name separators distinct from attribute values (R3.12) (#1335)
A certificate name is now written with its values escaped as names are written in text, and attributes of one RDN joined with `+`, so a comma or plus sign inside a value can't read as a separator.
2026-11-09 19:17:25 +07:00
Afloat d6c6d12480 Stop PE header lookups at the declared header size (R3.12) (#1334)
An address in a PE file's headers is now resolved only within the headers' declared size, instead of up to the first section, which could reach into padding.
2026-11-09 19:17:20 +07:00
Alex Joaquim Pereira 9db798f026 Write non-separated SQLite REAL defaults in SQLite's text form (R3.12) (#1315)
A TEXT column's default that is a real number kept the schema's own text, so `DEFAULT 1e3` showed '1e3' and `DEFAULT 5.` showed '5.'. SQLite reads such a literal as a REAL and writes it as text in its own form, so these now read '1000.0' and '5.0', large numbers switch to scientific notation as SQLite's do, and infinity reads 'Inf'. Integers that fit in 64 bits are still written plainly.
2026-11-09 20:16:31 +08:00
Afloat 9aefab4e7a Identify hard-linked regular files in newc and CRC archives (R3.12) (#1333)
In newc and CRC cpio archives, hard-linked files share an inode and only one copy carries the data. The empty copies are now listed as hard links to the one with the data, instead of as empty files.
2026-11-09 20:16:25 +08:00
Afloat 722a363c2a Read JSONC settings after carriage-return line comments (R3.12) (#1330)
A line comment now ends at a carriage return as well as a newline, so a settings file saved with old Mac line endings is read and edited instead of being taken as one long comment.
2026-11-09 20:16:23 +08:00
Afloat 7fd244005d Preserve source map URL roots when joining relative sources (R3.12) (#1332)
A source map's `sourceRoot` such as `webpack:///` or `file:///` kept its slashes trimmed when a relative source was joined to it, which broke the URL. A root that already ends in a slash is now joined as it is.
2026-11-09 20:16:20 +08:00
Afloat f0d449005e Keep the earliest binary strings across narrow and UTF-16LE encodings (R3.12) (#1328)
When the string limit is reached, the strings kept are the earliest in the file across both narrow and UTF-16LE text, instead of filling the limit with narrow strings and dropping earlier wide ones.
2026-11-09 20:16:17 +08:00
Afloat 9a1dfd0d65 Count received HAR response bytes separately from decoded content (R3.13) (#1327)
A HAR summary added the larger of each response's received and decoded sizes into one total. It now reports the received bytes and the decoded content bytes separately, with how many responses didn't record each.
2026-11-09 20:16:11 +08:00
Afloat 78b5f86f1b Reject missing file and chunk references in IoStore directory listings (R3.12) (#1326)
An IoStore directory entry that names a missing string or chunk is now an error, instead of listing a file called `?` or a size of 0.
2026-11-09 20:16:05 +08:00
Afloat 8a6e74e498 Check IL2CPP method ranges against their declaring types (R3.12) (#1325)
Each method in a type's method range must name that type as its owner, so a damaged or overlapping range is reported instead of attaching another type's methods to it.
2026-11-09 20:15:59 +08:00
Afloat 22d949dbfd Keep Apple asset catalog directories within their declared byte ranges (R3.12) (#1324)
The block index and variables table of an asset catalog are read only within the sizes the file declares for them, so a damaged count or name length is reported instead of being read past its table.
2026-11-09 20:15:54 +08:00
Afloat 3f7b9a3615 Require a rejecting branch before labelling EVM dispatch nonpayable (R3.12) (#1323)
A contract function was labelled nonpayable whenever CALLVALUE appeared before its body. It now needs the check to branch to a revert when a value was sent, and a body that halts with an error before any check is reported as unknown.
2026-11-09 20:15:48 +08:00
Afloat fedafbe2c1 Extract PYZ resources without adding Python bytecode headers (R3.12) (#1322)
A PyInstaller PYZ archive holds data files and namespace packages besides modules. Data files are now extracted as they are, without a bytecode header in front, namespace packages are listed instead of being shown as empty modules, and an unknown member type isn't decoded.
2026-11-09 20:15:43 +08:00
Afloat b8eb242761 Start games requested in Phaser or Bevy without an editor install (R2.7) (#1331)
A game requested "in Phaser" or "using Bevy" now builds with that framework, as a browser project or a Cargo project in app/, instead of being sent to an editor the person didn't ask for.
2026-11-09 20:14:11 +08:00
Afloat 234b5dc968 Extract Bun modules' stored source maps and bytecode (R3.11) (#1321)
A Bun program's modules can carry a stored source map and bytecode, which were only counted in a note. They're now listed and extracted as their own members, in a folder whose name doesn't clash with the program's own files.
2026-11-09 20:12:32 +08:00
Afloat a689a4e5d1 Show the size of copied pinned builds in Settings (R2.10) (#1320)
The pin list now reports how many bytes its copied pins take, and Settings shows that total next to the pinned builds.
2026-11-09 20:12:27 +08:00
Afloat 43f4a069ba Give resumed API builders the check their loop can run (R5.4) (#1319)
A follow-up or a resumed run on an API builder no longer tells it to check its work with `rebuild_check`, which its loop doesn't run; it's told that Craft Anything checks the build after its turn. Coding agents are still told to run the check themselves.
2026-11-09 20:12:20 +08:00
Afloat 850a7062ce Fail CI when a status table repeats an area (R5.2) (#1317)
A new `cargo xtask status` check, also run by `cargo xtask ci`, fails when a table in docs/STATUS.md lists the same area twice, as union merges of the docs have done before.
2026-11-09 20:12:14 +08:00
Afloat b648eaef80 Keep ELF dynamic names inside the declared string table (R3.12) (#1344)
A library name, soname or run path whose offset or terminator lay past the dynamic string table's declared size (`DT_STRSZ`) could take bytes from whatever followed the table. Those names are now read only within the declared size, keeping the existing length cap for long names.
2026-11-09 20:12:10 +08:00
Afloat 5d853773d5 Bound the header used to read Android process lists (R3.3) (#1316)
The header line of a device's `ps` output is now cut at the same length limit as its rows, on a character boundary, so a very long header can't stretch the columns read for every process.
2026-11-09 20:11:07 +08:00
Tanish Manku dc4c6bbd4d Ask builders to open a check's window without focus, and behind other windows on Windows (R2.9) (#1309)
The check after every build starts the program with `--screenshot`, and its window came up in front of what the person was doing, with focus. The contract every app and game brief carries now asks for that run's window to open without taking focus and to keep drawing while unfocused, and on Windows also behind other windows. On macOS and X11 a covered window is reported occluded and stops painting, so it isn't lowered there. Started without the option, the program opens as usual, so Play still brings it to the front.
2026-11-09 20:04:04 +08:00
Alex Joaquim Pereira ff2e8720ac Read signed quoted SQLite defaults with SQLite's coercion (R3.12) (#1314)
A default such as `DEFAULT -'1e3'` is read as SQLite reads it: the quoted text becomes an integer when it's written as one and a real otherwise, is negated, and then takes the column's affinity, so it's '-1000.0' in a TEXT column and -1000 in an INTEGER one. Quoted text with a digit separator, or that isn't a number, stays unsupported.
2026-11-09 19:40:21 +08:00
Fábio Soares a2d6f22975 Count each Claude Code turn's own cost, not the session's total (#1294)
Claude Code reports the whole session's running cost on every turn, and a build resumes the same session each turn, so adding each turn's figure made a long build's estimate grow far past what it cost. The last total of each session is now kept in the config folder, and a resumed turn counts only what it added; a new session's first turn counts its total, and a resumed or forked session with nothing kept counts nothing rather than an inflated figure.

Refs #1187
2026-11-09 19:33:02 +08:00
Cr 8808230475 Keep Swift demangler substitutions in step with optionals, associated types and extensions (R3.12) (#1313)
Swift symbols refer back to earlier parts by position, and the demangler must number them the way the compiler does. An `Sg` optional and the `Qz`/`Qy` associated types now take a substitution slot and extensions no longer do, so a later back-reference names the right type instead of its neighbour, as in symbols from macOS system binaries.
2026-11-09 19:15:10 +08:00
Alex Joaquim Pereira 465663fe65 Read bare, quoted and separated SQLite defaults (R3.12) (#1311)
An added column's default is now filled when it's a bare word (`DEFAULT abc`) or a double-quoted word, which SQLite keeps as text at the top level, and when a number has digit separators (`1_000`), read with the column's affinity. A bare `x` is no longer taken for the start of a blob, and words or quoted names inside parentheses, which SQLite refuses as not constant, stay unsupported.
2026-11-09 19:09:24 +08:00
Cr 41ed852245 Name the glyph weight and glyph size asset catalog attributes (R3.12) (#1312)
Asset catalogs key symbol images by glyph weight (attribute 26) and glyph size (27), which were listed by number only. They now read `glyph-weight` and `glyph-size` in the key format and each rendition's key.
2026-11-09 19:09:18 +08:00
RRFZ 225a5c06a4 Keep a TOML config's Windows line endings when setup edits it (R2.2) (#1308)
A TOML config saved with Windows line endings, such as Codex's, keeps them when setup adds or removes our entry, as the JSONC and YAML configs already do. A file that mixes line endings, or whose values the change would alter, is written as before.
2026-11-09 18:59:26 +08:00
RRFZ b919dc72b8 Treat a null YAML table as empty when adding our entry (R2.2) (#1307)
`mcp_servers: null` or `~`, with or without a comment, is now an empty table like `{}`, so our entry goes into it and the comment is kept. A flow table with members, or a value that carries on onto the next line, is still left to the person.
2026-11-09 18:54:13 +08:00
Cr 2d9f2ccb7e Name DriverKit and visionOS simulator Mach-O platforms in the binary view (R3.12) (#1302)
The binary view had its own platform table, which stopped before DriverKit (10) and the visionOS simulator (12), so a DriverKit extension read "unknown" while the dependency view said "driverkit". It now uses the dependency view's table, so both name every platform alike, and an unlisted number reads `platform-N` in both.
2026-11-09 18:47:41 +08:00
Cr 8858ca3618 Count .pyc files from Python 3.5.0 to 3.5.2 as releases, not pre-releases (R3.12) (#1310)
Python 3.5 is the one line that changed its magic number in a bugfix release: 3.5.0 to 3.5.2 wrote 3350 and 3.5.3 moved to 3351. Only the latest number counted as a release, so a `.pyc` from 3.5.0, 3.5.1 or 3.5.2 was reported as coming from a pre-release. Each line now records the lowest number a final release wrote, and both 3350 and 3351 read as releases.
2026-11-09 18:47:05 +08:00
RRFZ acebfd0448 Remove a JSONC config's last member without leaving a trailing comma (R3.12) (#1303)
Removing our entry when it was the last member of a plain-JSON config, such as Claude Desktop's, left a trailing comma that strict JSON readers refuse. The comma before it now goes too. A file whose members already end in commas keeps that style, both when an entry is added and when it is removed.
2026-11-09 18:46:52 +08:00
RRFZ 32e7c9b6d4 Find app configs under the user profile on Windows, not HOME (R2.2) (#1306)
On Windows the coding apps keep their settings under the user profile and ignore HOME, which a shell such as MSYS2 or Cygwin points elsewhere. Setup now takes USERPROFILE first there and HOME first elsewhere, and an empty value counts as not set.
2026-11-09 18:43:54 +08:00
RRFZ fbdbedbc61 Look a bare registration command up on PATH in doctor (R2.2) (#1305)
A registration may name the CLI by its bare name (`craft-anything-cli mcp`), as `claude mcp add` writes it. The app starts such a name from PATH, and doctor now looks for it there and in the usual install folders too, instead of calling it missing.
2026-11-09 18:43:45 +08:00
RRFZ 7eead65cf8 Edit a YAML config that starts with a byte-order mark in place (R2.2) (#1304)
A byte-order mark that some Windows editors put at the start of a YAML config was read as part of its first key, so setup added a second table of the same name that hid the first. The mark is now set aside while the file is read and edited and put back as it was, so our entry goes into the existing table and removing it gives the file back byte for byte.
2026-11-09 18:36:17 +08:00
Tanish Manku 5870bcebed Keep a check that worked while nothing it looks at changes, so an unchanged build isn't built and started again (R2.9) (#1296)
A check round in which every check worked is kept, and the next check reuses its results while nothing it looked at has changed: the app's files, the reference and capture files, the kind, stack and mode, the plugin checks and the project's folder. So a prompt that changes nothing in app/ no longer builds and starts the app again, and the check after the builder's turn doesn't repeat its own check. The feed says when results stand. A round with any failure is never kept, so Try again always looks again; the kept round is saved in the build progress.
2026-11-09 17:47:23 +08:00
Thanh Nguyen 28cccdb998 Stop a build's check rounds from stalling silently (#1287)
A round of the builder's own checks now has a 30-minute limit, Pause is looked at before each check and stops a running build step, and every check is said as its own step ("Checking its work (2 of 4): …"), so a check that stalls names itself instead of holding the build for hours. The limit reaches the checks' own program runs, a step is refused before it starts once the round is past its limit or paused, a check that can't run is reported as not run with its reason, and a caught bug leaves the project at "Needs you" instead of "Checking". Real check rounds keep no limit. Addresses the stalls reported in #981 and #1198; a live Windows run is still to do.
2026-11-09 16:50:18 +08:00
Fábio Soares 2307e12df5 Keep one OpenCode Go session id per installation (#1293)
OpenCode Go backends that weren't added through Settings (from an older version, or found from an environment key) had no saved session id, so each run sent a new one. The app and the CLI now save one at startup for any OpenCode Go backend that has none, before any session lock is taken, and keep it across restarts. An OpenCode error that comes without a message now shows its name, HTTP status and the start of the response body instead of "no error details".

Refs #1225
2026-11-09 16:41:55 +08:00
Nibras Abo Alzahab 30d884284e Devin as a coding agent over ACP, authenticated with the backend's key (#562)
Devin can be added as a coding agent. Builds talk to `devin acp`, which takes our tool server and sends its permission requests to the approval policy; since Devin doesn't use its own CLI sign-in over ACP, the session authenticates with the key stored for that backend, sent only to the local process and only when Devin offers that method. The key is looked up only for agents that authenticate this way, so other agents never touch the keychain. One-off questions use `devin -p`, and `craft-anything-cli ai add --acp` sets an agent to ACP.
2026-11-09 16:34:47 +08:00
JG Tromp e101fa5ba0 Draw the Send button, two corners and some text from the theme's tokens and type scale (R2.9) (#1279)
The Send button takes its icon and hover colours from the theme instead of fixed white and black, a sidebar status pill and a palette tag use the theme's small corner radius, code in the chat and evidence uses the app's code size, an evidence summary uses the small and body sizes, and a Just ask question uses the semibold body size of the other card titles.
2026-11-09 15:31:49 +08:00
Cr 9be98367df Find SQLite table options after the column list's own closing parenthesis (R3.12) (#1285)
SQLite keeps a comment after a CREATE TABLE's column list in the stored statement, and the end of the list was taken from the last `)` in the text, so a parenthesis in that comment hid `WITHOUT ROWID` and `STRICT`: such a table read no rows, and its ANY columns lost their STRICT handling. The list's closing parenthesis is now found by tokens, outside comments, strings and quoted names.
2026-11-09 15:30:12 +08:00
Cr 708ed77995 Name asset catalog keys from KEYFORMATWORKAROUND (R3.12) (#1284)
A catalog compiled for a system older than one of its key attributes (display gamut before macOS 10.12) keeps a placeholder in KEYFORMAT and the real attribute in KEYFORMATWORKAROUND. That block is now applied as the system applies it, so the key format and each rendition's key name the real attribute, such as `display-gamut` for a Display P3 variant, instead of `placeholder`.
2026-11-09 15:21:18 +08:00
Cr ae4b5cc3b3 Name code-directory flags with the bits codesign uses (R3.12) (#1281)
A code signature's flag names used the wrong bits for hard, kill, expires, restrict, enforcement and library-validation, and named two of them as other flags, so a library-validation signature showed no flag names and a hardened one read "allowed-entitlements". The names now follow the bits and words `codesign -d` shows.
2026-11-09 15:19:05 +08:00
Justin John 7bb67227c1 Ask OpenRouter again for an answer the key can afford when it refuses the full length (R5.5, #1213) (#1280)
With no `max_tokens`, OpenRouter holds a model's whole output limit against the key's credit, so a key that still had money was refused with 402 "can only afford N" before the model ran. On that refusal the request is now sent once more with the answer capped at what the key can afford, and the cap is kept for the conversation. A cap under 4,096 tokens, a repeat refusal and other providers stay a billing error as before.

Fixes #1213
2026-11-09 15:10:10 +08:00