@theprototype/agent 1.50.0 → 1.51.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 +94 -1
- package/package.json +1 -1
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":
|
|
6
|
+
"hostTools": 21,
|
|
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).\nCall list_scene before editing so you use real uuids; batch many objects into one call.\nMotion and interaction are flow nodes (create_flow_nodes); call describe_node_types before wiring edges.\nUse screenshot to check a result when it matters, not after every step.\nWhen asked what you can do here, call what_can_you_do and say its \"say\" line.",
|
|
@@ -433,6 +433,99 @@
|
|
|
433
433
|
"openWorldHint": false
|
|
434
434
|
}
|
|
435
435
|
},
|
|
436
|
+
{
|
|
437
|
+
"name": "animate_parts",
|
|
438
|
+
"title": "Animate parts",
|
|
439
|
+
"description": "Animate a model's NAMED PARTS (child nodes from list_scene: a rotor, a door, a lid) with one clip — e.g. spin a rotor: tracks [{part: 'rotor', keys: [{t: 0, rot: [0, 0, 0]}, {t: 1, rot: [0, 360, 0]}]}], loop true. Keys are offsets from each part's rest pose (mode 'relative', the default; 'absolute' = local values). rot is Euler degrees [x, y, z]; pos metres [x, y, z]; scale a factor. The clip is saved as a .tpanim file, plays on every peer, and is one undo step.",
|
|
440
|
+
"inputSchema": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"properties": {
|
|
443
|
+
"object": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"description": "the model: its uuid (from list_scene) or exact name"
|
|
446
|
+
},
|
|
447
|
+
"clip": {
|
|
448
|
+
"type": "string",
|
|
449
|
+
"description": "the clip name, e.g. \"Spin\" or \"Open\""
|
|
450
|
+
},
|
|
451
|
+
"tracks": {
|
|
452
|
+
"type": "array",
|
|
453
|
+
"items": {
|
|
454
|
+
"type": "object",
|
|
455
|
+
"properties": {
|
|
456
|
+
"part": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"description": "the part (child node) name"
|
|
459
|
+
},
|
|
460
|
+
"keys": {
|
|
461
|
+
"type": "array",
|
|
462
|
+
"items": {
|
|
463
|
+
"type": "object",
|
|
464
|
+
"properties": {
|
|
465
|
+
"t": {
|
|
466
|
+
"type": "number",
|
|
467
|
+
"description": "seconds"
|
|
468
|
+
},
|
|
469
|
+
"pos": {
|
|
470
|
+
"type": "array",
|
|
471
|
+
"items": {
|
|
472
|
+
"type": "number"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"rot": {
|
|
476
|
+
"type": "array",
|
|
477
|
+
"items": {
|
|
478
|
+
"type": "number"
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"scale": {
|
|
482
|
+
"type": "array",
|
|
483
|
+
"items": {
|
|
484
|
+
"type": "number"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"required": [
|
|
489
|
+
"t"
|
|
490
|
+
]
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"required": [
|
|
495
|
+
"part",
|
|
496
|
+
"keys"
|
|
497
|
+
]
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"loop": {
|
|
501
|
+
"type": "boolean",
|
|
502
|
+
"description": "repeat (default true); false = play once and hold"
|
|
503
|
+
},
|
|
504
|
+
"mode": {
|
|
505
|
+
"type": "string",
|
|
506
|
+
"enum": [
|
|
507
|
+
"relative",
|
|
508
|
+
"absolute"
|
|
509
|
+
]
|
|
510
|
+
},
|
|
511
|
+
"play": {
|
|
512
|
+
"type": "boolean",
|
|
513
|
+
"description": "start it now (default true)"
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
"required": [
|
|
517
|
+
"object",
|
|
518
|
+
"clip",
|
|
519
|
+
"tracks"
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
"annotations": {
|
|
523
|
+
"title": "Animate parts",
|
|
524
|
+
"readOnlyHint": false,
|
|
525
|
+
"destructiveHint": true,
|
|
526
|
+
"openWorldHint": false
|
|
527
|
+
}
|
|
528
|
+
},
|
|
436
529
|
{
|
|
437
530
|
"name": "create_flow_nodes",
|
|
438
531
|
"title": "Add behaviour (flow) nodes",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theprototype/agent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.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",
|