@hasna/testers 0.0.30 → 0.0.31

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/cli/index.js CHANGED
@@ -27842,7 +27842,7 @@ import chalk6 from "chalk";
27842
27842
  // package.json
27843
27843
  var package_default = {
27844
27844
  name: "@hasna/testers",
27845
- version: "0.0.30",
27845
+ version: "0.0.31",
27846
27846
  description: "AI-powered QA testing CLI \u2014 spawns cheap AI agents to test web apps with headless browsers",
27847
27847
  type: "module",
27848
27848
  main: "dist/index.js",
@@ -27907,7 +27907,7 @@ var package_default = {
27907
27907
  },
27908
27908
  repository: {
27909
27909
  type: "git",
27910
- url: "https://github.com/hasna/testers.git"
27910
+ url: "git+https://github.com/hasna/testers.git"
27911
27911
  },
27912
27912
  license: "Apache-2.0",
27913
27913
  keywords: [
package/dist/mcp/index.js CHANGED
@@ -22261,6 +22261,91 @@ var coerce = {
22261
22261
  var NEVER = INVALID;
22262
22262
  // src/mcp/index.ts
22263
22263
  init_dist();
22264
+ // package.json
22265
+ var package_default = {
22266
+ name: "@hasna/testers",
22267
+ version: "0.0.31",
22268
+ description: "AI-powered QA testing CLI \u2014 spawns cheap AI agents to test web apps with headless browsers",
22269
+ type: "module",
22270
+ main: "dist/index.js",
22271
+ types: "dist/index.d.ts",
22272
+ bin: {
22273
+ testers: "dist/cli/index.js",
22274
+ "testers-mcp": "dist/mcp/index.js",
22275
+ "testers-serve": "dist/server/index.js"
22276
+ },
22277
+ exports: {
22278
+ ".": {
22279
+ types: "./dist/index.d.ts",
22280
+ import: "./dist/index.js"
22281
+ }
22282
+ },
22283
+ files: [
22284
+ "dist/",
22285
+ "dashboard/dist/",
22286
+ "LICENSE",
22287
+ "README.md"
22288
+ ],
22289
+ scripts: {
22290
+ build: "bun run build:dashboard && bun run build:cli && bun run build:mcp && bun run build:server && bun run build:lib && bun run build:types",
22291
+ "build:cli": "bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk --external @anthropic-ai/sdk --external playwright --external @hasna/browser",
22292
+ "build:mcp": "bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk --external @anthropic-ai/sdk --external playwright --external @hasna/browser",
22293
+ "build:server": "bun build src/server/index.ts --outdir dist/server --target bun --external @anthropic-ai/sdk --external playwright --external @hasna/browser",
22294
+ "build:lib": "bun build src/index.ts --outdir dist --target bun --external playwright --external @anthropic-ai/sdk --external @modelcontextprotocol/sdk --external @hasna/browser",
22295
+ "build:types": "NODE_OPTIONS='--max-old-space-size=8192' tsc --emitDeclarationOnly --outDir dist --skipLibCheck",
22296
+ "build:dashboard": "cd dashboard && bun run build",
22297
+ typecheck: "tsc --noEmit",
22298
+ test: "bun test",
22299
+ "dev:cli": "bun run src/cli/index.tsx",
22300
+ "dev:mcp": "bun run src/mcp/index.ts",
22301
+ "dev:serve": "bun run src/server/index.ts",
22302
+ prepublishOnly: "bun run build",
22303
+ postinstall: "mkdir -p $HOME/.hasna/testers/screenshots $HOME/.hasna/testers/browser/profiles 2>/dev/null || true"
22304
+ },
22305
+ dependencies: {
22306
+ "@anthropic-ai/sdk": "^0.52.0",
22307
+ "@hasna/browser": "^0.3.8",
22308
+ "@hasna/cloud": "^0.1.24",
22309
+ "@hasna/contacts": "^0.6.8",
22310
+ "@modelcontextprotocol/sdk": "^1.12.1",
22311
+ chalk: "^5.4.1",
22312
+ commander: "^13.1.0",
22313
+ ink: "^5.2.0",
22314
+ playwright: "^1.50.0",
22315
+ react: "^18.3.1",
22316
+ zod: "^3.24.2"
22317
+ },
22318
+ devDependencies: {
22319
+ "@types/bun": "latest",
22320
+ "@types/react": "^18.3.18",
22321
+ typescript: "^5.7.3"
22322
+ },
22323
+ engines: {
22324
+ bun: ">=1.0.0"
22325
+ },
22326
+ publishConfig: {
22327
+ registry: "https://registry.npmjs.org",
22328
+ access: "public"
22329
+ },
22330
+ repository: {
22331
+ type: "git",
22332
+ url: "git+https://github.com/hasna/testers.git"
22333
+ },
22334
+ license: "Apache-2.0",
22335
+ keywords: [
22336
+ "testing",
22337
+ "qa",
22338
+ "ai",
22339
+ "playwright",
22340
+ "browser",
22341
+ "screenshot",
22342
+ "automation",
22343
+ "cli",
22344
+ "mcp"
22345
+ ]
22346
+ };
22347
+
22348
+ // src/mcp/index.ts
22264
22349
  init_scenarios();
22265
22350
 
22266
22351
  // src/lib/templates.ts
@@ -23643,7 +23728,7 @@ Options:
23643
23728
  process.exit(0);
23644
23729
  }
23645
23730
  if (cliArgs.has("--version") || cliArgs.has("-V")) {
23646
- console.log("0.0.1");
23731
+ console.log(package_default.version);
23647
23732
  process.exit(0);
23648
23733
  }
23649
23734
  function json(data) {
@@ -23704,7 +23789,7 @@ var ID_DESC = "Accepts either the full UUID (e.g. 'abc123...') or the short ID (
23704
23789
  var MODEL_DESC = "Model to use. Values: 'quick' (claude-haiku-4-5, cheapest), 'thorough' (claude-sonnet-4-6, balanced), 'deep' (claude-opus-4-6, most capable). Default: 'quick'.";
23705
23790
  var server = new McpServer({
23706
23791
  name: "testers",
23707
- version: "0.0.1"
23792
+ version: package_default.version
23708
23793
  });
23709
23794
  server.tool("create_prod_debug_plan", "Create a safe production debug plan for a URL, session ID, project ID, user report, or request ID. Does not use passwords or raw cookies; browser debugging is blocked unless an audited support URL is supplied or an app adapter can resolve a support grant.", {
23710
23795
  target: exports_external.string().describe("Production URL, session ID, project ID, request ID, or other target evidence"),
@@ -12569,9 +12569,94 @@ var init_scan_issues = __esm(() => {
12569
12569
  });
12570
12570
 
12571
12571
  // src/server/index.ts
12572
- init_paths();
12573
12572
  import { existsSync as existsSync10 } from "fs";
12574
12573
  import { join as join13 } from "path";
12574
+ // package.json
12575
+ var package_default = {
12576
+ name: "@hasna/testers",
12577
+ version: "0.0.31",
12578
+ description: "AI-powered QA testing CLI \u2014 spawns cheap AI agents to test web apps with headless browsers",
12579
+ type: "module",
12580
+ main: "dist/index.js",
12581
+ types: "dist/index.d.ts",
12582
+ bin: {
12583
+ testers: "dist/cli/index.js",
12584
+ "testers-mcp": "dist/mcp/index.js",
12585
+ "testers-serve": "dist/server/index.js"
12586
+ },
12587
+ exports: {
12588
+ ".": {
12589
+ types: "./dist/index.d.ts",
12590
+ import: "./dist/index.js"
12591
+ }
12592
+ },
12593
+ files: [
12594
+ "dist/",
12595
+ "dashboard/dist/",
12596
+ "LICENSE",
12597
+ "README.md"
12598
+ ],
12599
+ scripts: {
12600
+ build: "bun run build:dashboard && bun run build:cli && bun run build:mcp && bun run build:server && bun run build:lib && bun run build:types",
12601
+ "build:cli": "bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk --external @anthropic-ai/sdk --external playwright --external @hasna/browser",
12602
+ "build:mcp": "bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk --external @anthropic-ai/sdk --external playwright --external @hasna/browser",
12603
+ "build:server": "bun build src/server/index.ts --outdir dist/server --target bun --external @anthropic-ai/sdk --external playwright --external @hasna/browser",
12604
+ "build:lib": "bun build src/index.ts --outdir dist --target bun --external playwright --external @anthropic-ai/sdk --external @modelcontextprotocol/sdk --external @hasna/browser",
12605
+ "build:types": "NODE_OPTIONS='--max-old-space-size=8192' tsc --emitDeclarationOnly --outDir dist --skipLibCheck",
12606
+ "build:dashboard": "cd dashboard && bun run build",
12607
+ typecheck: "tsc --noEmit",
12608
+ test: "bun test",
12609
+ "dev:cli": "bun run src/cli/index.tsx",
12610
+ "dev:mcp": "bun run src/mcp/index.ts",
12611
+ "dev:serve": "bun run src/server/index.ts",
12612
+ prepublishOnly: "bun run build",
12613
+ postinstall: "mkdir -p $HOME/.hasna/testers/screenshots $HOME/.hasna/testers/browser/profiles 2>/dev/null || true"
12614
+ },
12615
+ dependencies: {
12616
+ "@anthropic-ai/sdk": "^0.52.0",
12617
+ "@hasna/browser": "^0.3.8",
12618
+ "@hasna/cloud": "^0.1.24",
12619
+ "@hasna/contacts": "^0.6.8",
12620
+ "@modelcontextprotocol/sdk": "^1.12.1",
12621
+ chalk: "^5.4.1",
12622
+ commander: "^13.1.0",
12623
+ ink: "^5.2.0",
12624
+ playwright: "^1.50.0",
12625
+ react: "^18.3.1",
12626
+ zod: "^3.24.2"
12627
+ },
12628
+ devDependencies: {
12629
+ "@types/bun": "latest",
12630
+ "@types/react": "^18.3.18",
12631
+ typescript: "^5.7.3"
12632
+ },
12633
+ engines: {
12634
+ bun: ">=1.0.0"
12635
+ },
12636
+ publishConfig: {
12637
+ registry: "https://registry.npmjs.org",
12638
+ access: "public"
12639
+ },
12640
+ repository: {
12641
+ type: "git",
12642
+ url: "git+https://github.com/hasna/testers.git"
12643
+ },
12644
+ license: "Apache-2.0",
12645
+ keywords: [
12646
+ "testing",
12647
+ "qa",
12648
+ "ai",
12649
+ "playwright",
12650
+ "browser",
12651
+ "screenshot",
12652
+ "automation",
12653
+ "cli",
12654
+ "mcp"
12655
+ ]
12656
+ };
12657
+
12658
+ // src/server/index.ts
12659
+ init_paths();
12575
12660
 
12576
12661
  // node_modules/zod/v3/external.js
12577
12662
  var exports_external = {};
@@ -20272,7 +20357,7 @@ Environment:
20272
20357
  process.exit(0);
20273
20358
  }
20274
20359
  if (cliArgs.has("--version") || cliArgs.has("-V")) {
20275
- console.log("0.0.1");
20360
+ console.log(package_default.version);
20276
20361
  process.exit(0);
20277
20362
  }
20278
20363
  function parseUrl(req) {
@@ -20475,7 +20560,7 @@ async function handleRequest(req) {
20475
20560
  runCount: runs.length,
20476
20561
  apiCheckCount: countApiChecks(),
20477
20562
  personaCount: countPersonas(),
20478
- version: "0.0.1"
20563
+ version: package_default.version
20479
20564
  });
20480
20565
  }
20481
20566
  if (pathname === "/api/scenarios/search" && method === "GET") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/testers",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "AI-powered QA testing CLI — spawns cheap AI agents to test web apps with headless browsers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "repository": {
67
67
  "type": "git",
68
- "url": "https://github.com/hasna/testers.git"
68
+ "url": "git+https://github.com/hasna/testers.git"
69
69
  },
70
70
  "license": "Apache-2.0",
71
71
  "keywords": [