@theprototype/agent 1.61.0 → 1.63.0

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/catalog.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "format": 2,
4
4
  "generator": {
5
5
  "source": "tpAgent.tools() via core scripts/agent-tool-catalog.cjs, mapped by tools/agent/src/catalog.js",
6
- "hostTools": 75,
6
+ "hostTools": 78,
7
7
  "dropped": []
8
8
  },
9
9
  "instructions": "You are building in the person's own open theprototype.app tab: a live, shared 3D scene. Every change shows for everyone in the session and can be undone.\nThis may be a VOICE conversation: answer in one or two short spoken sentences and say what changed in plain words (\"Added three trees by the fire\"). Never read out uuids, lists of numbers or JSON.\nIf a tool says the tab is closed or not connected, tell the person to open theprototype.app and press Connect Claude, then wait; do not retry in a loop.\nCall status first: it says whether you may edit (a viewer can only look).\nWhen the person says \"undo that\" or \"take that back\", call undo_last; if it refuses, say who changed what.\nYou act as this person in their own tab: status \"you\" is them (their peer id, name and role); the other users are everyone else.\nCall list_scene before editing so you use real uuids; batch many objects into one call.\nFor \"in front of me\", call where_are_users and build at the spots it gives, facing the person (face_user: true). For \"here\" or \"this\", build at the person's latest ping: at: {ping: \"latest\"}; ask them to ping (Ctrl+Alt+click, or Ping in the menu) if they have none.\nMotion and interaction are flow nodes (create_flow_nodes); call describe_node_types before wiring edges.\nTake a screenshot after each change to check your work.\nWhen asked what you can do here, call what_can_you_do and say its \"say\" line.",
@@ -2284,7 +2284,7 @@
2284
2284
  {
2285
2285
  "name": "set_post",
2286
2286
  "title": "Change the post effects",
2287
- "description": "The scene's post effects (bloom, huesaturation, brightnesscontrast, tonemapping, vignette, grain, chromaticaberration, ao, lut, pixelation, scanlines, dotscreen, smaa; get_post lists every param). effects: [{kind, params, enabled, at, remove}], matched to what is there by id or kind, so repeating a call does not stack a second bloom; replace: true drops the rest; the stack order is the order of effect. This changes the whole scene's look: the first call returns needsConfirm and the host is asked; repeat it with confirmId. One undo step. The answer says shownHere: false with a reason when this screen does not draw post effects (reason \"quality tier\" = the device turned them off to keep its frame rate, usual on a phone: the scene keeps them; say so, and offer to ask with set_quality).\nTake a screenshot after each change to check your work.",
2287
+ "description": "The scene's post effects (bloom, huesaturation, brightnesscontrast, tonemapping, vignette, grain, chromaticaberration, lensflare, godrays, volumetricfog, ao, lut, pixelation, scanlines, dotscreen, antialias {method: traa | smaa} — it replaces the older smaa; get_post lists every param). effects: [{kind, params, enabled, at, remove}], matched to what is there by id or kind, so repeating a call does not stack a second bloom; replace: true drops the rest; the stack order is the order of effect. This changes the whole scene's look: the first call returns needsConfirm and the host is asked; repeat it with confirmId. One undo step. The answer says shownHere: false with a reason when this screen does not draw post effects (reason \"quality tier\" = the device turned them off to keep its frame rate, usual on a phone: the scene keeps them; say so, and offer to ask with set_quality).\nTake a screenshot after each change to check your work.",
2288
2288
  "inputSchema": {
2289
2289
  "type": "object",
2290
2290
  "properties": {
@@ -2353,6 +2353,41 @@
2353
2353
  "openWorldHint": false
2354
2354
  }
2355
2355
  },
2356
+ {
2357
+ "name": "set_look_preset",
2358
+ "title": "Set look preset",
2359
+ "description": "A pro look in one step: preset product (Product shot: studio light, clean AO, neutral tone mapping), cinematic (low sun, volumetric fog, god rays, lens flare, film grain, ACES) or stylised (bright sky, punchy colour, AgX). Sets the sky + light, exposure, tone mapping and the post effects together as ONE undo step, saved in the scene; each device draws its own share (a phone marches less fog, a headset leaves fog / god rays / lens flare out). Replaces the scene's post effects. Changes the whole scene's look: the first call returns needsConfirm and the host is asked; repeat it with confirmId.\nTake a screenshot after each change to check your work.",
2360
+ "inputSchema": {
2361
+ "type": "object",
2362
+ "properties": {
2363
+ "preset": {
2364
+ "type": "string",
2365
+ "enum": [
2366
+ "product",
2367
+ "cinematic",
2368
+ "stylised"
2369
+ ]
2370
+ },
2371
+ "confirmId": {
2372
+ "type": "string",
2373
+ "description": "the id a needsConfirm answer gave: repeat the call with it to get the host's answer and apply"
2374
+ },
2375
+ "wait": {
2376
+ "type": "number",
2377
+ "description": "with confirmId: seconds to wait for the answer (up to 60)"
2378
+ }
2379
+ },
2380
+ "required": [
2381
+ "preset"
2382
+ ]
2383
+ },
2384
+ "annotations": {
2385
+ "title": "Set look preset",
2386
+ "readOnlyHint": false,
2387
+ "destructiveHint": true,
2388
+ "openWorldHint": false
2389
+ }
2390
+ },
2356
2391
  {
2357
2392
  "name": "set_quality",
2358
2393
  "title": "Ask for higher quality on this device",
@@ -2390,6 +2425,60 @@
2390
2425
  "openWorldHint": false
2391
2426
  }
2392
2427
  },
