feat(control): spawn session NPCs and resize tokens in preview

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-08-18 14:42:06 +08:00
parent 1ab6ffd593
commit 1a9f0f2557
28 changed files with 1446 additions and 89 deletions
@@ -363,6 +363,22 @@
inset: 0;
}
.previewHostSpawnDrag {
cursor: copy;
}
.npcSpawnGhost {
position: absolute;
z-index: 12;
width: 28px;
height: 28px;
border-radius: 999px;
transform: translate(-50%, -50%);
pointer-events: none;
border: 2px dashed rgba(96, 165, 250, 0.95);
background: rgba(96, 165, 250, 0.2);
}
.brushCursor {
position: absolute;
z-index: 2;