@kitman-sh/go-to-market 0.13.16 → 0.13.18
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 +59 -38
- package/dist/declarations.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -13395,6 +13395,50 @@ var AttemptTokens = Union2([TokenUsage, Literal2("none")]);
|
|
|
13395
13395
|
var TokenTotalCount = String5.check(isPattern2(/^(?:0|[1-9][0-9]*)$/));
|
|
13396
13396
|
var TokenTotal = Struct({ input: TokenTotalCount, output: TokenTotalCount, cached: TokenTotalCount });
|
|
13397
13397
|
|
|
13398
|
+
// ../../packages/core/src/test-report.ts
|
|
13399
|
+
var maxSkippedTests = 1e4;
|
|
13400
|
+
var maxRanDigests = 1e5;
|
|
13401
|
+
var TestId = String5.check(isMinLength(1), isMaxLength(1000));
|
|
13402
|
+
var maxFailedTests = 50;
|
|
13403
|
+
var maxFailedTestLength = 300;
|
|
13404
|
+
var FailedTests = ArraySchema(String5.check(isMinLength(1), isMaxLength(maxFailedTestLength))).check(isMaxLength(maxFailedTests));
|
|
13405
|
+
var EnvironmentFailure = Struct({
|
|
13406
|
+
failedTests: optionalKey2(FailedTests),
|
|
13407
|
+
exitCode: optionalKey2(Int),
|
|
13408
|
+
outputTail: optionalKey2(String5.check(isMaxLength(8000))),
|
|
13409
|
+
retryFailedTests: optionalKey2(FailedTests)
|
|
13410
|
+
});
|
|
13411
|
+
var CheckTests = Struct({
|
|
13412
|
+
reports: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
13413
|
+
passed: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
13414
|
+
failed: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
13415
|
+
skipped: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
13416
|
+
skippedTests: ArraySchema(TestId).check(isMaxLength(maxSkippedTests)),
|
|
13417
|
+
ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests)),
|
|
13418
|
+
failedTests: optionalKey2(FailedTests),
|
|
13419
|
+
environmentFailure: optionalKey2(EnvironmentFailure),
|
|
13420
|
+
environmentJudged: optionalKey2(Boolean3)
|
|
13421
|
+
});
|
|
13422
|
+
var entities = new Map([
|
|
13423
|
+
["amp", "&"],
|
|
13424
|
+
["lt", "<"],
|
|
13425
|
+
["gt", ">"],
|
|
13426
|
+
["quot", '"'],
|
|
13427
|
+
["apos", "'"]
|
|
13428
|
+
]);
|
|
13429
|
+
var failedFileStart = String.raw`FAIL +(?:\|[^|]+\| *)?(?! )(?!\S*:\/\/)`;
|
|
13430
|
+
var afterPath = String.raw` > | \[ `;
|
|
13431
|
+
var failedFilePaths = [
|
|
13432
|
+
String.raw`\S*\.[A-Za-z]\w*(?=[\s:]|$)`,
|
|
13433
|
+
String.raw`(?=\S*[A-Za-z])(?=\S*\/)\S+(?=${afterPath}|$)`,
|
|
13434
|
+
String.raw`(?:(?!${afterPath}).)*\.[A-Za-z]\w*(?=${afterPath})`,
|
|
13435
|
+
String.raw`(?=\S*\/)(?:(?!${afterPath}).)*\.[A-Za-z]\w*$`,
|
|
13436
|
+
String.raw`(?=.*(?:\.(?:test|spec)\.|\b__tests__\/))(?:(?!${afterPath}).)*\.[cm]?[jt]sx?$`
|
|
13437
|
+
];
|
|
13438
|
+
var failedFileLine = new RegExp(`^${failedFileStart}((?:${failedFilePaths.join("|")}).*)$`, "su");
|
|
13439
|
+
var attempt = String.raw`(?:\d+ times in )?(?:initial run|\d+[a-z]{2} (?:retry(?: of \d+[a-z]{2} repeat)?|repeat))`;
|
|
13440
|
+
var vitestAttempts = new RegExp(String.raw` \(${attempt}(?:, ${attempt})*\)$`, "u");
|
|
13441
|
+
|
|
13398
13442
|
// ../../packages/core/src/loop.ts
|
|
13399
13443
|
var LoopStatuses = ["draft", "active", "disabled", "archived"];
|
|
13400
13444
|
var LoopStepImplementationKinds = [
|
|
@@ -13964,6 +14008,7 @@ var RunEvidence = Struct({
|
|
|
13964
14008
|
failedTests: optionalKey2(ArraySchema(String5)),
|
|
13965
14009
|
skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
|
|
13966
14010
|
newNotRun: optionalKey2(ArraySchema(String5)),
|
|
14011
|
+
environmentFailure: optionalKey2(EnvironmentFailure),
|
|
13967
14012
|
recordedAt: Timestamp
|
|
13968
14013
|
});
|
|
13969
14014
|
var ApprovedVerification = Struct({
|
|
@@ -18973,7 +19018,13 @@ var EvidenceCheck = Struct({
|
|
|
18973
19018
|
failedTests: optionalKey2(ArraySchema(String5)),
|
|
18974
19019
|
suggested: optionalKey2(Boolean3),
|
|
18975
19020
|
skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
|
|
18976
|
-
newNotRun: optionalKey2(ArraySchema(String5))
|
|
19021
|
+
newNotRun: optionalKey2(ArraySchema(String5)),
|
|
19022
|
+
environmentFailure: optionalKey2(Struct({
|
|
19023
|
+
failedTests: optionalKey2(ArraySchema(String5)),
|
|
19024
|
+
exitCode: optionalKey2(Int),
|
|
19025
|
+
outputTail: optionalKey2(String5),
|
|
19026
|
+
retryFailedTests: optionalKey2(ArraySchema(String5))
|
|
19027
|
+
}))
|
|
18977
19028
|
});
|
|
18978
19029
|
var VerifyResult = Struct({
|
|
18979
19030
|
revision: String5,
|
|
@@ -19704,41 +19755,6 @@ var NetworkHostQuery = Struct({
|
|
|
19704
19755
|
repoBindingId: optionalKey2(Id)
|
|
19705
19756
|
});
|
|
19706
19757
|
|
|
19707
|
-
// ../../packages/core/src/test-report.ts
|
|
19708
|
-
var maxSkippedTests = 1e4;
|
|
19709
|
-
var maxRanDigests = 1e5;
|
|
19710
|
-
var TestId = String5.check(isMinLength(1), isMaxLength(1000));
|
|
19711
|
-
var maxFailedTests = 50;
|
|
19712
|
-
var maxFailedTestLength = 300;
|
|
19713
|
-
var CheckTests = Struct({
|
|
19714
|
-
reports: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
19715
|
-
passed: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
19716
|
-
failed: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
19717
|
-
skipped: Int.check(isGreaterThanOrEqualTo2(0)),
|
|
19718
|
-
skippedTests: ArraySchema(TestId).check(isMaxLength(maxSkippedTests)),
|
|
19719
|
-
ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests)),
|
|
19720
|
-
failedTests: optionalKey2(ArraySchema(String5.check(isMinLength(1), isMaxLength(maxFailedTestLength))).check(isMaxLength(maxFailedTests)))
|
|
19721
|
-
});
|
|
19722
|
-
var entities = new Map([
|
|
19723
|
-
["amp", "&"],
|
|
19724
|
-
["lt", "<"],
|
|
19725
|
-
["gt", ">"],
|
|
19726
|
-
["quot", '"'],
|
|
19727
|
-
["apos", "'"]
|
|
19728
|
-
]);
|
|
19729
|
-
var failedFileStart = String.raw`FAIL +(?:\|[^|]+\| *)?(?! )(?!\S*:\/\/)`;
|
|
19730
|
-
var afterPath = String.raw` > | \[ `;
|
|
19731
|
-
var failedFilePaths = [
|
|
19732
|
-
String.raw`\S*\.[A-Za-z]\w*(?=[\s:]|$)`,
|
|
19733
|
-
String.raw`(?=\S*[A-Za-z])(?=\S*\/)\S+(?=${afterPath}|$)`,
|
|
19734
|
-
String.raw`(?:(?!${afterPath}).)*\.[A-Za-z]\w*(?=${afterPath})`,
|
|
19735
|
-
String.raw`(?=\S*\/)(?:(?!${afterPath}).)*\.[A-Za-z]\w*$`,
|
|
19736
|
-
String.raw`(?=.*(?:\.(?:test|spec)\.|\b__tests__\/))(?:(?!${afterPath}).)*\.[cm]?[jt]sx?$`
|
|
19737
|
-
];
|
|
19738
|
-
var failedFileLine = new RegExp(`^${failedFileStart}((?:${failedFilePaths.join("|")}).*)$`, "su");
|
|
19739
|
-
var attempt = String.raw`(?:\d+ times in )?(?:initial run|\d+[a-z]{2} (?:retry(?: of \d+[a-z]{2} repeat)?|repeat))`;
|
|
19740
|
-
var vitestAttempts = new RegExp(String.raw` \(${attempt}(?:, ${attempt})*\)$`, "u");
|
|
19741
|
-
|
|
19742
19758
|
// ../../packages/core/src/work-unit.ts
|
|
19743
19759
|
var WorkUnitLease = Struct({
|
|
19744
19760
|
leaseOwnerId: Id,
|
|
@@ -22334,7 +22350,12 @@ class RunnerReplicaRpcs extends make31(make30("Claim", {
|
|
|
22334
22350
|
error: RunnerRpcError
|
|
22335
22351
|
}), make30("KnownEvidence", {
|
|
22336
22352
|
payload: { lease: ProgramLease, trees: ArraySchema(String5) },
|
|
22337
|
-
success: ArraySchema(Struct({
|
|
22353
|
+
success: ArraySchema(Struct({
|
|
22354
|
+
tree: String5,
|
|
22355
|
+
name: String5,
|
|
22356
|
+
command: String5,
|
|
22357
|
+
unjudgedFailure: optionalKey2(Boolean3)
|
|
22358
|
+
})),
|
|
22338
22359
|
error: RunnerRpcError
|
|
22339
22360
|
})).middleware(RunnerAuthentication) {
|
|
22340
22361
|
}
|
|
@@ -25526,4 +25547,4 @@ var runKit = (config, identity, packages) => {
|
|
|
25526
25547
|
runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
|
|
25527
25548
|
};
|
|
25528
25549
|
// .kitman-build-entry.ts
|
|
25529
|
-
runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.
|
|
25550
|
+
runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.18" }, []);
|
package/dist/declarations.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitman-sh/go-to-market",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.18",
|
|
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.
|
|
17
|
+
"@kitman-sh/sdk": "0.13.18"
|
|
18
18
|
},
|
|
19
19
|
"kitman": {
|
|
20
20
|
"bundle": "dist/bundle.js",
|
|
21
|
-
"digest": "
|
|
21
|
+
"digest": "34f632a893f17684d546a23b3b1e7e1e751fa6161896ef8815e96f5060562232",
|
|
22
22
|
"protocolVersion": 5,
|
|
23
23
|
"declarations": "dist/declarations.json",
|
|
24
24
|
"setup": {
|