2428
+ {
2429
+ "name": "bake_light",
2430
+ "title": "Bake light",
2431
+ "description": "Bake light (Pro look): soft shadows in corners (AO) and light bouncing off walls, worked out once for every object that does not move (no physics body that moves, no flow or clip animation) and saved with the scene — everyone sees it, it undoes as one step. do: bake (the default; runs on this device, takes seconds; asks the host first like set_post), status (read: baked?, stale = things moved since, notes such as objects with overlapping UVs that got AO only), cancel, clear (remove it), strength (light 0-3, ao 0-1). quality: draft, normal, high. Bake AFTER the layout is final; bake again when status says stale. wait: seconds to wait for the result (default 60, max 120).\nTake a screenshot after each change to check your work.",
2432
+ "inputSchema": {
2433
+ "type": "object",
2434
+ "properties": {
2435
+ "do": {
2436
+ "type": "string",
2437
+ "enum": [
2438
+ "bake",
2439
+ "status",
2440
+ "cancel",
2441
+ "clear",
2442
+ "strength"
2443
+ ]
2444
+ },
2445
+ "quality": {
2446
+ "type": "string",
2447
+ "enum": [
2448
+ "draft",
2449
+ "normal",
2450
+ "high"
2451
+ ]
2452
+ },
2453
+ "light": {
2454
+ "type": "number",
2455
+ "minimum": 0,
2456
+ "maximum": 3,
2457
+ "description": "do strength: bounce light strength (1 = as baked)"
2458
+ },
2459
+ "ao": {
2460
+ "type": "number",
2461
+ "minimum": 0,
2462
+ "maximum": 1,
2463
+ "description": "do strength: corner shadow strength"
2464
+ },
2465
+ "confirmId": {
2466
+ "type": "string",
2467
+ "description": "the id a needsConfirm answer gave: repeat the call with it to get the host's answer and apply"
2468
+ },
2469
+ "wait": {
2470
+ "type": "number",
2471
+ "description": "with confirmId: seconds to wait for the answer (up to 60)"
2472
+ }
2473
+ }
2474
+ },
2475
+ "annotations": {
2476
+ "title": "Bake light",
2477
+ "readOnlyHint": false,
2478
+ "destructiveHint": true,
2479
+ "openWorldHint": false
2480
+ }
2481
+ },
2393
2482
  {
2394
2483
  "name": "get_post",
2395
2484
  "title": "Read the post effects",
@@ -2939,13 +3028,13 @@
2939
3028
  {
2940
3029
  "name": "set_sky",
2941
3030
  "title": "Change the sky and fog",
2942
- "description": "The sky and the air: a look preset (studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio), a sky image by name (clearsky, meadow, sunrise, starlight, photostudio; a search_assets HDRI id \"cc0:polyhaven/<id>\" (fetched into the library once) or \"lib:<hash>\"; or {hash} of an HDR in the library — upload your own .hdr / .exr with assets upload; never a URL) with rotation, intensity, blur and Sky quality (auto / standard / high / max, plus a minimum), a background colour or {top, bottom} gradient, fog ({color, near, far} in metres, or {color, density}; null = none) and exposure. \"Make it night\": preset night or hdri starlight + a dark fog. Changes the whole scene's look, so the host is asked first: it answers needsConfirm, then repeat with confirmId. One undo step.\nTake a screenshot after each change to check your work.",
3031
+ "description": "The sky and the air: a look preset (studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio, product, cinematic, stylised), a sky image by name (clearsky, meadow, sunrise, starlight, photostudio; a search_assets HDRI id \"cc0:polyhaven/<id>\" (fetched into the library once) or \"lib:<hash>\"; or {hash} of an HDR in the library — upload your own .hdr / .exr with assets upload; never a URL) with rotation, intensity, blur and Sky quality (auto / standard / high / max, plus a minimum), a background colour or {top, bottom} gradient, fog ({color, near, far} in metres, or {color, density}; null = none) and exposure. \"Make it night\": preset night or hdri starlight + a dark fog. Changes the whole scene's look, so the host is asked first: it answers needsConfirm, then repeat with confirmId. One undo step.\nTake a screenshot after each change to check your work.",
2943
3032
  "inputSchema": {
2944
3033
  "type": "object",
2945
3034
  "properties": {
2946
3035
  "preset": {
2947
3036
  "type": "string",
2948
- "description": "studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio"
3037
+ "description": "studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio, product, cinematic, stylised"
2949
3038
  },
2950
3039
  "hdri": {
2951
3040
  "type": [
@@ -4365,6 +4454,42 @@
4365
4454
  "openWorldHint": false
4366
4455
  }
4367
4456
  },
4457
+ {
4458
+ "name": "take_photo",
4459
+ "title": "Take a path-traced photo of the view",
4460
+ "description": "A PHOTO of the person's current view: a path-traced still (soft shadows, real reflections and glass), rendered in their tab while they keep working; their view never moves. It takes seconds to a minute: samples (1-2048, default 256) or seconds (2-600, default 60), whichever comes first. On a Quest or a weak phone a PC in the session renders it; with no PC it is a normal still and the answer says why. Post effects, flat text, particles and your own GLSL are not in a photo (notShown lists what was left out). save: true also files the PNG in the Library under Scene shots. Use it when the person asks for a photo, a render or a nice picture of the scene; for checking your work use screenshot.\nTake a screenshot after each change to check your work.",
4461
+ "inputSchema": {
4462
+ "type": "object",
4463
+ "properties": {
4464
+ "samples": {
4465
+ "type": "integer",
4466
+ "minimum": 1,
4467
+ "maximum": 2048,
4468
+ "description": "path-tracing samples (more = cleaner, slower; default 256)"
4469
+ },
4470
+ "seconds": {
4471
+ "type": "number",
4472
+ "minimum": 2,
4473
+ "maximum": 600,
4474
+ "description": "time limit in seconds (default 60)"
4475
+ },
4476
+ "denoise": {
4477
+ "type": "boolean",
4478
+ "description": "smooth the remaining noise (default true)"
4479
+ },
4480
+ "save": {
4481
+ "type": "boolean",
4482
+ "description": "also save the PNG to the Library under Scene shots/<scene> (default false)"
4483
+ }
4484
+ }
4485
+ },
4486
+ "annotations": {
4487
+ "title": "Take a path-traced photo of the view",
4488
+ "readOnlyHint": false,
4489
+ "destructiveHint": false,
4490
+ "openWorldHint": false
4491
+ }
4492
+ },
4368
4493
  {
4369
4494
  "name": "create_flow_nodes",
4370
4495
  "title": "Add behaviour (flow) nodes",
@@ -5526,12 +5651,15 @@
5526
5651
  "sky": "set_sky",
5527
5652
  "light": "set_light",
5528
5653
  "environment": "get_environment",
5529
- "quality": "set_quality"
5654
+ "quality": "set_quality",
5655
+ "preset": "set_look_preset",
5656
+ "bake": "bake_light"
5530
5657
  },
5531
5658
  "run": {
5532
5659
  "inspect": "inspect_runtime",
5533
5660
  "validate": "validate_scene",
5534
- "logs": "logs"
5661
+ "logs": "logs",
5662
+ "photo": "take_photo"
5535
5663
  },
5536
5664
  "assets": {
5537
5665
  "search": "search_assets",
@@ -7578,7 +7706,9 @@
7578
7706
  "sky",
7579
7707
  "light",
7580
7708
  "environment",
7581
- "quality"
7709
+ "quality",
7710
+ "preset",
7711
+ "bake"
7582
7712
  ],
7583
7713
  "description": "What to do. Put its fields in the object named after the action."
7584
7714
  },
@@ -7948,7 +8078,7 @@
7948
8078
  "description": "with confirmId: seconds to wait for the answer (up to 60)"
7949
8079
  }
7950
8080
  },
7951
- "description": "The scene's post effects (bloom, huesaturation, brightnesscontrast, tonemapping, vignette, grain, chromaticaberration, ao, lut, pixelation, scanlines, dotscreen, smaa; set_look {action: 'get_post'} lists every param). effects: [{kind, params, enabled, at, remove}], matched to what is there by id or kind, so repeating a call does not stack a second bloom; replace: true drops the rest; the stack order is the order of effect. This changes the whole scene's look: the first call returns needsConfirm and the host is asked; repeat it with confirmId. One undo step. The answer says shownHere: false with a reason when this screen does not draw post effects (reason \"quality tier\" = the device turned them off to keep its frame rate, usual on a phone: the scene keeps them; say so, and offer to ask with set_look {action: 'quality'})."
8081
+ "description": "The scene's post effects (bloom, huesaturation, brightnesscontrast, tonemapping, vignette, grain, chromaticaberration, lensflare, godrays, volumetricfog, ao, lut, pixelation, scanlines, dotscreen, antialias {method: traa | smaa} — it replaces the older smaa; set_look {action: 'get_post'} lists every param). effects: [{kind, params, enabled, at, remove}], matched to what is there by id or kind, so repeating a call does not stack a second bloom; replace: true drops the rest; the stack order is the order of effect. This changes the whole scene's look: the first call returns needsConfirm and the host is asked; repeat it with confirmId. One undo step. The answer says shownHere: false with a reason when this screen does not draw post effects (reason \"quality tier\" = the device turned them off to keep its frame rate, usual on a phone: the scene keeps them; say so, and offer to ask with set_look {action: 'quality'})."
7952
8082
  },
