@kitman-sh/go-to-market 0.13.10 → 0.13.12

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/bundle.js CHANGED
@@ -13958,6 +13958,7 @@ var RunEvidence = Struct({
13958
13958
  durationMs: Int.check(isGreaterThanOrEqualTo2(0)),
13959
13959
  outputTail: String5,
13960
13960
  fileIds: optionalKey2(ArraySchema(String5)),
13961
+ failedTests: optionalKey2(ArraySchema(String5)),
13961
13962
  skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
13962
13963
  newNotRun: optionalKey2(ArraySchema(String5)),
13963
13964
  recordedAt: Timestamp
@@ -14288,6 +14289,8 @@ var RunStepSummary = Struct({
14288
14289
  failureSummary: optionalKey2(String5),
14289
14290
  output: optionalKey2(Unknown2),
14290
14291
  revision: optionalKey2(String5),
14292
+ harness: optionalKey2(String5),
14293
+ model: optionalKey2(String5),
14291
14294
  tokens: optionalKey2(AttemptTokens)
14292
14295
  })),
14293
14296
  tokens: optionalKey2(TokenUsage)
@@ -18954,6 +18957,7 @@ var EvidenceCheck = Struct({
18954
18957
  durationMs: Finite,
18955
18958
  evidenceId: String5,
18956
18959
  outputTail: optionalKey2(String5),
18960
+ failedTests: optionalKey2(ArraySchema(String5)),
18957
18961
  suggested: optionalKey2(Boolean3),
18958
18962
  skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
18959
18963
  newNotRun: optionalKey2(ArraySchema(String5))
@@ -19690,13 +19694,16 @@ var NetworkHostQuery = Struct({
19690
19694
  var maxSkippedTests = 1e4;
19691
19695
  var maxRanDigests = 1e5;
19692
19696
  var TestId = String5.check(isMinLength(1), isMaxLength(1000));
19697
+ var maxFailedTests = 50;
19698
+ var maxFailedTestLength = 300;
19693
19699
  var CheckTests = Struct({
19694
19700
  reports: Int.check(isGreaterThanOrEqualTo2(0)),
19695
19701
  passed: Int.check(isGreaterThanOrEqualTo2(0)),
19696
19702
  failed: Int.check(isGreaterThanOrEqualTo2(0)),
19697
19703
  skipped: Int.check(isGreaterThanOrEqualTo2(0)),
19698
19704
  skippedTests: ArraySchema(TestId).check(isMaxLength(maxSkippedTests)),
19699
- ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests))
19705
+ ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests)),
19706
+ failedTests: optionalKey2(ArraySchema(String5.check(isMinLength(1), isMaxLength(maxFailedTestLength))).check(isMaxLength(maxFailedTests)))
19700
19707
  });
19701
19708
  var entities = new Map([
19702
19709
  ["amp", "&"],
@@ -19705,6 +19712,18 @@ var entities = new Map([
19705
19712
  ["quot", '"'],
19706
19713
  ["apos", "'"]
19707
19714
  ]);
19715
+ var failedFileStart = String.raw`FAIL +(?:\|[^|]+\| *)?(?! )(?!\S*:\/\/)`;
19716
+ var afterPath = String.raw` > | \[ `;
19717
+ var failedFilePaths = [
19718
+ String.raw`\S*\.[A-Za-z]\w*(?=[\s:]|$)`,
19719
+ String.raw`(?=\S*[A-Za-z])(?=\S*\/)\S+(?=${afterPath}|$)`,
19720
+ String.raw`(?:(?!${afterPath}).)*\.[A-Za-z]\w*(?=${afterPath})`,
19721
+ String.raw`(?=\S*\/)(?:(?!${afterPath}).)*\.[A-Za-z]\w*$`,
19722
+ String.raw`(?=.*(?:\.(?:test|spec)\.|\b__tests__\/))(?:(?!${afterPath}).)*\.[cm]?[jt]sx?$`
19723
+ ];
19724
+ var failedFileLine = new RegExp(`^${failedFileStart}((?:${failedFilePaths.join("|")}).*)$`, "su");
19725
+ var attempt = String.raw`(?:\d+ times in )?(?:initial run|\d+[a-z]{2} (?:retry(?: of \d+[a-z]{2} repeat)?|repeat))`;
19726
+ var vitestAttempts = new RegExp(String.raw` \(${attempt}(?:, ${attempt})*\)$`, "u");
19708
19727
 
19709
19728
  // ../../packages/core/src/work-unit.ts
19710
19729
  var WorkUnitLease = Struct({
@@ -25488,4 +25507,4 @@ var runKit = (config, identity, packages) => {
25488
25507
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
25489
25508
  };
25490
25509
  // .kitman-build-entry.ts
25491
- runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.10" }, []);
25510
+ runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.12" }, []);
@@ -4,7 +4,7 @@
4
4
  "carried": [
5
5
  {
6
6
  "name": "@kitman-sh/go-to-market",
7
- "version": "0.13.10",
7
+ "version": "0.13.12",
8
8
  "setup": "0270b1c80a2c382c905693fede77fcb29c404d97404546c95d45de274fa6b087",
9
9
  "loops": [],
10
10
  "agents": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/go-to-market",
3
- "version": "0.13.10",
3
+ "version": "0.13.12",
4
4
  "description": "Copywriting, marketing psychology and SEO audits.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -14,11 +14,11 @@
14
14
  "kitman.config.ts"
15
15
  ],
16
16
  "dependencies": {
17
- "@kitman-sh/sdk": "0.13.10"
17
+ "@kitman-sh/sdk": "0.13.12"
18
18
  },
19
19
  "kitman": {
20
20
  "bundle": "dist/bundle.js",
21
- "digest": "a8e62d9fdd301db79d36f5dada36c6162f8f37b156b8b3bc9f0c2a362bdac0e5",
21
+ "digest": "11eb2e7f8c0ff8ec80777915f584b4c02ebb5548f1bdd4c0bf84e1a161fc26e8",
22
22
  "protocolVersion": 5,
23
23
  "declarations": "dist/declarations.json",
24
24
  "setup": {