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.
- package/dist/tools/playtest.js +3 -2
- package/package.json +1 -1
package/dist/tools/playtest.js
CHANGED
|
@@ -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
|
-
'• { "
|
|
28
|
-
"
|
|
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()))
|