7953
8083
  "get_post": {
7954
8084
  "type": "object",
@@ -8083,7 +8213,7 @@
8083
8213
  "properties": {
8084
8214
  "preset": {
8085
8215
  "type": "string",
8086
- "description": "studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio"
8216
+ "description": "studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio, product, cinematic, stylised"
8087
8217
  },
8088
8218
  "hdri": {
8089
8219
  "type": [
@@ -8189,7 +8319,7 @@
8189
8319
  "description": "with confirmId: seconds to wait for the answer (up to 60)"
8190
8320
  }
8191
8321
  },
8192
- "description": "The sky and the air: a look preset (studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio), a sky image by name (clearsky, meadow, sunrise, starlight, photostudio; a assets {action: 'search'} HDRI id \"cc0:polyhaven/<id>\" (fetched into the library once) or \"lib:<hash>\"; or {hash} of an HDR in the library — upload your own .hdr / .exr with assets upload; never a URL) with rotation, intensity, blur and Sky quality (auto / standard / high / max, plus a minimum), a background colour or {top, bottom} gradient, fog ({color, near, far} in metres, or {color, density}; null = none) and exposure. \"Make it night\": preset night or hdri starlight + a dark fog. Changes the whole scene's look, so the host is asked first: it answers needsConfirm, then repeat with confirmId. One undo step."
8322
+ "description": "The sky and the air: a look preset (studio, daylight, sunset, night, classic, clearsky, meadow, sunrise, starlight, photostudio, product, cinematic, stylised), a sky image by name (clearsky, meadow, sunrise, starlight, photostudio; a assets {action: 'search'} HDRI id \"cc0:polyhaven/<id>\" (fetched into the library once) or \"lib:<hash>\"; or {hash} of an HDR in the library — upload your own .hdr / .exr with assets upload; never a URL) with rotation, intensity, blur and Sky quality (auto / standard / high / max, plus a minimum), a background colour or {top, bottom} gradient, fog ({color, near, far} in metres, or {color, density}; null = none) and exposure. \"Make it night\": preset night or hdri starlight + a dark fog. Changes the whole scene's look, so the host is asked first: it answers needsConfirm, then repeat with confirmId. One undo step."
8193
8323
  },
8194
8324
  "light": {
8195
8325
  "type": "object",
@@ -8352,6 +8482,75 @@
8352
8482
  }
8353
8483
  },
