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 CHANGED
@@ -1,11 +1,11 @@
1
1
  # CBrowser — Cognitive Browser Automation
2
2
 
3
- > **The browser automation that thinks like your users.** 120 MCP tools. 26 cognitive traits. 11 disability personas. The only framework that predicts when users give up.
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
  [![npm version](https://img.shields.io/npm/v/cbrowser.svg)](https://www.npmjs.com/package/cbrowser)
6
6
  [![Documentation](https://img.shields.io/badge/Docs-cbrowser.ai-blue.svg)](https://cbrowser.ai/docs)
7
7
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
8
- [![MCP Ready](https://img.shields.io/badge/MCP-120%20Tools-blue)](https://modelcontextprotocol.io)
8
+ [![MCP Ready](https://img.shields.io/badge/MCP-122%20Tools-blue)](https://modelcontextprotocol.io)
9
9
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.3-blue.svg)](https://www.typescriptlang.org/)
10
10
  [![Node](https://img.shields.io/badge/Node-%3E%3D18-green.svg)](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 26 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.*
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 26 traits)
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
- ### 108 MCP Tools
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
- 120 MCP tools consume ~45,000 tokens in LLM context. For cost-sensitive use, load selectively:
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 120 MCP tools included with no rate limits.
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 26 traits were selected and validated
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-4-20250514)
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-4-20250514, claude-3-5-sonnet-20241022");
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");