gdharness 1.0.10 → 1.0.11

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 CHANGED
@@ -15348,6 +15348,9 @@ function projectPathSentence(without = callsWithoutProjectPath()) {
15348
15348
  const named = without.map((name) => `\`${name}\``).join(", ");
15349
15349
  return `Every call takes \`projectPath\` except ${named}, which ${without.length === 1 ? "takes" : "take"} none`;
15350
15350
  }
15351
+ function theGamePicked() {
15352
+ return "the game this server started or is playing when it is among those running, named under " + "`answeredBy` where there was a choice; else the only game there is; else a refusal naming " + "every game, which is what a machine running two projects at once gets";
15353
+ }
15351
15354
  function toolSpec(name) {
15352
15355
  return SPECS_BY_NAME[name];
15353
15356
  }
@@ -15408,7 +15411,7 @@ var init_tool_definitions = __esm(() => {
15408
15411
  };
15409
15412
  RUNNING_PROJECT_PATH = {
15410
15413
  type: "string",
15411
- description: "Which game, when more than one is running: the project directory it was started from. Not needed with one game."
15414
+ description: `Which game, when more than one is running: the project directory it was started from. The pick without it, in order: ${theGamePicked().replaceAll("`", "")}. Not needed with one game, nor for a call to this server's own.`
15412
15415
  };
15413
15416
  RUNNING_PID = {
15414
15417
  type: "number",
@@ -42443,7 +42446,8 @@ function renderToolsMarkdown() {
42443
42446
  "`op`. An unknown op or argument is refused with the valid set listed. Generated from the server.",
42444
42447
  "",
42445
42448
  `${projectPathSentence()}: the \`runtime_*\` and \`debug_*\` ones pick between running games`,
42446
- "instead, and the others answer about the editor on this server. An argument a tool does not",
42449
+ "instead, and the others answer about the editor on this server. The pick, when a call names",
42450
+ `neither \`projectPath\` nor \`pid\`: ${theGamePicked()}. An argument a tool does not`,
42447
42451
  "declare is refused rather than ignored. Answers are read from the engine after the change, not",
42448
42452
  "echoed from the request. Engine stderr comes back under `engine_messages`.",
42449
42453
  "",
@@ -42503,9 +42507,8 @@ that is running, and the project on disk. ${TOOL_SPECS.length} tools, named \`do
42503
42507
 
42504
42508
  - ${projectPathSentence()}. The \`runtime_*\` and \`debug_*\` ones pick between running
42505
42509
  games instead, by \`projectPath\`, or by \`pid\` when several run from one project, as a bench
42506
- and its workers do: without \`pid\` the game this server started or plays is the one asked, and
42507
- the answer says so under \`answeredBy\`; the others answer about the editor this server is
42508
- connected to. There is no ambient project, and an argument a tool does not declare is refused
42510
+ and its workers do. Naming neither picks ${theGamePicked()}; the others answer about the editor
42511
+ this server is connected to. There is no ambient project, and an argument a tool does not declare is refused
42509
42512
  rather than ignored.
42510
42513
  - \`editor_status\` says whether an editor is connected and whether its addon matches the server.
42511
42514
  \`addonIsStale\` means they differ, and \`staleNote\` says which half is behind: an editor that
package/build/index.js CHANGED
@@ -29210,13 +29210,16 @@ function opTakes(spec, op, name) {
29210
29210
  function argumentsOf(spec, op) {
29211
29211
  return Object.keys(spec.parameters).filter((name) => opTakes(spec, op, name));
29212
29212
  }
29213
+ function theGamePicked() {
29214
+ return "the game this server started or is playing when it is among those running, named under " + "`answeredBy` where there was a choice; else the only game there is; else a refusal naming " + "every game, which is what a machine running two projects at once gets";
29215
+ }
29213
29216
  var PROJECT_PATH = {
29214
29217
  type: "string",
29215
29218
  description: "Absolute path to the project directory, the one holding project.godot."
29216
29219
  };
29217
29220
  var RUNNING_PROJECT_PATH = {
29218
29221
  type: "string",
29219
- description: "Which game, when more than one is running: the project directory it was started from. Not needed with one game."
29222
+ description: `Which game, when more than one is running: the project directory it was started from. The pick without it, in order: ${theGamePicked().replaceAll("`", "")}. Not needed with one game, nor for a call to this server's own.`
29220
29223
  };
29221
29224
  var RUNNING_PID = {
29222
29225
  type: "number",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdharness",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
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",