8354
8484
  "description": "Ask the person to raise THIS device's quality (their Settings ▸ Scene ▸ Performance ▸ Quality preset). Use it when set_look {action: 'post'} / set_look {action: 'get_post'} / screenshot say shownHere false or postEffects \"unavailable\" with reason \"quality tier\": a phone turns post effects off to keep its frame rate. The person gets a card on their own screen (Allow / Keep) and answers; nothing changes until they allow, nothing changes on anyone else's device, nothing goes into the scene. The first call returns needsConfirm; call again with confirmId (and wait) for the answer. level: high (full quality, post effects on), medium, auto (the device decides), restore (put back what it was before you asked; no question). Suggest it out loud first: \"Your phone hides the glow to stay smooth; shall I ask it for high quality?\""
8485
+ },
8486
+ "preset": {
8487
+ "type": "object",
8488
+ "properties": {
8489
+ "preset": {
8490
+ "type": "string",
8491
+ "enum": [
8492
+ "product",
8493
+ "cinematic",
8494
+ "stylised"
8495
+ ]
8496
+ },
8497
+ "confirmId": {
8498
+ "type": "string",
8499
+ "description": "the id a needsConfirm answer gave: repeat the call with it to get the host's answer and apply"
8500
+ },
8501
+ "wait": {
8502
+ "type": "number",
8503
+ "description": "with confirmId: seconds to wait for the answer (up to 60)"
8504
+ }
8505
+ },
8506
+ "required": [
8507
+ "preset"
8508
+ ],
8509
+ "description": "A pro look in one step: preset product (Product shot: studio light, clean AO, neutral tone mapping), cinematic (low sun, volumetric fog, god rays, lens flare, film grain, ACES) or stylised (bright sky, punchy colour, AgX). Sets the sky + light, exposure, tone mapping and the post effects together as ONE undo step, saved in the scene; each device draws its own share (a phone marches less fog, a headset leaves fog / god rays / lens flare out). Replaces the scene's post effects. Changes the whole scene's look: the first call returns needsConfirm and the host is asked; repeat it with confirmId."
8510
+ },
8511
+ "bake": {
8512
+ "type": "object",
8513
+ "properties": {
8514
+ "do": {
8515
+ "type": "string",
8516
+ "enum": [
8517
+ "bake",
8518
+ "status",
8519
+ "cancel",
8520
+ "clear",
8521
+ "strength"
8522
+ ]
8523
+ },
8524
+ "quality": {
8525
+ "type": "string",
8526
+ "enum": [
8527
+ "draft",
8528
+ "normal",
8529
+ "high"
8530
+ ]
8531
+ },
8532
+ "light": {
8533
+ "type": "number",
8534
+ "minimum": 0,
8535
+ "maximum": 3,
8536
+ "description": "do strength: bounce light strength (1 = as baked)"
8537
+ },
8538
+ "ao": {
8539
+ "type": "number",
8540
+ "minimum": 0,
8541
+ "maximum": 1,
8542
+ "description": "do strength: corner shadow strength"
8543
+ },
8544
+ "confirmId": {
8545
+ "type": "string",
8546
+ "description": "the id a needsConfirm answer gave: repeat the call with it to get the host's answer and apply"
8547
+ },
8548
+ "wait": {
8549
+ "type": "number",
8550
+ "description": "with confirmId: seconds to wait for the answer (up to 60)"
8551
+ }
8552
+ },
8553
+ "description": "Bake light (Pro look): soft shadows in corners (AO) and light bouncing off walls, worked out once for every object that does not move (no physics body that moves, no flow or clip animation) and saved with the scene — everyone sees it, it undoes as one step. do: bake (the default; runs on this device, takes seconds; asks the host first like set_look {action: 'post'}), status (read: baked?, stale = things moved since, notes such as objects with overlapping UVs that got AO only), cancel, clear (remove it), strength (light 0-3, ao 0-1). quality: draft, normal, high. Bake AFTER the layout is final; bake again when status says stale. wait: seconds to wait for the result (default 60, max 120)."
8355
8554
  }
