Repository navigation
Conversation
AgentMarks draws one of three stacks from the Figma "Marks" property: coding agents (the default, unchanged for Custom deployment), local agent (Claude, ComfyUI's astroid, Codex) and desktop agents (Claude, Codex). AgentMark draws one 16px mark for menu rows, and both read their paths from agentMarkPaths. The default stack renders the same as before: at 8x, 8 of 80,640 pixels differ, by at most 1 of 255.
useAgentHandoff().openBriefIn(app) builds the same brief Copy prompt copies, hands it to the desktop app, and downloads the workflow file the brief names. The links are the ones platform.comfy.org's agent menu uses (Comfy-Org/website utils/agentApps.ts): claude://code/new?q= for Claude desktop and codex://new?prompt= for the Codex app in ChatGPT desktop. Each starts a new session with the prompt in the composer, unsent. The website follows the link in the page. Here that fires beforeunload, which shows ComfyUI's leave prompt for unsaved workflows and clears the media cache, so the link loads in one hidden, reused iframe instead. In Chromium the frame reaches the app prompt with no beforeunload. A large workflow (80 node classes, 20 packs, 15 models) encodes to about 8,800 characters, under Claude desktop's documented ~14,000 cut.
Build with your agent now shows the agent marks with a chevron and opens a menu on the design system's Menu: Use local agent, Open in Claude desktop, Open in ChatGPT desktop and Copy prompt. Use local agent, and the local agent marks, show only while ComfyUI's agent server feature reports state "ready". The row does nothing yet: the agent's composer and panel stores live in src/workbench, which src/platform may not import, so handing it the prompt needs a seam the agent fills. Deploy your setup is 680px wide, up from 640, so Read the docs, Deploy on Platform and the agent button fit on one row aligned with the text column. Custom deployment keeps 640px.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
📦 Bundle: ⏳ Size data collection in progress…⚡ Performance: ❌ 7 below 52 FPS target · ℹ️ No baseline — significance unavailable
DetailsScenario timings
Absolute values
Raw data{
"timestamp": "2026-11-02T17:23:43.762Z",
"gitSha": "64b0e97e2ff1364230830da611c10b438630c82a",
"branch": "willie/des-1261-deploy-agent-menu",
"measurements": [
{
"name": "canvas-idle",
"durationMs": 2009.3360000000189,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.12,
"layouts": 9,
"layoutDurationMs": 2.0880000000000005,
"taskDurationMs": 425.17100000000005,
"heapDeltaBytes": 1658948,
"heapUsedBytes": 63128992,
"domNodes": 0,
"jsHeapTotalBytes": 7077888,
"scriptDurationMs": 8.511000000000001,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66611570247934,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "canvas-idle",
"durationMs": 2008.260000000007,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.554,
"layouts": 9,
"layoutDurationMs": 2.3800000000000003,
"taskDurationMs": 491.266,
"heapDeltaBytes": 1779432,
"heapUsedBytes": 63165604,
"domNodes": 0,
"jsHeapTotalBytes": 7077888,
"scriptDurationMs": 10.846000000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666942148760334,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1710.979000000009,
"styleRecalcs": 72,
"styleRecalcDurationMs": 11.041,
"layouts": 9,
"layoutDurationMs": 1.942,
"taskDurationMs": 722.856,
"heapDeltaBytes": 21664432,
"heapUsedBytes": 82430056,
"domNodes": 0,
"jsHeapTotalBytes": 7864320,
"scriptDurationMs": 124.75800000000001,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66601941747573,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "canvas-mouse-sweep",
"durationMs": 1724.4499999999903,
"styleRecalcs": 74,
"styleRecalcDurationMs": 12.489999999999998,
"layouts": 10,
"layoutDurationMs": 2.63,
"taskDurationMs": 763.215,
"heapDeltaBytes": 22700100,
"heapUsedBytes": 85045576,
"domNodes": 0,
"jsHeapTotalBytes": 8650752,
"scriptDurationMs": 128.338,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66601941747573,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1723.2549999999947,
"styleRecalcs": 19,
"styleRecalcDurationMs": 4.0169999999999995,
"layouts": 12,
"layoutDurationMs": 2.4479999999999995,
"taskDurationMs": 325.11300000000006,
"heapDeltaBytes": 24185992,
"heapUsedBytes": 84904968,
"domNodes": 57,
"jsHeapTotalBytes": 7077888,
"scriptDurationMs": 9.949,
"eventListeners": 43,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665384615384614,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "canvas-zoom-sweep",
"durationMs": 1696.48600000005,
"styleRecalcs": 18,
"styleRecalcDurationMs": 4.504000000000001,
"layouts": 11,
"layoutDurationMs": 2.6750000000000003,
"taskDurationMs": 361.42,
"heapDeltaBytes": 22935488,
"heapUsedBytes": 83766488,
"domNodes": 57,
"jsHeapTotalBytes": 6029312,
"scriptDurationMs": 11.353000000000002,
"eventListeners": 43,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-clipping",
"durationMs": 575.0290000000007,
"styleRecalcs": 15,
"styleRecalcDurationMs": 3.03,
"layouts": 11,
"layoutDurationMs": 2.7749999999999995,
"taskDurationMs": 427.61699999999996,
"heapDeltaBytes": 3796136,
"heapUsedBytes": 64685472,
"domNodes": 0,
"jsHeapTotalBytes": 7602176,
"scriptDurationMs": 143.295,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.668571428571433,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-clipping",
"durationMs": 573.5549999999989,
"styleRecalcs": 14,
"styleRecalcDurationMs": 3.0309999999999997,
"layouts": 10,
"layoutDurationMs": 2.6220000000000003,
"taskDurationMs": 422.044,
"heapDeltaBytes": 6421112,
"heapUsedBytes": 77061300,
"domNodes": 0,
"jsHeapTotalBytes": 11010048,
"scriptDurationMs": 137.315,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.667647058823523,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1086.2360000000137,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 769.5459999999999,
"heapDeltaBytes": -12998168,
"heapUsedBytes": 74775632,
"domNodes": -203,
"jsHeapTotalBytes": 20979712,
"scriptDurationMs": 55.041000000000004,
"eventListeners": -106,
"totalBlockingTimeMs": 428,
"frameDurationMs": 30.951428571428576,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "dom-widget-order-dense-n200-w200-i120",
"durationMs": 1080.1360000000386,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 782.8380000000001,
"heapDeltaBytes": -14334872,
"heapUsedBytes": 75219492,
"domNodes": -203,
"jsHeapTotalBytes": 22028288,
"scriptDurationMs": 51.00500000000001,
"eventListeners": -106,
"totalBlockingTimeMs": 408,
"frameDurationMs": 30.091666666666658,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 816.6260000000136,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 451.79100000000005,
"heapDeltaBytes": -28430136,
"heapUsedBytes": 66072980,
"domNodes": -203,
"jsHeapTotalBytes": 4063232,
"scriptDurationMs": 121.17999999999998,
"eventListeners": -106,
"totalBlockingTimeMs": 161,
"frameDurationMs": 22.686111111111106,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "dom-widget-order-sparse-n1000-w20-i120",
"durationMs": 825.5940000000237,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 499.09800000000007,
"heapDeltaBytes": -26373088,
"heapUsedBytes": 66549296,
"domNodes": -203,
"jsHeapTotalBytes": 4063232,
"scriptDurationMs": 127.39800000000001,
"eventListeners": -106,
"totalBlockingTimeMs": 168,
"frameDurationMs": 23.144444444444463,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "extension-clean-combined-draw",
"durationMs": 8268.23300000001,
"styleRecalcs": 1,
"styleRecalcDurationMs": 0.2869999999999999,
"layouts": 1,
"layoutDurationMs": 0.2589999999999997,
"taskDurationMs": 7393.405000000001,
"heapDeltaBytes": 64458236,
"heapUsedBytes": 137594112,
"domNodes": -269,
"jsHeapTotalBytes": 59633664,
"scriptDurationMs": 5737.334,
"eventListeners": -68,
"totalBlockingTimeMs": 97,
"frameDurationMs": 24.898493975903612,
"p95FrameDurationMs": 49.899999999999636
},
{
"name": "extension-clean-combined-draw",
"durationMs": 7709.654999999998,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.7020000000000004,
"layouts": 3,
"layoutDurationMs": 0.5670000000000003,
"taskDurationMs": 6861.628,
"heapDeltaBytes": 53393944,
"heapUsedBytes": 134811412,
"domNodes": -269,
"jsHeapTotalBytes": 56225792,
"scriptDurationMs": 5278.398,
"eventListeners": -68,
"totalBlockingTimeMs": 64,
"frameDurationMs": 24.26509433962264,
"p95FrameDurationMs": 33.400000000001455
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7743.665000000021,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.5449999999999995,
"layouts": 2,
"layoutDurationMs": 0.45299999999999985,
"taskDurationMs": 6877.93,
"heapDeltaBytes": 45381932,
"heapUsedBytes": 123733308,
"domNodes": -269,
"jsHeapTotalBytes": 46002176,
"scriptDurationMs": 5274.5509999999995,
"eventListeners": -68,
"totalBlockingTimeMs": 112,
"frameDurationMs": 24.47151898734177,
"p95FrameDurationMs": 33.400000000001455
},
{
"name": "extension-rgthree-prototype-draw",
"durationMs": 7883.961999999997,
"styleRecalcs": 3,
"styleRecalcDurationMs": 0.7600000000000002,
"layouts": 3,
"layoutDurationMs": 0.6949999999999998,
"taskDurationMs": 7060.653,
"heapDeltaBytes": 44491664,
"heapUsedBytes": 124154172,
"domNodes": -269,
"jsHeapTotalBytes": 59371520,
"scriptDurationMs": 5489.4259999999995,
"eventListeners": -68,
"totalBlockingTimeMs": 89,
"frameDurationMs": 24.381790123456792,
"p95FrameDurationMs": 33.400000000000546
},
{
"name": "large-combo-open",
"durationMs": 212.21899999997618,
"styleRecalcs": 24,
"styleRecalcDurationMs": 11.447,
"layouts": 11,
"layoutDurationMs": 2.72,
"taskDurationMs": 175.65499999999997,
"heapDeltaBytes": 14482776,
"heapUsedBytes": 90256004,
"domNodes": 936,
"jsHeapTotalBytes": 1835008,
"scriptDurationMs": 6.781000000000001,
"eventListeners": 205,
"totalBlockingTimeMs": 0,
"frameDurationMs": 19.690909090909123,
"p95FrameDurationMs": 50
},
{
"name": "large-combo-open",
"durationMs": 211.21100000004844,
"styleRecalcs": 23,
"styleRecalcDurationMs": 12.069999999999997,
"layouts": 10,
"layoutDurationMs": 2.498,
"taskDurationMs": 172.43200000000002,
"heapDeltaBytes": 14471076,
"heapUsedBytes": 90782152,
"domNodes": 936,
"jsHeapTotalBytes": 2621440,
"scriptDurationMs": 7.061000000000002,
"eventListeners": 205,
"totalBlockingTimeMs": 0,
"frameDurationMs": 21.65999999999999,
"p95FrameDurationMs": 66.59999999999991
},
{
"name": "large-graph-idle",
"durationMs": 2022.6089999999886,
"styleRecalcs": 9,
"styleRecalcDurationMs": 1.9069999999999998,
"layouts": 8,
"layoutDurationMs": 1.6540000000000004,
"taskDurationMs": 529.3219999999999,
"heapDeltaBytes": 12658404,
"heapUsedBytes": 85767852,
"domNodes": -269,
"jsHeapTotalBytes": 3534848,
"scriptDurationMs": 30.982000000000003,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-idle",
"durationMs": 2025.1890000000117,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.4199999999999995,
"layouts": 10,
"layoutDurationMs": 2.391,
"taskDurationMs": 565.5929999999998,
"heapDeltaBytes": -11946800,
"heapUsedBytes": 78800220,
"domNodes": -269,
"jsHeapTotalBytes": 3571712,
"scriptDurationMs": 31.369,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2453.508999999997,
"styleRecalcs": 69,
"styleRecalcDurationMs": 9.464,
"layouts": 8,
"layoutDurationMs": 1.8729999999999998,
"taskDurationMs": 1490.8550000000002,
"heapDeltaBytes": 1960696,
"heapUsedBytes": 76683880,
"domNodes": -269,
"jsHeapTotalBytes": 4284416,
"scriptDurationMs": 717.289,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66598639455782,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "large-graph-pan",
"durationMs": 2407.758000000001,
"styleRecalcs": 69,
"styleRecalcDurationMs": 9.407,
"layouts": 8,
"layoutDurationMs": 2.065,
"taskDurationMs": 1454.789,
"heapDeltaBytes": -28880984,
"heapUsedBytes": 60798824,
"domNodes": -269,
"jsHeapTotalBytes": 3833856,
"scriptDurationMs": 706.2879999999999,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666206896551724,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "large-graph-zoom",
"durationMs": 3310.7259999999883,
"styleRecalcs": 72,
"styleRecalcDurationMs": 9.622,
"layouts": 65,
"layoutDurationMs": 10.092,
"taskDurationMs": 1454.483,
"heapDeltaBytes": 5786388,
"heapUsedBytes": 77651764,
"domNodes": -245,
"jsHeapTotalBytes": 2748416,
"scriptDurationMs": 646.004,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665829145728644,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "large-graph-zoom",
"durationMs": 3438.272999999981,
"styleRecalcs": 70,
"styleRecalcDurationMs": 9.629999999999999,
"layouts": 64,
"layoutDurationMs": 10.015,
"taskDurationMs": 1512.7079999999999,
"heapDeltaBytes": 5544284,
"heapUsedBytes": 82628260,
"domNodes": -245,
"jsHeapTotalBytes": 4583424,
"scriptDurationMs": 656.116,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666019417475727,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 2697.257000000008,
"styleRecalcs": 46,
"styleRecalcDurationMs": 5.935999999999999,
"layouts": 6,
"layoutDurationMs": 1.49,
"taskDurationMs": 1808.8690000000001,
"heapDeltaBytes": -12453360,
"heapUsedBytes": 80636236,
"domNodes": 0,
"jsHeapTotalBytes": 5804032,
"scriptDurationMs": 898.774,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.769565217391303,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "legacy-node-drag",
"durationMs": 2832.1540000000027,
"styleRecalcs": 46,
"styleRecalcDurationMs": 5.807999999999999,
"layouts": 6,
"layoutDurationMs": 1.4680000000000002,
"taskDurationMs": 1807.2419999999997,
"heapDeltaBytes": -11531360,
"heapUsedBytes": 80556100,
"domNodes": 0,
"jsHeapTotalBytes": 6852608,
"scriptDurationMs": 907.347,
"eventListeners": 182,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.764497041420118,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-geometry-cadence",
"durationMs": 2990.8920000000026,
"styleRecalcs": 8,
"styleRecalcDurationMs": 1.8809999999999998,
"layouts": 8,
"layoutDurationMs": 1.726,
"taskDurationMs": 678.462,
"heapDeltaBytes": 2739104,
"heapUsedBytes": 79210296,
"domNodes": -269,
"jsHeapTotalBytes": 4583424,
"scriptDurationMs": 312.22499999999997,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66611111111111,
"p95FrameDurationMs": 16.800000000000182
},
{
"name": "minimap-geometry-cadence",
"durationMs": 2984.8049999999944,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.3569999999999998,
"layouts": 9,
"layoutDurationMs": 2.062,
"taskDurationMs": 680.6949999999999,
"heapDeltaBytes": -15560428,
"heapUsedBytes": 72630088,
"domNodes": -269,
"jsHeapTotalBytes": 4620288,
"scriptDurationMs": 306.313,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665555555555557,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2035.0220000000263,
"styleRecalcs": 9,
"styleRecalcDurationMs": 1.9710000000000005,
"layouts": 8,
"layoutDurationMs": 1.8050000000000002,
"taskDurationMs": 542.365,
"heapDeltaBytes": -6522052,
"heapUsedBytes": 85345708,
"domNodes": -269,
"jsHeapTotalBytes": 4096000,
"scriptDurationMs": 35.596999999999994,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666393442622947,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-idle",
"durationMs": 2028.3100000000331,
"styleRecalcs": 7,
"styleRecalcDurationMs": 2.1380000000000003,
"layouts": 7,
"layoutDurationMs": 1.9509999999999996,
"taskDurationMs": 574.4679999999998,
"heapDeltaBytes": -28128860,
"heapUsedBytes": 60687092,
"domNodes": -269,
"jsHeapTotalBytes": 3309568,
"scriptDurationMs": 31.846000000000007,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66639344262295,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-progress-execution-cadence",
"durationMs": 2738.792999999987,
"styleRecalcs": 27,
"styleRecalcDurationMs": 11.143999999999998,
"layouts": 8,
"layoutDurationMs": 1.9089999999999996,
"taskDurationMs": 490.85699999999997,
"heapDeltaBytes": -15821380,
"heapUsedBytes": 73368360,
"domNodes": -265,
"jsHeapTotalBytes": 4096000,
"scriptDurationMs": 150.802,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666463414634144,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-progress-execution-cadence",
"durationMs": 2727.6729999999816,
"styleRecalcs": 28,
"styleRecalcDurationMs": 11.913,
"layouts": 9,
"layoutDurationMs": 2.0309999999999997,
"taskDurationMs": 524.908,
"heapDeltaBytes": -16904200,
"heapUsedBytes": 71883564,
"domNodes": -266,
"jsHeapTotalBytes": 3571712,
"scriptDurationMs": 161.89100000000002,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666463414634144,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-topology-cadence",
"durationMs": 3050.8520000000203,
"styleRecalcs": 8,
"styleRecalcDurationMs": 1.9290000000000003,
"layouts": 8,
"layoutDurationMs": 1.7239999999999998,
"taskDurationMs": 776.891,
"heapDeltaBytes": -12219688,
"heapUsedBytes": 79526180,
"domNodes": -269,
"jsHeapTotalBytes": 4620288,
"scriptDurationMs": 289.72800000000007,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666120218579238,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "minimap-topology-cadence",
"durationMs": 3130.196000000012,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.1390000000000002,
"layouts": 8,
"layoutDurationMs": 1.7850000000000001,
"taskDurationMs": 818.1439999999999,
"heapDeltaBytes": -8213860,
"heapUsedBytes": 84955704,
"domNodes": -269,
"jsHeapTotalBytes": 4358144,
"scriptDurationMs": 311.262,
"eventListeners": -68,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665957446808513,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 548.8849999999843,
"styleRecalcs": 46,
"styleRecalcDurationMs": 4.331,
"layouts": 9,
"layoutDurationMs": 2.0430000000000006,
"taskDurationMs": 362.856,
"heapDeltaBytes": -997784,
"heapUsedBytes": 61511048,
"domNodes": 0,
"jsHeapTotalBytes": 8650752,
"scriptDurationMs": 123.23299999999999,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.663636363636368,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "subgraph-dom-widget-clipping",
"durationMs": 581.6740000000209,
"styleRecalcs": 47,
"styleRecalcDurationMs": 4.871,
"layouts": 9,
"layoutDurationMs": 2.2079999999999997,
"taskDurationMs": 374.52400000000006,
"heapDeltaBytes": -1258020,
"heapUsedBytes": 60732928,
"domNodes": 0,
"jsHeapTotalBytes": 7602176,
"scriptDurationMs": 124.958,
"eventListeners": 46,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665714285714277,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "subgraph-idle",
"durationMs": 2006.986000000012,
"styleRecalcs": 10,
"styleRecalcDurationMs": 2.289,
"layouts": 9,
"layoutDurationMs": 2.095,
"taskDurationMs": 419.686,
"heapDeltaBytes": 24796204,
"heapUsedBytes": 87397828,
"domNodes": 0,
"jsHeapTotalBytes": 3145728,
"scriptDurationMs": 7.478000000000002,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666942148760334,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-idle",
"durationMs": 2008.3650000000262,
"styleRecalcs": 9,
"styleRecalcDurationMs": 2.7670000000000003,
"layouts": 9,
"layoutDurationMs": 2.447,
"taskDurationMs": 452.874,
"heapDeltaBytes": 24744216,
"heapUsedBytes": 86916424,
"domNodes": 0,
"jsHeapTotalBytes": 3145728,
"scriptDurationMs": 9.113,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666115702479342,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1676.8450000000144,
"styleRecalcs": 75,
"styleRecalcDurationMs": 13.361,
"layouts": 11,
"layoutDurationMs": 2.5250000000000004,
"taskDurationMs": 740.741,
"heapDeltaBytes": -5530040,
"heapUsedBytes": 67326712,
"domNodes": 0,
"jsHeapTotalBytes": 11272192,
"scriptDurationMs": 96.39600000000002,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666336633663363,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "subgraph-mouse-sweep",
"durationMs": 1693.6620000000175,
"styleRecalcs": 76,
"styleRecalcDurationMs": 15.015,
"layouts": 10,
"layoutDurationMs": 2.3249999999999997,
"taskDurationMs": 719.58,
"heapDeltaBytes": 17623136,
"heapUsedBytes": 78496452,
"domNodes": 0,
"jsHeapTotalBytes": 8126464,
"scriptDurationMs": 95.08800000000001,
"eventListeners": 6,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66666666666667,
"p95FrameDurationMs": 16.799999999999727
},
{
"name": "subgraph-transition-enter",
"durationMs": 1400.5329999999958,
"styleRecalcs": 20,
"styleRecalcDurationMs": 19.076,
"layouts": 5,
"layoutDurationMs": 11.302000000000003,
"taskDurationMs": 948.1220000000002,
"heapDeltaBytes": 11670156,
"heapUsedBytes": 113150052,
"domNodes": 16029,
"jsHeapTotalBytes": 5640192,
"scriptDurationMs": 29.073999999999995,
"eventListeners": 3246,
"totalBlockingTimeMs": 117,
"frameDurationMs": 18.886666666666667,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "viewport-pan-sweep",
"durationMs": 8518.959999999992,
"styleRecalcs": 250,
"styleRecalcDurationMs": 29.249000000000002,
"layouts": 8,
"layoutDurationMs": 1.8619999999999999,
"taskDurationMs": 5329.835,
"heapDeltaBytes": 4667308,
"heapUsedBytes": 92749116,
"domNodes": -269,
"jsHeapTotalBytes": 8515584,
"scriptDurationMs": 2633.306,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665949119373774,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "viewport-pan-sweep",
"durationMs": 10054.197999999986,
"styleRecalcs": 250,
"styleRecalcDurationMs": 31.877000000000002,
"layouts": 8,
"layoutDurationMs": 1.8110000000000002,
"taskDurationMs": 5417.841,
"heapDeltaBytes": 639868,
"heapUsedBytes": 88341004,
"domNodes": -269,
"jsHeapTotalBytes": 6385664,
"scriptDurationMs": 2491.378,
"eventListeners": -66,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665894039735097,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "vue-large-graph-idle",
"durationMs": 19629.025999999954,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 19179.468999999997,
"heapDeltaBytes": -35254104,
"heapUsedBytes": 262790816,
"domNodes": -3343,
"jsHeapTotalBytes": 14147584,
"scriptDurationMs": 284.091,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 34.779964539007096,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "vue-large-graph-idle",
"durationMs": 21786.15100000002,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 21343.766000000003,
"heapDeltaBytes": -15821808,
"heapUsedBytes": 280741812,
"domNodes": -3343,
"jsHeapTotalBytes": 15982592,
"scriptDurationMs": 308.147,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 40.836210131332074,
"p95FrameDurationMs": 83.39999999999782
},
{
"name": "vue-large-graph-pan",
"durationMs": 24260.808999999994,
"styleRecalcs": 181,
"styleRecalcDurationMs": 20.071000000000005,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 23980.08,
"heapDeltaBytes": -14893864,
"heapUsedBytes": 276994580,
"domNodes": -3343,
"jsHeapTotalBytes": 14147584,
"scriptDurationMs": 768.814,
"eventListeners": -651,
"totalBlockingTimeMs": 14,
"frameDurationMs": 46.27709923664122,
"p95FrameDurationMs": 100
},
{
"name": "vue-large-graph-pan",
"durationMs": 23744.053000000007,
"styleRecalcs": 179,
"styleRecalcDurationMs": 19.687000000000012,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 23413.642,
"heapDeltaBytes": -26980508,
"heapUsedBytes": 250968808,
"domNodes": -3343,
"jsHeapTotalBytes": 12050432,
"scriptDurationMs": 745.8009999999999,
"eventListeners": -651,
"totalBlockingTimeMs": 0,
"frameDurationMs": 44.77811320754717,
"p95FrameDurationMs": 99.90000000000146
},
{
"name": "vue-node-resize-workload",
"durationMs": 7235.8070000000225,
"styleRecalcs": 20,
"styleRecalcDurationMs": 56.68500000000002,
"layouts": 20,
"layoutDurationMs": 25.647000000000002,
"taskDurationMs": 7110.331,
"heapDeltaBytes": 1331336,
"heapUsedBytes": 283893704,
"domNodes": -3343,
"jsHeapTotalBytes": 20701184,
"scriptDurationMs": 103.14600000000002,
"eventListeners": -653,
"totalBlockingTimeMs": 11,
"frameDurationMs": 43.05357142857142,
"p95FrameDurationMs": 83.39999999999964
},
{
"name": "vue-node-resize-workload",
"durationMs": 6997.579000000087,
"styleRecalcs": 20,
"styleRecalcDurationMs": 48.15599999999998,
"layouts": 20,
"layoutDurationMs": 20.259,
"taskDurationMs": 6882.603999999999,
"heapDeltaBytes": -1940776,
"heapUsedBytes": 272293300,
"domNodes": -3343,
"jsHeapTotalBytes": 18075648,
"scriptDurationMs": 101.396,
"eventListeners": -653,
"totalBlockingTimeMs": 0,
"frameDurationMs": 40.69651162790698,
"p95FrameDurationMs": 83.30000000000109
},
{
"name": "vue-zoom-out-idle",
"durationMs": 10379.631999999958,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 10067.097000000002,
"heapDeltaBytes": 4508432,
"heapUsedBytes": 283636316,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 142.59100000000007,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 37.09569892473119,
"p95FrameDurationMs": 83.29999999999927
},
{
"name": "vue-zoom-out-idle",
"durationMs": 9885.730999999963,
"styleRecalcs": 0,
"styleRecalcDurationMs": 0,
"layouts": 0,
"layoutDurationMs": 0,
"taskDurationMs": 9463.461000000003,
"heapDeltaBytes": 56036,
"heapUsedBytes": 273959476,
"domNodes": 0,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 127.82,
"eventListeners": 0,
"totalBlockingTimeMs": 0,
"frameDurationMs": 35.67833935018051,
"p95FrameDurationMs": 66.70000000000073
},
{
"name": "workflow-execution",
"durationMs": 482.2639999999865,
"styleRecalcs": 14,
"styleRecalcDurationMs": 11.296999999999999,
"layouts": 12,
"layoutDurationMs": 5.614,
"taskDurationMs": 121.223,
"heapDeltaBytes": -10031148,
"heapUsedBytes": 65363880,
"domNodes": 136,
"jsHeapTotalBytes": 3145728,
"scriptDurationMs": 12.095999999999998,
"eventListeners": 7,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.665517241379316,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "workflow-execution",
"durationMs": 105.76500000001943,
"styleRecalcs": 7,
"styleRecalcDurationMs": 6.880000000000001,
"layouts": 7,
"layoutDurationMs": 2.708,
"taskDurationMs": 66.872,
"heapDeltaBytes": 4670200,
"heapUsedBytes": 64506500,
"domNodes": 121,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 5.916000000000001,
"eventListeners": 5,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.666666666666668,
"p95FrameDurationMs": 16.700000000000273
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 320.8870000000843,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.598,
"layouts": 76,
"layoutDurationMs": 12.168,
"taskDurationMs": 274.761,
"heapDeltaBytes": 10637552,
"heapUsedBytes": 51923236,
"domNodes": 4,
"jsHeapTotalBytes": 2359296,
"scriptDurationMs": 126.639,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66842105263157,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-empty-conversation-typing",
"durationMs": 310.08200000007946,
"styleRecalcs": 5,
"styleRecalcDurationMs": 0.569,
"layouts": 76,
"layoutDurationMs": 12.145,
"taskDurationMs": 273.118,
"heapDeltaBytes": -5761020,
"heapUsedBytes": 36100024,
"domNodes": 4,
"jsHeapTotalBytes": 2883584,
"scriptDurationMs": 121.157,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.663157894736862,
"p95FrameDurationMs": 16.799999999999272
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 344.5169999999962,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.527,
"layouts": 76,
"layoutDurationMs": 11.639999999999999,
"taskDurationMs": 301.423,
"heapDeltaBytes": -5553256,
"heapUsedBytes": 77521940,
"domNodes": 4,
"jsHeapTotalBytes": 0,
"scriptDurationMs": 108.01299999999999,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.670000000000027,
"p95FrameDurationMs": 16.700000000000728
},
{
"name": "agent-composer-long-conversation-typing",
"durationMs": 352.09199999997054,
"styleRecalcs": 5,
"styleRecalcDurationMs": 1.656,
"layouts": 76,
"layoutDurationMs": 11.596,
"taskDurationMs": 324.715,
"heapDeltaBytes": -1507848,
"heapUsedBytes": 92336012,
"domNodes": 4,
"jsHeapTotalBytes": 266240,
"scriptDurationMs": 114.51,
"eventListeners": 292,
"totalBlockingTimeMs": 0,
"frameDurationMs": 16.66818181818181,
"p95FrameDurationMs": 16.700000000000728
}
]
}🔬 E2E Coverage: 🟡 60.2% of linesCoverage totals
Top 10 files by uncovered lines
🎭 Playwright: ✅ 3157 passed, 0 failed · 1 flaky📊 Browser Reports
🎨 Storybook: ✅ Built — View Storybook🧩 Custom Nodes Ecosystem Matrix: 🟡 Withheld — could not measureExecutes the frontend JS of every registry pack that ships any, against this change, in both renderers. The eight
Findings and check detailsThe matrix runs on same-repository version-bump PRs with relevant changes, main-branch pushes, and manual dispatches. This candidate does not qualify, so every expensive stage was skipped. Reproduce locally# build one shard's fixture, then run it
python3 scripts/registry-census/build_matrix.py --shard 1/4
MATRIX_RENDERER=vue MATRIX_VUE=1 \
npx vitest run --config vitest.matrix.config.mts
Full docs: scripts/registry-census/README.md 🌾 Fallow: ✅ PassedFallow audits the diff for duplication, complexity and dead code. It gates on new findings only, so when the audit completes, a red is something this PR introduced or moved — never inherited backlog. A red can also mean the audit itself did not finish; the details below say which happened. Findings and check detailsNo new findings in the changed files. Reproduce locally# the base the gate compared against
npx fallow audit --root . --quiet --format json \
--changed-since 96f58a4700e2d3cbe0e3a392c8d4af12d7d2c1f0
Full docs: ADR-DEVEX-LINT-0015 🏛️ Architecture: ✅ PassedFindings and check detailsWarnings (306)
Reproduce locallypnpm architecture:checkFull docs: Frontend domain catalog |
There was a problem hiding this comment.
🔍 Cursor Review — Consolidated panel
Triggered by @shrimbly.
Found 5 finding(s).
| Severity | Count |
|---|---|
| 🟠 High | 2 |
| 🟡 Medium | 1 |
| 🟢 Low | 2 |
Panel: 6/6 reviewers contributed findings.
…pied on reopen openBriefIn now downloads the workflow before it hands the brief to the app, so a download that throws never leaves the agent with a brief that names a file that was not written. Its return value had no reader and is gone. The agent button's "Copied" label now clears each time the menu opens, as the platform.comfy.org agent menu clears its own Copied on each open.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## willie/des-1261-comfyui_frontend-open-on-comfy-cloud-from-local-comfyui #22408 +/- ##
===========================================================================================================
- Coverage 87.37% 87.02% -0.36%
===========================================================================================================
Files 2835 2904 +69
Lines 155551 157688 +2137
Branches 42379 42387 +8
===========================================================================================================
+ Hits 135912 137223 +1311
- Misses 18884 19710 +826
Partials 755 755
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 147 files with indirect coverage changes 🚀 New features to boost your workflow:
|
The menu keeps three rows: Open in Claude desktop, Open in ChatGPT desktop and Copy prompt. The button shows the Claude and Codex marks. Use local agent comes in a later PR. The layer rule does not let src/platform import src/workbench, where the agent panel lives, and no seam from src/platform to the agent exists yet. This removes the row, its availability check, its locale key, its tests and story states, and the astroid mark that only the row used.
This PR is intended as the design and frontend guide only. Ben Lu (
benceruleanlu) implements the agent menu from it in DPLAT-3610.Summary
In Deploy your setup, Build with your agent now opens a menu. The menu hands the setup to an agent in the Claude or ChatGPT desktop app, or copies the prompt. The PR is stacked on #21153 and is part of DES-1261.
The rows:
The button keeps its white look and its label. The marks are Claude and Codex. A chevron shows that the button opens a menu. The menu is the design system's
Menu.The desktop links come from platform.comfy.org. Its agent menu (Comfy-Org/website
utils/agentApps.ts) usesclaude://code/new?q=<prompt>andcodex://new?prompt=<prompt>, and this PR uses the same links. The website follows the link in the page. In ComfyUI that firesbeforeunload, which shows the leave prompt when a workflow has unsaved changes and clears the media cache. This PR loads the link in one hidden, reused iframe instead. In Chromium, the frame reached the app's "Open?" prompt andbeforeunloaddid not fire. A large workflow (80 node classes, 20 packs, 15 models) encodes to about 8,800 characters. Claude desktop documents a cut at about 14,000.Deploy your setup is 680px wide, up from 640px. At 640px, Read the docs sat about 10px left of the text column. Custom deployment keeps 640px.
AgentMarkskeeps its default marks for Custom deployment: at 8x, 8 of 80,640 pixels differ, by at most 1 of 255.Use local agent comes in a follow-up
The Figma menu also has a Use local agent row, for ComfyUI's own agent. This PR leaves it out. The agent panel lives in
src/workbench. The layer rulecomfy(no-restricted-paths)does not letsrc/platformimportsrc/workbench, and no seam fromsrc/platformto the agent exists yet. The follow-up adds the row and its astroid mark.Open question: long links on Windows
On Windows, Chromium does not hand a custom-scheme link longer than 2048 characters to the app (crbug.com/727909). The encoded deploy prompt is about 4,000 characters for a small workflow and about 8,800 for a large one. So in Chrome and Edge on Windows, the two desktop rows probably download the workflow and open nothing. platform.comfy.org uses the same links and has the same limit. Copy prompt works on every platform. The options are to keep website parity, to also copy the prompt when a desktop row opens, or to hide the desktop rows on Windows.
Figma
The file is Homestead UX. Section
196:280495has four Deploy your setup screens. In each screen, I made these changes:210:321655,210:321805,210:323717and214:323409.210:323693and210:325618.I did not change the shared Dialog / Promo component (
10:7727). Deploy to Comfy API and Custom deployment also use it.Verification
Unit tests passed: 352 tests in
src/platform/openOnCloud,src/platform/workflow/deployandsrc/platform/workspace/components. Lint, typecheck and the fallow audit passed on the last commit, and knip found nothing unused in the changed files.architecture:check(Node 26) passed before the last commit, which only removes code, and I did not run it again. I did not open the new stories in Storybook. The Cursor review found 5 findings. I fixed 2 in16a5b6583e: download before opening the app, and clear "Copied" when the menu opens. I declined 3. One was about the Use local agent row, which this PR no longer has. The other two are the Windows link limit (now an open question above) and the ChatGPT label (it matches Figma and the website).I tested in a browser against my own ComfyUI backend and Vite dev server, with
ff:open_on_cloud_enabled. I opened Deploy your setup from the Run bar's engine menu. The dialog is 680px wide. The footer fits on one row, and Read the docs starts at the same x as the title (417px), and Build with your agent ends at the same x as the title (1023px). The menu showed 3 rows. Both desktop rows requested their link from the hidden frame and downloaded the workflow.beforeunloaddid not fire, and the dialog stayed open. Copy prompt put the prompt on the clipboard, downloaded the workflow and showed "Copied". The label went back to "Build with your agent" when the menu opened again.The agent menu:
After Copy prompt: