gdharness 0.13.26 → 0.13.27

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
@@ -15401,9 +15401,9 @@ var init_tool_definitions = __esm(() => {
15401
15401
  button: { type: "number", description: "Mouse: 1 left, 2 right, 3 middle. Joypad: the button index." },
15402
15402
  axis: { type: "number", description: "Joypad axes: the axis index." },
15403
15403
  axisValue: { type: "number", description: "Joypad axes: -1 or 1." },
15404
- ctrl: { type: "boolean" },
15405
- alt: { type: "boolean" },
15406
- shift: { type: "boolean" }
15404
+ ctrl: { type: "boolean", description: "Keys: bind it with Ctrl held." },
15405
+ alt: { type: "boolean", description: "Keys: bind it with Alt held." },
15406
+ shift: { type: "boolean", description: "Keys: bind it with Shift held." }
15407
15407
  },
15408
15408
  required: ["type"],
15409
15409
  additionalProperties: false
@@ -15441,6 +15441,7 @@ var init_tool_definitions = __esm(() => {
15441
15441
  };
15442
15442
  COLOUR = {
15443
15443
  type: "object",
15444
+ description: "set_theme_color: r, g and b from 0 to 1, with a optional and opaque by default.",
15444
15445
  properties: { r: { type: "number" }, g: { type: "number" }, b: { type: "number" }, a: { type: "number" } },
15445
15446
  required: ["r", "g", "b"],
15446
15447
  additionalProperties: false
@@ -15712,9 +15713,9 @@ var init_tool_definitions = __esm(() => {
15712
15713
  projectPath: PROJECT_PATH,
15713
15714
  scenePath: SCENE_PATH,
15714
15715
  sourceNodePath: { type: "string", description: "The node that emits." },
15715
- signalName: { type: "string" },
15716
+ signalName: { type: "string", description: 'The signal it emits, such as "pressed".' },
15716
15717
  targetNodePath: { type: "string", description: "The node whose method is called." },
15717
- methodName: { type: "string" },
15718
+ methodName: { type: "string", description: "The method on that node, called when it emits." },
15718
15719
  flags: { type: "number", description: "connect: Object.ConnectFlags, such as 1 for deferred." },
15719
15720
  nodePath: { type: "string", description: "list: only connections involving this node." }
15720
15721
  },
@@ -15738,7 +15739,10 @@ var init_tool_definitions = __esm(() => {
15738
15739
  projectPath: PROJECT_PATH,
15739
15740
  scenePath: SCENE_PATH,
15740
15741
  playerNodePath: { type: "string", description: "The AnimationPlayer node." },
15741
- animationName: { type: "string" },
15742
+ animationName: {
15743
+ type: "string",
15744
+ description: "The animation in the player. add_state: the one that state plays."
15745
+ },
15742
15746
  length: { type: "number", description: "create: seconds. Default 1." },
15743
15747
  loopMode: {
15744
15748
  type: "string",
@@ -15748,13 +15752,13 @@ var init_tool_definitions = __esm(() => {
15748
15752
  step: { type: "number", description: "create: keyframe snap in seconds. Default 0.1." },
15749
15753
  track: ANIMATION_TRACK,
15750
15754
  animTreePath: { type: "string", description: "The AnimationTree node." },
15751
- stateName: { type: "string" },
15755
+ stateName: { type: "string", description: "add_state: the state to add." },
15752
15756
  stateMachinePath: {
15753
15757
  type: "string",
15754
15758
  description: "add_state: a nested state machine. Default the root."
15755
15759
  },
15756
- fromState: { type: "string" },
15757
- toState: { type: "string" },
15760
+ fromState: { type: "string", description: "connect_states: the state the transition leaves." },
15761
+ toState: { type: "string", description: "connect_states: the state it arrives at." },
15758
15762
  transitionType: {
15759
15763
  type: "string",
15760
15764
  enum: ["immediate", "sync", "at_end"],
@@ -16205,9 +16209,9 @@ var init_tool_definitions = __esm(() => {
16205
16209
  ops: ["choose"],
16206
16210
  description: "choose: the item to take, by where it is in the list, when text will not do."
16207
16211
  },
16208
- shift: { type: "boolean", ops: ["key"] },
16209
- ctrl: { type: "boolean", ops: ["key"] },
16210
- alt: { type: "boolean", ops: ["key"] },
16212
+ shift: { type: "boolean", ops: ["key"], description: "key: hold Shift with it. Default false." },
16213
+ ctrl: { type: "boolean", ops: ["key"], description: "key: hold Ctrl with it. Default false." },
16214
+ alt: { type: "boolean", ops: ["key"], description: "key: hold Alt with it. Default false." },
16211
16215
  x: {
16212
16216
  type: "number",
16213
16217
  ops: ["mouse_click", "mouse_motion"],
@@ -40686,8 +40690,8 @@ function renderToolsMarkdown() {
40686
40690
  lines.push("Arguments:", "");
40687
40691
  for (const [name, schema] of parameters) {
40688
40692
  const type = namedType(schema["type"]);
40689
- const note = typeof schema["description"] === "string" ? ` ${schema["description"]}` : "";
40690
- lines.push(`- \`${name}\` (${type}):${note}`);
40693
+ const note = typeof schema["description"] === "string" ? `: ${schema["description"]}` : "";
40694
+ lines.push(`- \`${name}\` (${type})${note}`);
40691
40695
  }
40692
40696
  lines.push("");
40693
40697
  }
package/build/index.js CHANGED
@@ -28508,9 +28508,9 @@ var INPUT_EVENTS = {
28508
28508
  button: { type: "number", description: "Mouse: 1 left, 2 right, 3 middle. Joypad: the button index." },
28509
28509
  axis: { type: "number", description: "Joypad axes: the axis index." },
28510
28510
  axisValue: { type: "number", description: "Joypad axes: -1 or 1." },
28511
- ctrl: { type: "boolean" },
28512
- alt: { type: "boolean" },
28513
- shift: { type: "boolean" }
28511
+ ctrl: { type: "boolean", description: "Keys: bind it with Ctrl held." },
28512
+ alt: { type: "boolean", description: "Keys: bind it with Alt held." },
28513
+ shift: { type: "boolean", description: "Keys: bind it with Shift held." }
28514
28514
  },
28515
28515
  required: ["type"],
28516
28516
  additionalProperties: false
@@ -28548,6 +28548,7 @@ var TILEMAP_CELLS = {
28548
28548
  };
28549
28549
  var COLOUR = {
28550
28550
  type: "object",
28551
+ description: "set_theme_color: r, g and b from 0 to 1, with a optional and opaque by default.",
28551
28552
  properties: { r: { type: "number" }, g: { type: "number" }, b: { type: "number" }, a: { type: "number" } },
28552
28553
  required: ["r", "g", "b"],
28553
28554
  additionalProperties: false
@@ -28819,9 +28820,9 @@ var TOOL_SPECS = [
28819
28820
  projectPath: PROJECT_PATH,
28820
28821
  scenePath: SCENE_PATH,
28821
28822
  sourceNodePath: { type: "string", description: "The node that emits." },
28822
- signalName: { type: "string" },
28823
+ signalName: { type: "string", description: 'The signal it emits, such as "pressed".' },
28823
28824
  targetNodePath: { type: "string", description: "The node whose method is called." },
28824
- methodName: { type: "string" },
28825
+ methodName: { type: "string", description: "The method on that node, called when it emits." },
28825
28826
  flags: { type: "number", description: "connect: Object.ConnectFlags, such as 1 for deferred." },
28826
28827
  nodePath: { type: "string", description: "list: only connections involving this node." }
28827
28828
  },
@@ -28845,7 +28846,10 @@ var TOOL_SPECS = [
28845
28846
  projectPath: PROJECT_PATH,
28846
28847
  scenePath: SCENE_PATH,
28847
28848
  playerNodePath: { type: "string", description: "The AnimationPlayer node." },
28848
- animationName: { type: "string" },
28849
+ animationName: {
28850
+ type: "string",
28851
+ description: "The animation in the player. add_state: the one that state plays."
28852
+ },
28849
28853
  length: { type: "number", description: "create: seconds. Default 1." },
28850
28854
  loopMode: {
28851
28855
  type: "string",
@@ -28855,13 +28859,13 @@ var TOOL_SPECS = [
28855
28859
  step: { type: "number", description: "create: keyframe snap in seconds. Default 0.1." },
28856
28860
  track: ANIMATION_TRACK,
28857
28861
  animTreePath: { type: "string", description: "The AnimationTree node." },
28858
- stateName: { type: "string" },
28862
+ stateName: { type: "string", description: "add_state: the state to add." },
28859
28863
  stateMachinePath: {
28860
28864
  type: "string",
28861
28865
  description: "add_state: a nested state machine. Default the root."
28862
28866
  },
28863
- fromState: { type: "string" },
28864
- toState: { type: "string" },
28867
+ fromState: { type: "string", description: "connect_states: the state the transition leaves." },
28868
+ toState: { type: "string", description: "connect_states: the state it arrives at." },
28865
28869
  transitionType: {
28866
28870
  type: "string",
28867
28871
  enum: ["immediate", "sync", "at_end"],
@@ -29312,9 +29316,9 @@ var TOOL_SPECS = [
29312
29316
  ops: ["choose"],
29313
29317
  description: "choose: the item to take, by where it is in the list, when text will not do."
29314
29318
  },
29315
- shift: { type: "boolean", ops: ["key"] },
29316
- ctrl: { type: "boolean", ops: ["key"] },
29317
- alt: { type: "boolean", ops: ["key"] },
29319
+ shift: { type: "boolean", ops: ["key"], description: "key: hold Shift with it. Default false." },
29320
+ ctrl: { type: "boolean", ops: ["key"], description: "key: hold Ctrl with it. Default false." },
29321
+ alt: { type: "boolean", ops: ["key"], description: "key: hold Alt with it. Default false." },
29318
29322
  x: {
29319
29323
  type: "number",
29320
29324
  ops: ["mouse_click", "mouse_motion"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gdharness",
3
- "version": "0.13.26",
3
+ "version": "0.13.27",
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",