@swmansion/argent 0.12.0 → 0.13.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/README.md +13 -8
- package/assets/queries/cpu-hotspots.sql +22 -5
- package/bin/argent-android-devtools-0.1.0.apk +0 -0
- package/bin/darwin/ax-service +0 -0
- package/dist/cli-cmds.mjs +7203 -758
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/installer.mjs +9733 -2819
- package/dist/mcp-server.mjs +2751 -116
- package/dist/preview-ui/index.html +7 -17
- package/dist/tool-server.cjs +109698 -64722
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +11 -7
- package/rules/argent.md +24 -4
- package/skills/argent-create-flow/SKILL.md +16 -1
- package/skills/argent-device-interact/SKILL.md +60 -31
- package/skills/argent-native-profiler/SKILL.md +3 -3
- package/skills/argent-test-ui-flow/SKILL.md +14 -5
- package/skills/argent-vega/SKILL.md +76 -0
|
@@ -4296,24 +4296,14 @@
|
|
|
4296
4296
|
const allChosen = vp.proposals.length > 0 && vp.proposals.every((p) => vp.staged[p.id]);
|
|
4297
4297
|
footEl.classList.toggle("ready", allChosen && !vp.submitting);
|
|
4298
4298
|
|
|
4299
|
-
//
|
|
4300
|
-
//
|
|
4301
|
-
//
|
|
4302
|
-
//
|
|
4299
|
+
// Whenever ANY proposal's element is off-screen, surface the reveal
|
|
4300
|
+
// prompt above the footbar so the user can always bring the hidden
|
|
4301
|
+
// choices into view. (Previously this was gated on every on-screen
|
|
4302
|
+
// choice already being staged, which stranded the user with a "N hidden"
|
|
4303
|
+
// count and no affordance to act on it.) `offscreenPromptCollapsed` only
|
|
4304
|
+
// selects between the full card and the collapsed pill (see below).
|
|
4303
4305
|
const offScreenCount = vp.proposals.filter((p) => !p._node).length;
|
|
4304
|
-
|
|
4305
|
-
// when NONE are on screen (e.g. all proposals target another screen), so
|
|
4306
|
-
// the reveal prompt still appears in that case instead of stranding the
|
|
4307
|
-
// user with inert "N hidden" cards and no way to surface them.
|
|
4308
|
-
const onScreenStaged = vp.proposals.every((p) => !p._node || vp.staged[p.id]);
|
|
4309
|
-
// Latch on `offscreenPromptCollapsed`: once dismissed to the pill, keep it
|
|
4310
|
-
// shown even if an on-screen pick is later un-staged — the hidden choices
|
|
4311
|
-
// must ALWAYS stay one click from visible (the pill never disappears).
|
|
4312
|
-
const showPrompt =
|
|
4313
|
-
offScreenCount > 0 &&
|
|
4314
|
-
!vp.revealOffscreen &&
|
|
4315
|
-
!vp.submitting &&
|
|
4316
|
-
(onScreenStaged || vp.offscreenPromptCollapsed);
|
|
4306
|
+
const showPrompt = offScreenCount > 0 && !vp.revealOffscreen && !vp.submitting;
|
|
4317
4307
|
offscreenPrompt.hidden = !showPrompt;
|
|
4318
4308
|
if (showPrompt) {
|
|
4319
4309
|
offscreenPrompt.classList.toggle("collapsed", !!vp.offscreenPromptCollapsed);
|