8356
8555
  },
8357
8556
  "required": [
@@ -8368,7 +8567,7 @@
8368
8567
  {
8369
8568
  "name": "run",
8370
8569
  "title": "See and check what the game does",
8371
- "description": "What the game does when it runs: inspect = when each event and action last fired, the game state and variables, errors, and why a node did not fire (pass node or object); validate = what would not work when someone presses Play, each with its fix; logs = the tab's recent errors, warnings and toasts.\nCall it as {\"action\": \"inspect\", \"inspect\": {…its fields…}}; each action's fields and limits are in its object below.\nTake a screenshot after each change to check your work.",
8570
+ "description": "What the game does when it runs: inspect = when each event and action last fired, the game state and variables, errors, and why a node did not fire (pass node or object); validate = what would not work when someone presses Play, each with its fix; logs = the tab's recent errors, warnings and toasts; photo = a path-traced still of the person's view (a PC peer renders it for a Quest), optionally saved to the Library.\nCall it as {\"action\": \"inspect\", \"inspect\": {…its fields…}}; each action's fields and limits are in its object below.\nTake a screenshot after each change to check your work.",
8372
8571
  "inputSchema": {
8373
8572
  "type": "object",
8374
8573
  "properties": {
@@ -8377,7 +8576,8 @@
8377
8576
  "enum": [
8378
8577
  "inspect",
8379
8578
  "validate",
8380
- "logs"
8579
+ "logs",
8580
+ "photo"
8381
8581
  ],
8382
8582
  "description": "What to do. Put its fields in the object named after the action."
8383
8583
  },
@@ -8431,6 +8631,32 @@
8431
8631
  }
8432
8632
  },
8433
8633
  "description": "The page's recent log: errors, warnings, console lines and the toasts people saw, oldest first. Pass since (the \"now\" of the previous answer) for only what is new. status shows the newest few."
8634
+ },
8635
+ "photo": {
8636
+ "type": "object",
8637
+ "properties": {
8638
+ "samples": {
8639
+ "type": "integer",
8640
+ "minimum": 1,
8641
+ "maximum": 2048,
8642
+ "description": "path-tracing samples (more = cleaner, slower; default 256)"
8643
+ },
8644
+ "seconds": {
8645
+ "type": "number",
8646
+ "minimum": 2,
8647
+ "maximum": 600,
8648
+ "description": "time limit in seconds (default 60)"
8649
+ },
8650
+ "denoise": {
8651
+ "type": "boolean",
8652
+ "description": "smooth the remaining noise (default true)"
8653
+ },
8654
+ "save": {
8655
+ "type": "boolean",
8656
+ "description": "also save the PNG to the Library under Scene shots/<scene> (default false)"
8657
+ }
8658
+ },
8659
+ "description": "A PHOTO of the person's current view: a path-traced still (soft shadows, real reflections and glass), rendered in their tab while they keep working; their view never moves. It takes seconds to a minute: samples (1-2048, default 256) or seconds (2-600, default 60), whichever comes first. On a Quest or a weak phone a PC in the session renders it; with no PC it is a normal still and the answer says why. Post effects, flat text, particles and your own GLSL are not in a photo (notShown lists what was left out). save: true also files the PNG in the Library under Scene shots. Use it when the person asks for a photo, a render or a nice picture of the scene; for checking your work use screenshot."
8434
8660
  }
