cbrowser 18.72.4 → 18.72.6
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 +8 -8
- package/dist/cli.js +2 -6
- package/dist/cli.js.map +1 -1
- package/dist/cognitive/index.js +1 -1
- package/dist/cognitive/index.js.map +1 -1
- package/dist/mcp-server-remote.d.ts.map +1 -1
- package/dist/mcp-server-remote.js +46 -6
- package/dist/mcp-server-remote.js.map +1 -1
- package/dist/mcp-tools/tier-gate.d.ts.map +1 -1
- package/dist/mcp-tools/tier-gate.js +24 -3
- package/dist/mcp-tools/tier-gate.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# CBrowser — Cognitive Browser Automation
|
|
2
2
|
|
|
3
|
-
> **The browser automation that thinks like your users.**
|
|
3
|
+
> **The browser automation that thinks like your users.** 122 MCP tools. 25 cognitive traits. 11 disability personas. The only framework that predicts when users give up.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/cbrowser)
|
|
6
6
|
[](https://cbrowser.ai/docs)
|
|
7
7
|
[](LICENSE)
|
|
8
|
-
[](https://modelcontextprotocol.io)
|
|
9
9
|
[](https://www.typescriptlang.org/)
|
|
10
10
|
[](https://nodejs.org/)
|
|
11
11
|
|
|
@@ -152,7 +152,7 @@ npx cbrowser ai-benchmark "https://site-a.com,https://site-b.com"
|
|
|
152
152
|
| **Social Proof** | Cialdini (2001) | Influence of reviews, ratings, popularity indicators |
|
|
153
153
|
| **FOMO** | Przybylski et al. (2013) | Fear of missing out; urgency and scarcity responses |
|
|
154
154
|
|
|
155
|
-
*See [Trait Index](https://cbrowser.ai/docs/Trait-Index) for all
|
|
155
|
+
*See [Trait Index](https://cbrowser.ai/docs/Trait-Index) for all 25 traits including: Persistence, Resilience, Curiosity, Change Blindness, Anchoring Bias, Time Horizon, Attribution Style, Metacognitive Planning, Procedural Fluency, Transfer Learning, Authority Sensitivity, Emotional Contagion, Mental Model Rigidity, Interrupt Recovery, Reading Tendency, and Site Familiarity.*
|
|
156
156
|
|
|
157
157
|
**Full documentation:** [Research Methodology](https://cbrowser.ai/docs/Research-Methodology) · [Trait Index](https://cbrowser.ai/docs/Trait-Index) · [Bibliography](https://cbrowser.ai/docs/Bibliography)
|
|
158
158
|
|
|
@@ -180,7 +180,7 @@ See [Values Framework](https://cbrowser.ai/docs/Values-Framework) for full docum
|
|
|
180
180
|
# Interactive questionnaire (8 core traits)
|
|
181
181
|
npx cbrowser persona-questionnaire start
|
|
182
182
|
|
|
183
|
-
# Comprehensive questionnaire (all
|
|
183
|
+
# Comprehensive questionnaire (all 25 traits)
|
|
184
184
|
npx cbrowser persona-questionnaire start --comprehensive --name "my-tester"
|
|
185
185
|
|
|
186
186
|
# From a description — AI generates trait values
|
|
@@ -360,7 +360,7 @@ The Claude Code Skill is a full CLI integration with workflow routing, TypeScrip
|
|
|
360
360
|
}
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
###
|
|
363
|
+
### 122 MCP Tools
|
|
364
364
|
|
|
365
365
|
| Category | Tools | Count |
|
|
366
366
|
|----------|-------|-------|
|
|
@@ -384,7 +384,7 @@ The Claude Code Skill is a full CLI integration with workflow routing, TypeScrip
|
|
|
384
384
|
|
|
385
385
|
### Token Cost & Selective Loading
|
|
386
386
|
|
|
387
|
-
|
|
387
|
+
122 MCP tools consume ~45,000 tokens in LLM context. For cost-sensitive use, load selectively:
|
|
388
388
|
|
|
389
389
|
```typescript
|
|
390
390
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -500,7 +500,7 @@ npx cbrowser config set-api-key # Required for cognitive journeys
|
|
|
500
500
|
| **Constitutional Stealth** | Full stealth measures for authorized penetration testing |
|
|
501
501
|
| **Web Security Scan** | OWASP-based security scanning |
|
|
502
502
|
|
|
503
|
-
All
|
|
503
|
+
All 125 MCP tools included with no rate limits.
|
|
504
504
|
|
|
505
505
|
---
|
|
506
506
|
|
|
@@ -524,7 +524,7 @@ All 120 MCP tools included with no rate limits.
|
|
|
524
524
|
|
|
525
525
|
### Research
|
|
526
526
|
|
|
527
|
-
- [Research Methodology](https://cbrowser.ai/docs/Research-Methodology) — How
|
|
527
|
+
- [Research Methodology](https://cbrowser.ai/docs/Research-Methodology) — How the 25 traits were selected and validated
|
|
528
528
|
- [Trait Index](https://cbrowser.ai/docs/Trait-Index) — All cognitive traits with citations
|
|
529
529
|
- [Bibliography](https://cbrowser.ai/docs/Bibliography) — Academic references
|
|
530
530
|
- [Persona Index](https://cbrowser.ai/docs/Persona-Index) — All 17 cognitive + 8 marketing personas
|
package/dist/cli.js
CHANGED
|
@@ -733,7 +733,7 @@ API CONFIGURATION (v8.0.0)
|
|
|
733
733
|
config set-api-key <key> Set Anthropic API key for cognitive journeys
|
|
734
734
|
config show-api-key Show configured API key (masked)
|
|
735
735
|
config remove-api-key Remove stored API key
|
|
736
|
-
config set-model <model> Set Claude model (default: claude-sonnet-
|
|
736
|
+
config set-model <model> Set Claude model (default: claude-sonnet-5)
|
|
737
737
|
|
|
738
738
|
LIGHTPANDA (v18.20.0) - High-Performance Headless Browser (OPT-IN ONLY)
|
|
739
739
|
lightpanda-status Check Lightpanda availability and configuration
|
|
@@ -1771,10 +1771,6 @@ async function evaluateScript(page, script, args) {
|
|
|
1771
1771
|
const fn = (0, eval)(`(${payload.src})`);
|
|
1772
1772
|
return fn(...payload.a);
|
|
1773
1773
|
}
|
|
1774
|
-
// Compile in the page, trying the three shapes people write, in order.
|
|
1775
|
-
// Deciding by regex was wrong twice: `({a:1}).a` starts with "(" but is
|
|
1776
|
-
// not a function, and a statement body with no `return` silently produced
|
|
1777
|
-
// undefined. Letting the JS parser decide is the only reliable test.
|
|
1778
1774
|
const compile = (src) => {
|
|
1779
1775
|
// 1. A bare expression: implicit return.
|
|
1780
1776
|
try {
|
|
@@ -2606,7 +2602,7 @@ async function main() {
|
|
|
2606
2602
|
const model = args[1];
|
|
2607
2603
|
if (!model) {
|
|
2608
2604
|
console.error("Usage: cbrowser config set-model <model>");
|
|
2609
|
-
console.error("Examples: claude-sonnet-
|
|
2605
|
+
console.error("Examples: claude-sonnet-5, claude-haiku-4-5-20251001");
|
|
2610
2606
|
process.exit(1);
|
|
2611
2607
|
}
|
|
2612
2608
|
const configPath = path.join(getDataDir(), "config.json");
|