Commit Graph
290 Commits
Author SHA1 Message Date
Afloat f0b51d1bee Keep file padding outside the virtual image (R3.12) (#1120)
When a section or segment holds more file bytes than it maps into memory, the padding past its virtual size no longer gets a virtual address, and reads at an address stop at the mapped end instead of running into the padding.
2026-11-09 10:38:52 +08:00
Afloat eb57591a89 Read native pointers at the binary's declared width (R3.12) (#1119) (#1119)
Pointer reads follow the image's width: 16-bit binaries read two-byte pointers instead of four, and an unknown width reads nothing instead of guessing.
2026-11-09 10:37:46 +08:00
Afloat d85f75b2de Reject malformed tar sizes before placing the next member (R3.12) (#1135) (#1135)
A GNU base-256 number with its sign bit set is negative, which an unsigned tar header field such as a member's size can't be; it is now rejected instead of being read as a huge size.
2026-11-09 10:35:07 +08:00
RRFZ 6563f92c20 Keep PE version strings whose value is empty (R3.12) (#1252) (#1252)
Resource compilers write an empty version string with no value at all, and the PE reader dropped those. Strings such as `OleSelfRegister`, whose presence is what matters, are now kept with an empty value.
2026-11-09 10:32:39 +08:00
RRFZ 60c638526a Read quoted SQLite column names whole (R3.12) (#1251) (#1251)
A doubled quote inside a quoted column name now stands for one quote instead of ending the name, and single-quoted names, which SQLite accepts, lose their quotes. Keys that name such columns find them, so rowid aliases and WITHOUT ROWID order hold.
2026-11-09 10:32:33 +08:00
Afloat 9d3a288083 Report invalid safetensors metadata and payload layouts (R3.12) (#1257) (#1257)
The safetensors reader checks tensor sizes for the 4-, 6- and 8-bit float types too, refuses a header over 100 MB, warns about metadata values that aren't strings instead of showing them as JSON, shortens long architecture and name fields, and reports tensor data ranges that overlap, leave gaps or leave bytes unclaimed at the end.
2026-11-09 10:30:56 +08:00
Afloat 0c386e8ac8 Read binary plist objects only from supported markers (R3.12) (#1254) (#1254)
The binary plist reader accepts the `bplist0x` versions and reports others as unsupported. An unknown simple marker, a date marker of the wrong width or a dictionary key that isn't a string is now an error, instead of being shown as null or as an invented key.
2026-11-09 10:30:46 +08:00
RRFZ 22511a212a Show added columns' defaults in older WITHOUT ROWID rows (R3.12) (#1250) (#1250)
A WITHOUT ROWID row stored before ALTER TABLE ADD COLUMN has fewer fields than the table has columns. Those rows now show the added columns' DEFAULT values, as rowid tables already did, instead of NULL.
2026-11-09 10:26:20 +08:00
RRFZ 534b287732 Keep SQL comments out of SQLite column definitions (R3.12) (#1249) (#1249)
A comma or quote inside a comment in a CREATE TABLE no longer splits or swallows column definitions, a comment before or right after a column name isn't read as part of it, and a comment inside a definition stays out of its type, so INTEGER PRIMARY KEY still marks the rowid alias.
2026-11-09 10:24:10 +08:00
Nathaniel Caldwell 09a116586a Say where OpenCode 2.x comes from, and record the Linux live runs (R2.2) (#1241) (#1241)
docs/opencode.md now says that runs need OpenCode 2.x, that the install script and npm's `opencode-ai` still give 1.x, and that 2.x comes from npm's `@opencode/cli`, the desktop app's bundled CLI or the GitHub releases, with how to point the backend at it. It also warns not to start OpenCode during a build, since its shared service takes over the build's session. STATUS.md records the Linux live runs, and the roadmap gains the two problems they found.
2026-11-09 10:15:55 +08:00
Afloat b9a352542b Keep filesystem and archive recovery within recorded boundaries (R3.12) (#1246) (#1246)
JFFS2 extents and nodes, ROMFS payloads and header pointers, cramfs names, SquashFS metadata tables and file blocks, and tar PAX records now stay inside the sizes their images record. Out-of-bounds or truncated parts are reported as warnings and mark the recovery incomplete instead of being read past or silently dropped. PAX records need their terminator and a bounded name, and split octal fields in tar headers are rejected.
2026-11-09 10:03:53 +08:00
JG Tromp b78586dc75 Start a .cmd that only runs one .exe by its full path as that .exe (#1238)
On Windows, a .cmd wrapper whose only command is one quoted, absolute .exe path followed by %* is started as that .exe, so its arguments skip cmd.exe (no % expansion, no 8191-character cap, line breaks allowed). Any other wrapper still runs as it is. The test that starts the .exe is Windows-only and isn't run by the Linux gate.

Fixes #1237
2026-11-09 08:25:45 +08:00
BFlat c5ce7c0a8b Let an AI's timeout_secs cover the wait for its answer to start (#1240)
An API backend's timeout_secs now bounds the wait for its answer to start as well as the whole answer, so a request queued behind another tool's on a shared Ollama isn't cut off at five minutes; unset keeps five minutes to start and an hour in all, and a wait that runs out says to set it.

Fixes #1239
2026-11-09 08:12:10 +08:00
JG Tromp 154a091184 Wrap a found AI's description beside its Add button (#1235)
In Settings → AI, a card for an AI found on this computer lays its buttons out first and wraps the name and reason in the width they leave, so a long reason no longer runs under the Add button.
2026-11-09 08:06:14 +08:00
Nathaniel Caldwell 22126eae77 Discover OpenCode's models with a private server (#1232)
OpenCode model discovery, which also runs before every OpenCode turn, now uses --standalone unless the person chose a --server. Plain opencode api started OpenCode's shared service, which resumes every unfinished session on the computer, in any project, and carries on with its commands.

Part of #1115.
2026-11-09 06:52:37 +08:00
Cr 02e51b0243 Keep SQLite values on their columns when a table has VIRTUAL generated columns (R3.12) (#1231)
A VIRTUAL generated column stores no field in a row, so stored values no longer shift one column left: such a column is shown as not read, with a note, in rowid and WITHOUT ROWID tables alike, and a rowid alias after it is filled again.
2026-11-09 06:16:35 +08:00
Nathaniel Caldwell e85e28be5b Remove opencode.md's second doubled passage (R5.2) (#1228)
The older, cut-off copy of the standalone-server sentence in opencode.md's configuration section goes; the newer copy, which also says where the file goes over SSH, stays.
2026-11-09 05:45:29 +08:00
Nathaniel Caldwell 309adc7fc2 Remove STATUS.md's doubled rows and opencode.md's doubled paragraph (#1226)
Five STATUS rows that merges had kept twice, with different updates in each copy, are now one row each, the most complete copy (OpenCode models and thinking now says once that SSH runs get the tools), and opencode.md loses its older doubled paragraph. A pitfall says how to merge a conflicting table row.
2026-11-09 04:41:22 +08:00
Alex Joaquim Pereira 0326b4de80 Refuse saved Claude session reuse of a Deep session in Clean room (R2.9) (#1224)
A --resume of the project's Deep session, or a --continue, saved in the Claude Code backend's extra arguments no longer bypasses the mode check: a Clean room build or question is refused before the agent starts, with how to fix it. Other agents, other sessions and Deep runs are unaffected.
2026-11-09 03:35:59 +08:00
RRFZ 0a8cc08891 Accept binary plist arrays that repeat one stored value (R3.12) (#1219)
A binary plist whose array or set names one stored object many times, as Python's plistlib writes equal values, is no longer refused; only its references must fit in the file. The node cap is checked before memory is reserved, and copied data and text share a byte budget, so repeats can't expand without bound.
2026-11-09 03:22:41 +08:00
Roman Serikoff f34724796b Don't continue a Deep chat's session in a Clean room shared chat (R2.9) (#1223)
When the shared investigation chat switches from Deep to Clean room, it starts a new agent session instead of resuming the Deep one, which may carry what Deep mode read; a context with no recorded mode counts as Deep.
2026-11-09 03:08:30 +08:00
Roman Serikoff e440907a93 Play Python packages and built Java jars (R2.7) (#1209)
Play, screenshots and self-tests start a Python project's one package with a __main__.py as python3 -m <name>, and a Maven or Gradle project's one runnable jar (its manifest names a Main-Class, read without loading the jar) with java -jar. Maven now builds with package, so the jar exists after our own build.
2026-11-09 03:03:45 +08:00
BFlat bc9aca4a45 Refresh the README screenshots (#1218)
The four README pictures are re-rendered from the current app, showing what has landed since October, and the snapshot example gives every scene a made-up projects folder so no picture shows a real account's path.
2026-11-09 02:40:39 +08:00
Alex Joaquim Pereira 5f839d8778 Cut truncated SQLite TEXT at a character boundary (R3.12) (#1220)
A TEXT value cut at the 4 KiB cap ends at a character boundary in UTF-8 and UTF-16, so its shown prefix gains no replacement character it did not have; the value is still marked as cut.
2026-11-09 02:35:24 +08:00
Alex Joaquim Pereira 0e7e43f418 Record a builder session's mode so Clean room never resumes a Deep one (R2.9) (#1202)
craft.json keeps the mode a builder's saved session ran in (version 4, with a migration that counts an older saved session as Deep). A build or question resumes a session only in the mode it was saved in, so Clean room never continues one that may have read inside the original, and a Deep session is kept for a later Deep run.
2026-11-09 02:11:26 +08:00
Reio Kruusement 40feee0d11 Add Estonian UI translations (#1205)
Estonian (et) joins the app's languages with a complete catalogue, in Settings and the coverage check, and requests in Estonian keep their project kind: a game (mäng) or a website (veebileht, koduleht, veebisait), with the head of the main clause deciding when both are named.
2026-11-09 02:02:56 +08:00
Nathaniel Caldwell 8826ce266f Read tool calls a model writes in Qwen's markup, and answer calls to tools it wasn't offered (R5.4) (#1173)
A reply in Qwen's <tool_call> markup that a server handed back as text is read as the calls it makes, with arguments typed from the tool's schema; a call to a tool the model wasn't offered gets a plain answer naming its tools, instead of ending the turn.
2026-11-09 01:57:47 +08:00
Nathaniel Caldwell f379a4ec3f Stop sending builders that can't see pictures to screenshots (R5.4) (#1159)
A builder in the API loop, which can't open pictures, is no longer sent to look at screenshots: every brief and check that pointed it at a picture tells it what to use instead (capture.json's layouts, the UI tree, or asking the person). Agent apps keep the picture wording.
2026-11-09 01:57:41 +08:00
BFlatandAfloat cb0bb9d8fa Bound format readers and resolve launch paths (#1217)
Source-map data URLs ignore their fragment, ZIP directories are told by their attributes, rejected ASAR names count toward the limit, a HAR with a UTF-8 BOM parses, .NET bundle members stay before the manifest, Play starts a Python project's one installed console script, and Godot and Electron get an absolute project path.

Supersedes #1140, #1141, #1142, #1143, #1144, #1145 and #1146.

Co-authored-by: Afloat <ShuffleMonkey@163.com>
2026-11-09 01:55:01 +08:00
FuryNocturnTV (Tare Fernandez) 51e613240f Refit to a server's context window once per backend, only when room was made (#1170)
Each backend in a fallback chain gets its own refit after its server refuses a request for its window, and a refused request is asked again only once the conversation was made shorter.
2026-11-09 01:53:05 +08:00
Roman Serikoff 2d5c0cc15a Check a remote host's tool server before a build, and pin what it is sent (R2.8) (#1211)
A remote Claude Code or Codex build checks that craft-anything-cli is on the host before it starts, as OpenCode's already did, and a test pins that a remote tool server is only sent flags every release knows.
2026-11-09 01:47:15 +08:00
Roman Serikoff 1a202ceade Read Aider's project-folder settings before a run (R2.2) (#1210)
The check before an Aider run reads the settings Aider itself reads: .env and .aider.conf.yml in the folder it runs in and at the top of its git repository, an --env-file, then the home folder, so a project that names its model or key is no longer refused.
2026-11-09 01:47:09 +08:00
FuryNocturnTV (Tare Fernandez) 287ac6bdbc Keep a claude wrapper saved by name, and treat a link to the Claude desktop app as the app (#1172)
A claude wrapper saved by name (claude.cmd) is kept when it starts Claude Code, and a link that leads to the Claude desktop app is passed over like the app itself.
2026-11-09 01:44:24 +08:00
Nathaniel Caldwell 4d95d6c1ba Stop the secrets check refusing the committer's own name (R5.2) (#1160)
Git's own author variables are no longer taken for secrets while the hook runs, so a claim that names its author passes; other AUTH-named variables are still checked, and a Unix home folder is listed once.
2026-11-09 01:44:12 +08:00
Roman Serikoff 26b68359cd Make the preview connection-limit test pass on macOS (R5.2) (#1207)
The test sets its read timeout while the connection is still open, as macOS refuses socket options on one it reset.
2026-11-09 01:39:34 +08:00
Justin John 5c17d9059e Delete OpenCode sessions a build left unfinished, including after a killed app and over SSH (R2.2) (#1185)
A stopped, failed or timed-out OpenCode turn deletes the session it started, so OpenCode's own service can't resume it later. A turn records its session while it runs, so one left by a killed app is deleted at the next turn or by doctor, on this computer or over SSH.

Part of #1115. Includes #1176.
2026-11-09 01:38:18 +08:00
Justin John 9edd4838a7 Say to try again later when an engine download's server is busy (#1203)
A download that gets 429 or a 5xx says the server is busy and to try again in a few minutes; a 404 or 410 asks for a report.

Fixes #1193
2026-11-09 01:28:07 +08:00
Alex Joaquim Pereira 76f62972bc Cut adb and Frida parser lines at a UTF-8 boundary (R3.3) (#1215)
A long adb or Frida output line is cut at the last character boundary within the cap, so a multi-byte character at the cut no longer keeps the whole line.
2026-11-09 01:28:00 +08:00
Agapenor 56aa31976b Say in a build's feed when it runs another program than the saved one (R2.2) (#1150)
* Claim the build's note about a replaced program (#721)

* Say in a build's feed when it runs another program than the saved one (#721)

* Leave a bare program name found as the same agent out of the note

* Say which program to choose when a build runs another one
2026-11-08 01:33:00 +01:00
BFlatandHasnain 1f8508a104 Add a non-interactive Aider adapter (R2.2) (#1104)
Aider gets its task with --message and flags that stop it asking, updating, editing .gitignore or opening a page; a chat outside a build gets --dry-run. A run is refused before launch when no model or key is set up or an OpenRouter model has no OpenRouter key (#72), and Clean room is refused because Aider's reads can't be checked.

Supersedes #1061.

Co-authored-by: Hasnain <161151300+hasnain607@users.noreply.github.com>
2026-11-07 21:46:03 +08:00
Yash Patadiya f81054c4f4 Record Windows 11 verification for stopped watched programs (R5.2) (#1099)
The roadmap line for a watched program that is stopped is ticked: on Windows 11 nothing it started is left running.
2026-11-07 20:22:22 +08:00
BFlat 935b646f3c Let an API backend's timeout_secs give a slow model longer to answer (#1098)
An API backend's streamed answer is bounded by the AI's timeout_secs (one hour when unset), so a slow local model can finish a long answer, and a stream that runs out of time says to set it.
2026-11-07 19:13:53 +08:00
BFlat 4ddf72bc0a Keep the start guard tests from releasing each other's lock (#1097)
The two start guard tests share the process-wide held mark, so one's opened() could drop the other's lock mid-test and fail main now and then. They now take a shared test lock.
2026-11-07 19:12:43 +08:00
Alex Joaquim Pereira c9b81ff492 Tell a running build what was asked in Just ask (R2.9) (#1094)
A note sent while a build runs now carries the latest Just ask answers its mode may show, including through Claude Code's note hook, and they count as told only once the builder has them. A Clean room run never gets Deep answers.
2026-11-07 17:58:14 +08:00
Afloat 464935ef96 Launch Go apps with a single command package (R2.7) (#1092)
A Go project with no root main.go and exactly one cmd/<name>/main.go starts with go run ./cmd/<name> for Play, screenshots and self-tests.
2026-11-07 17:24:51 +08:00
Afloat d8087e70fc Read DNS service records and retain questionless address announcements (R3.12) (#1090)
SRV, SOA and CAA answers show their fields, address records of the wrong size are incomplete, a truncated reply says so, and unsolicited mDNS announcements keep the address under the record name.
2026-11-07 17:24:44 +08:00
Afloat 23000e314a Keep system tools and media players on the app build path (R2.7) (#1093)
Requests like "a low level disk tool", "an MPEG 2 player" and "a single player app for movies" stay apps, while other game cues in the request still win.
2026-11-07 16:42:22 +08:00
Afloat aed326ca6d Bound malformed pcapng records and preserve capture timestamp precision (R3.12) (#1091)
Rejected packet blocks share the packet budget and are reported once per reason, a timestamp fraction outside its second is ignored, and sub-nanosecond resolutions keep the interface offset.
2026-11-07 16:42:17 +08:00
Afloat 6cbc66984c Report malformed ClientHello offers and retain unknown TLS versions (R3.12) (#1089)
A ClientHello with impossible vector lengths, repeated extensions or repeated host names is marked partial, and only registered GREASE values are dropped.
2026-11-07 16:40:09 +08:00
Afloat 2a5845c64b Export Unity floating-point textures as PNG (R3.9) (#1088)
RHalf, RGHalf, RGBAHalf, RFloat, RGFloat and RGBAFloat textures now decode: RGB is treated as linear light and clipped, and NaN stays dark.
2026-11-07 16:36:59 +08:00