sbox-mcp-server 1.17.0 → 1.17.1

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.
@@ -24,8 +24,9 @@ export function registerPlaytestTools(server, bridge) {
24
24
  '• { "jump": "0,0,400" } — invoke the controller\'s Jump(velocity).',
25
25
  '• { "set": {"component":"PlayerController","property":"WorldPosition","to":"100,0,0"} } — set a runtime property (toggles, or teleport via WorldPosition — the robust positioning fallback).',
26
26
  '• { "wait": 10 } — advance N frames.',
27
- '• { "assert": {"read":"WorldPosition.x","op":">","value":100,"desc":"walked forward"} } read a value and compare IN-FRAME. read = "WorldPosition[.x|.y|.z]" (whole vector for facing-independent movement) or "<Component>.<Property>[.x|.y|.z|.Count]". op = > < >= <= == != changed. Records pass/fail.',
28
- "Tip: assert movement with read:'WorldPosition' op:'changed' (facing-independent), and transient state (IsAirborne) right after the action.",
27
+ '• { "capture": "after-jump" } — screenshot the live player-POV camera at this frame; the PNG path is recorded in the transcript (diagnostic, never pass/fail). Pass true for no label.',
28
+ '• { "assert": {"read":"Displacement","op":">","value":50,"desc":"moved >50u"} } read a value and compare IN-FRAME. read = "Displacement" (scalar distance moved from job start — the clean facing-independent movement proof), "WorldPosition[.x|.y|.z]", or "<Component>.<Property>[.x|.y|.z|.Count]". op = > < >= <= == != changed. Records pass/fail.',
29
+ "Tip: prove movement with read:'Displacement' op:'>' (facing-independent, unambiguous), and catch transient state (IsAirborne) right after the action.",
29
30
  ].join("\n"), {
30
31
  steps: z
31
32
  .array(z.record(z.string(), z.any()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbox-mcp-server",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "MCP Server for s&box game engine — enables Claude to build games through conversation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",