gdharness 0.12.4 → 0.12.5
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 +6 -3
- package/build/index.js +2 -2
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -15729,7 +15729,7 @@ var init_tool_definitions = __esm(() => {
|
|
|
15729
15729
|
},
|
|
15730
15730
|
{
|
|
15731
15731
|
name: "editor_output",
|
|
15732
|
-
description: "What the project started by editor_run has printed, as entries with a severity: the errors and warnings the engine reported, each with where it happened, and everything else as info. Answers with the counts and the verdict as well as the entries. A run that has quit still answers here, with running false and its exit code, until the next one starts. A run this server started also answers with transcript, the file both its streams are written to: uncapped, written while the run is going, and the thing to read or tail for a long run rather than the engine's own log, which every engine start rotates away.",
|
|
15732
|
+
description: "What the project started by editor_run has printed, as entries with a severity: the errors and warnings the engine reported, each with where it happened, and everything else as info. Answers with the counts and the verdict as well as the entries. A run that has quit still answers here, with running false and its exit code, until the next one starts. A run this server started also answers with transcript, the file both its streams are written to: uncapped, written while the run is going, and the thing to read or tail for a long run rather than the engine's own log, which every engine start rotates away. Read the file for output and this answer for state: running is asked of the operating system, endedBy says whether gdharness ended the run, and a transcript that has stopped growing is a run between prints rather than a run that is over.",
|
|
15733
15733
|
parameters: {
|
|
15734
15734
|
severity: {
|
|
15735
15735
|
type: "string",
|
|
@@ -38152,7 +38152,7 @@ class GodotServer {
|
|
|
38152
38152
|
notes.push("Nothing here ended this run: it stopped on its own or something outside this server stopped it.");
|
|
38153
38153
|
}
|
|
38154
38154
|
if (run.transcript !== null && selected.omitted > 0) {
|
|
38155
|
-
notes.push(`Everything this run has printed is in ${run.transcript}, uncapped and still being written.`);
|
|
38155
|
+
notes.push(`Everything this run has printed is in ${run.transcript}, uncapped and still being written. Read it for output, not for whether the run is alive: running above is asked of the operating system, and a transcript that stops growing is a run between prints.`);
|
|
38156
38156
|
}
|
|
38157
38157
|
return this.jsonTextResponse({
|
|
38158
38158
|
running: stillRunning(run),
|
|
@@ -39829,7 +39829,10 @@ that is running, and the project on disk. ${TOOL_SPECS.length} tools, named \`do
|
|
|
39829
39829
|
false is a runtime that is not coming and true is a game still on its way up.
|
|
39830
39830
|
- Read \`editor_output\` after every run. It returns the engine's errors and warnings as entries
|
|
39831
39831
|
with their backtraces, and a \`clean\` verdict, so a run that printed an error is one call away
|
|
39832
|
-
from being known.
|
|
39832
|
+
from being known. For a long run it also names a transcript file: read that for output and this
|
|
39833
|
+
answer for state. Never decide a run has ended by watching the file stop growing, or a process
|
|
39834
|
+
list, or a timeout. \`running\` is asked of the operating system and \`endedBy\` says whether
|
|
39835
|
+
gdharness ended it; a bench between prints looks exactly like a bench that died to everything else.
|
|
39833
39836
|
- One server, one editor. A second project is a second harness session with its own server, and
|
|
39834
39837
|
that works: each editor is opened on its own language server and debug adapter ports, and says
|
|
39835
39838
|
where it serves. Two editors on one project is the thing to refuse.
|
package/build/index.js
CHANGED
|
@@ -28600,7 +28600,7 @@ var TOOL_SPECS = [
|
|
|
28600
28600
|
},
|
|
28601
28601
|
{
|
|
28602
28602
|
name: "editor_output",
|
|
28603
|
-
description: "What the project started by editor_run has printed, as entries with a severity: the errors and warnings the engine reported, each with where it happened, and everything else as info. Answers with the counts and the verdict as well as the entries. A run that has quit still answers here, with running false and its exit code, until the next one starts. A run this server started also answers with transcript, the file both its streams are written to: uncapped, written while the run is going, and the thing to read or tail for a long run rather than the engine's own log, which every engine start rotates away.",
|
|
28603
|
+
description: "What the project started by editor_run has printed, as entries with a severity: the errors and warnings the engine reported, each with where it happened, and everything else as info. Answers with the counts and the verdict as well as the entries. A run that has quit still answers here, with running false and its exit code, until the next one starts. A run this server started also answers with transcript, the file both its streams are written to: uncapped, written while the run is going, and the thing to read or tail for a long run rather than the engine's own log, which every engine start rotates away. Read the file for output and this answer for state: running is asked of the operating system, endedBy says whether gdharness ended the run, and a transcript that has stopped growing is a run between prints rather than a run that is over.",
|
|
28604
28604
|
parameters: {
|
|
28605
28605
|
severity: {
|
|
28606
28606
|
type: "string",
|
|
@@ -30934,7 +30934,7 @@ class GodotServer {
|
|
|
30934
30934
|
notes.push("Nothing here ended this run: it stopped on its own or something outside this server stopped it.");
|
|
30935
30935
|
}
|
|
30936
30936
|
if (run.transcript !== null && selected.omitted > 0) {
|
|
30937
|
-
notes.push(`Everything this run has printed is in ${run.transcript}, uncapped and still being written.`);
|
|
30937
|
+
notes.push(`Everything this run has printed is in ${run.transcript}, uncapped and still being written. Read it for output, not for whether the run is alive: running above is asked of the operating system, and a transcript that stops growing is a run between prints.`);
|
|
30938
30938
|
}
|
|
30939
30939
|
return this.jsonTextResponse({
|
|
30940
30940
|
running: stillRunning(run),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdharness",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.5",
|
|
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",
|