Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(agent): what a model can see is resolved per model, in three states

esengine8c5012c64481
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4814c26c6..eade5714d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,8 @@ published separately; it ships inside the editor.
### Fixed
+- **A model that can see is no longer told it cannot.** Whether a screenshot could reach the agent was one answer per provider, and DeepSeek publishes a Flash that takes images beside a Pro its vision guide does not name — so the one boolean was wrong about one of them, and wrong the quiet way: the model that can see was told to read `screenshot`'s coarse text grid instead of looking at the picture. It is resolved per model now, in three states, because "the vendor says no" and "nobody has said" are different answers and only the second is worth going to find out about. `deepseek-flash` is the recommended name and the retired `deepseek-v4-flash` still resolves, since the vendor still serves it.
+
- **A packaged game answers "how do I get there?" again.** The host's `pathBetween` — what a driven playthrough and the automation ask for a route — looked `Nav` up in the registry of COMPONENTS when the AI runtimes moved to their own subpath. `Nav` is a resource and has never been in that one, so the lookup answered nothing rather than throwing, every route came back as no route, and a game that walks fine by hand could not be driven anywhere. It asks the resource door now.
- **Pressing Play could kill the session it was starting.** The editor hands the scene to the realm from two doors — directly on a warm re-Play, and on the realm's greeting when it cold-boots — and a greeting that lands while `start()` is still rebuilding scripts goes through both. The realm read the second hand-over as a re-Play and quit the App the first was still booting on, which surfaced a few steps later as a null read and a session that never reached a frame. It now ignores a hand-over that arrives during its own boot; both are still posted, because the first is lost often enough that dropping either strands the realm.
diff --git a/desktop b/desktop
index e5c898bbb..df511baec 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit e5c898bbb9af9a2acf358e23f86dc6251644d080
+Subproject commit df511baec9982a23c7a8c5cb4da6524f4aebcdaf
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 597e649cd..69f5d2ea0 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -700,6 +700,8 @@ export const NOTED = {
{ internal: "the editor's preview page names the same subpaths it always did" },
'fix(settings): the module page reads the same asset table the build installs from':
{ note: 'The Engine Modules page no longer calls a module unused that the build then carries.' },
+ 'fix(agent): what a model can see is resolved per model, in three states':
+ { note: 'A model that can see is no longer told it cannot.' },
'fix(runtime): a packaged host looks a resource up in the registry that holds it':
{ note: 'A packaged game answers "how do I get there?" again.' },
'fix(play): a realm ignores a hand-over that lands during its own boot':