@kitman-sh/go-to-market 0.13.11 → 0.13.13

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
@@ -13943,7 +13943,8 @@ var RunWaiting = Union2([
13943
13943
  position: Int.check(isGreaterThanOrEqualTo2(1)),
13944
13944
  reason: String5,
13945
13945
  movesUpAt: optionalKey2(String5),
13946
- unrunnable: optionalKey2(String5)
13946
+ unrunnable: optionalKey2(String5),
13947
+ quotaUntil: optionalKey2(Timestamp)
13947
13948
  })
13948
13949
  ]);
13949
13950
  var RunEvidence = Struct({
@@ -13958,6 +13959,7 @@ var RunEvidence = Struct({
13958
13959
  durationMs: Int.check(isGreaterThanOrEqualTo2(0)),
13959
13960
  outputTail: String5,
13960
13961
  fileIds: optionalKey2(ArraySchema(String5)),
13962
+ failedTests: optionalKey2(ArraySchema(String5)),
13961
13963
  skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
13962
13964
  newNotRun: optionalKey2(ArraySchema(String5)),
13963
13965
  recordedAt: Timestamp
@@ -18956,6 +18958,7 @@ var EvidenceCheck = Struct({
18956
18958
  durationMs: Finite,
18957
18959
  evidenceId: String5,
18958
18960
  outputTail: optionalKey2(String5),
18961
+ failedTests: optionalKey2(ArraySchema(String5)),
18959
18962
  suggested: optionalKey2(Boolean3),
18960
18963
  skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
18961
18964
  newNotRun: optionalKey2(ArraySchema(String5))
@@ -19692,13 +19695,16 @@ var NetworkHostQuery = Struct({
19692
19695
  var maxSkippedTests = 1e4;
19693
19696
  var maxRanDigests = 1e5;
19694
19697
  var TestId = String5.check(isMinLength(1), isMaxLength(1000));
19698
+ var maxFailedTests = 50;
19699
+ var maxFailedTestLength = 300;
19695
19700
  var CheckTests = Struct({
19696
19701
  reports: Int.check(isGreaterThanOrEqualTo2(0)),
19697
19702
  passed: Int.check(isGreaterThanOrEqualTo2(0)),
19698
19703
  failed: Int.check(isGreaterThanOrEqualTo2(0)),
19699
19704
  skipped: Int.check(isGreaterThanOrEqualTo2(0)),
19700
19705
  skippedTests: ArraySchema(TestId).check(isMaxLength(maxSkippedTests)),
19701
- ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests))
19706
+ ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests)),
19707
+ failedTests: optionalKey2(ArraySchema(String5.check(isMinLength(1), isMaxLength(maxFailedTestLength))).check(isMaxLength(maxFailedTests)))
19702
19708
  });
19703
19709
  var entities = new Map([
19704
19710
  ["amp", "&"],
@@ -19707,6 +19713,18 @@ var entities = new Map([
19707
19713
  ["quot", '"'],
19708
19714
  ["apos", "'"]
19709
19715
  ]);
19716
+ var failedFileStart = String.raw`FAIL +(?:\|[^|]+\| *)?(?! )(?!\S*:\/\/)`;
19717
+ var afterPath = String.raw` > | \[ `;
19718
+ var failedFilePaths = [
19719
+ String.raw`\S*\.[A-Za-z]\w*(?=[\s:]|$)`,
19720
+ String.raw`(?=\S*[A-Za-z])(?=\S*\/)\S+(?=${afterPath}|$)`,
19721
+ String.raw`(?:(?!${afterPath}).)*\.[A-Za-z]\w*(?=${afterPath})`,
19722
+ String.raw`(?=\S*\/)(?:(?!${afterPath}).)*\.[A-Za-z]\w*$`,
19723
+ String.raw`(?=.*(?:\.(?:test|spec)\.|\b__tests__\/))(?:(?!${afterPath}).)*\.[cm]?[jt]sx?$`
19724
+ ];
19725
+ var failedFileLine = new RegExp(`^${failedFileStart}((?:${failedFilePaths.join("|")}).*)$`, "su");
19726
+ var attempt = String.raw`(?:\d+ times in )?(?:initial run|\d+[a-z]{2} (?:retry(?: of \d+[a-z]{2} repeat)?|repeat))`;
19727
+ var vitestAttempts = new RegExp(String.raw` \(${attempt}(?:, ${attempt})*\)$`, "u");
19710
19728
 
19711
19729
  // ../../packages/core/src/work-unit.ts
19712
19730
  var WorkUnitLease = Struct({
@@ -25490,4 +25508,4 @@ var runKit = (config, identity, packages) => {
25490
25508
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
25491
25509
  };
25492
25510
  // .kitman-build-entry.ts
25493
- runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.11" }, []);
25511
+ runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.13" }, []);
@@ -4,7 +4,7 @@
4
4
  "carried": [
5
5
  {
6
6
  "name": "@kitman-sh/go-to-market",
7
- "version": "0.13.11",
7
+ "version": "0.13.13",
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.11",
3
+ "version": "0.13.13",
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.11"
17
+ "@kitman-sh/sdk": "0.13.13"
18
18
  },
19
19
  "kitman": {
20
20
  "bundle": "dist/bundle.js",
21
- "digest": "77e1efdaadfdfc09814668cc7db2a2b8c214ca05c1b04079c66afadcda5a2a8a",
21
+ "digest": "6233af562447f317324744800f313d19fcd8c488c3b01b670bb6d3745dcba449",
22
22
  "protocolVersion": 5,
23
23
  "declarations": "dist/declarations.json",
24
24
  "setup": {