gdharness 1.1.19 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +2 -1
- package/build/index.js +2 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -8725,7 +8725,8 @@ function classRemedy(entries) {
|
|
|
8725
8725
|
}
|
|
8726
8726
|
const declaring = declaringScripts(entries);
|
|
8727
8727
|
const reload = declaring.length === 1 ? `editor_rescan with reloadScript set to ${declaring[0]}` : `editor_rescan with reloadScript, a call each for ${declaring.join(" and ")} since it takes one script,`;
|
|
8728
|
-
|
|
8728
|
+
const oneAtATime = declaring.length === 1 ? "" : " Take them one at a time: a rescan that brings in a class also reloads every script naming it and lists them under dependentsReloaded, so a script listed there needs no call of its own.";
|
|
8729
|
+
return `For ${entries.map(written).join(", ")}, run ${reload} first.${oneAtATime} In the one project ` + "that has reproduced a stale enum member, three times, the reload cleared it at once each time, " + "and the one plain editor_rescan tried left the diagnostic standing.";
|
|
8729
8730
|
}
|
|
8730
8731
|
function failedReloadNote(failed) {
|
|
8731
8732
|
const missing = (before, after) => before.filter((name) => !after.includes(name));
|
package/build/index.js
CHANGED
|
@@ -26274,7 +26274,8 @@ function classRemedy(entries) {
|
|
|
26274
26274
|
}
|
|
26275
26275
|
const declaring = declaringScripts(entries);
|
|
26276
26276
|
const reload = declaring.length === 1 ? `editor_rescan with reloadScript set to ${declaring[0]}` : `editor_rescan with reloadScript, a call each for ${declaring.join(" and ")} since it takes one script,`;
|
|
26277
|
-
|
|
26277
|
+
const oneAtATime = declaring.length === 1 ? "" : " Take them one at a time: a rescan that brings in a class also reloads every script naming it and lists them under dependentsReloaded, so a script listed there needs no call of its own.";
|
|
26278
|
+
return `For ${entries.map(written).join(", ")}, run ${reload} first.${oneAtATime} In the one project ` + "that has reproduced a stale enum member, three times, the reload cleared it at once each time, " + "and the one plain editor_rescan tried left the diagnostic standing.";
|
|
26278
26279
|
}
|
|
26279
26280
|
function failedReloadNote(failed) {
|
|
26280
26281
|
const missing = (before, after) => before.filter((name) => !after.includes(name));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdharness",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.20",
|
|
4
4
|
"mcpName": "io.github.Aureliolo/gdharness",
|
|
5
5
|
"description": "A harness for driving a Godot 4 project from an agent: editor addons, a runtime bridge into the running game, an MCP server in front of them, and a CLI that installs and diagnoses the Godot side.",
|
|
6
6
|
"type": "module",
|