leapfrog-mcp 0.7.2 → 0.7.4
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/dist/humanize-typing.js +9 -5
- package/package.json +2 -1
package/dist/humanize-typing.js
CHANGED
|
@@ -126,7 +126,15 @@ export function humanTypeString(text, opts = {}) {
|
|
|
126
126
|
}
|
|
127
127
|
// ── Compute inter-key delay (flight time) ──────────────────────
|
|
128
128
|
let delay;
|
|
129
|
-
if (
|
|
129
|
+
if (char === "\n") {
|
|
130
|
+
// Line break: cognitive pause (always, even during bursts)
|
|
131
|
+
delay = logNormalDelay(400, 0.5, 150);
|
|
132
|
+
if (burstRemaining > 0) {
|
|
133
|
+
burstRemaining = 0;
|
|
134
|
+
inBurst = false;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
else if (burstRemaining > 0) {
|
|
130
138
|
// Burst: 50% of base delay, still log-normal distributed
|
|
131
139
|
delay = logNormalDelay(Math.round(baseDelay * 0.5), 0.35, 25);
|
|
132
140
|
burstRemaining--;
|
|
@@ -141,10 +149,6 @@ export function humanTypeString(text, opts = {}) {
|
|
|
141
149
|
// Punctuation: slightly longer pause
|
|
142
150
|
delay = logNormalDelay(200, 0.4, 80);
|
|
143
151
|
}
|
|
144
|
-
else if (char === "\n") {
|
|
145
|
-
// Line break: cognitive pause
|
|
146
|
-
delay = logNormalDelay(400, 0.5, 150);
|
|
147
|
-
}
|
|
148
152
|
else {
|
|
149
153
|
// Regular character: log-normal around baseDelay with bigram adjustment
|
|
150
154
|
const multiplier = prevChar ? bigramMultiplier(prevChar, lower) : 1.0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "leapfrog-mcp",
|
|
3
|
-
"
|
|
3
|
+
"mcpName": "io.github.anthonybono21-cloud/leapfrog",
|
|
4
|
+
"version": "0.7.4",
|
|
4
5
|
"description": "Multi-session browser MCP for AI agents — 36 tools, stealth, persistent auth, code-first scripts, API sniffer, agent intelligence",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|