8435
8661
  },
8436
8662
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theprototype/agent",
3
- "version": "1.61.0",
3
+ "version": "1.63.0",
4
4
  "description": "Let an AI agent (Claude Code, Claude Desktop, any MCP host) join a theprototype.app session from its link and build the 3D scene with you.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/catalog.js CHANGED
@@ -103,7 +103,9 @@ export const TOOL_ANNOTATIONS = /** @type {Record<string, {title: string, read?:
103
103
  inspect_runtime: { title: 'See what the game is doing', read: true },
104
104
  validate_scene: { title: 'Check the game for problems', read: true },
105
105
  logs: { title: 'Read the recent log', read: true },
106
- playtest: { title: 'Play the game as a test player', destructive: false }
106
+ playtest: { title: 'Play the game as a test player', destructive: false },
107
+ // 98 P2
108
+ take_photo: { title: 'Take a path-traced photo of the view', destructive: false }
107
109
  });
108
110
 
109
111
  /** a title from a tool name: `create_objects` → `Create objects` @param {string} name */
@@ -291,7 +293,10 @@ export const CONNECTOR_FAMILIES = Object.freeze({
291
293
  sky: 'set_sky',
292
294
  light: 'set_light',
293
295
  environment: 'get_environment',
294
- quality: 'set_quality'
296
+ quality: 'set_quality',
297
+ preset: 'set_look_preset',
298
+ // 98 P1: a new ACTION on set_look, no new connector tool name
299
+ bake: 'bake_light'
295
300
  }
296
301
  },
297
302
  // 85b R1-R4 (lane 85-runtime): playtest is agent-page only (B4b), so the connector's `run` has no playtest;
@@ -299,8 +304,8 @@ export const CONNECTOR_FAMILIES = Object.freeze({
299
304
  run: {
300
305
  title: 'See and check what the game does',
301
306
  summary:
302
- "What the game does when it runs: inspect = when each event and action last fired, the game state and variables, errors, and why a node did not fire (pass node or object); validate = what would not work when someone presses Play, each with its fix; logs = the tab's recent errors, warnings and toasts.",
303
- actions: { inspect: 'inspect_runtime', validate: 'validate_scene', logs: 'logs' }
307
+ "What the game does when it runs: inspect = when each event and action last fired, the game state and variables, errors, and why a node did not fire (pass node or object); validate = what would not work when someone presses Play, each with its fix; logs = the tab's recent errors, warnings and toasts; photo = a path-traced still of the person's view (a PC peer renders it for a Quest), optionally saved to the Library.",
308
+ actions: { inspect: 'inspect_runtime', validate: 'validate_scene', logs: 'logs', photo: 'take_photo' }
304
309
  },
305
310
  assets: {
306
311
  title: 'Images and assets',