@kitman-sh/go-to-market 0.10.75 → 0.10.77
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 +27 -6
- package/dist/declarations.json +1 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -18748,7 +18748,11 @@ var ArtifactRequest = Struct({
|
|
|
18748
18748
|
files: optional2(ArraySchema(RunFile))
|
|
18749
18749
|
});
|
|
18750
18750
|
var ArtifactResult = Struct({ artifactId: String5 });
|
|
18751
|
-
var NoteRequest = Struct({
|
|
18751
|
+
var NoteRequest = Struct({
|
|
18752
|
+
text: String5,
|
|
18753
|
+
artifactId: optional2(String5),
|
|
18754
|
+
kind: optional2(Literals(["note", "blocker"]))
|
|
18755
|
+
});
|
|
18752
18756
|
var CreateTasksRequest = Struct({
|
|
18753
18757
|
tickets: ArraySchema(PlanTicket),
|
|
18754
18758
|
projectId: optionalKey2(String5)
|
|
@@ -19696,10 +19700,17 @@ var scriptedHost = (script, engine, agentLaunches, childLaunches, waits, verifyL
|
|
|
19696
19700
|
...launch.mergeTarget === undefined ? undefined : { mergeTarget: launch.mergeTarget }
|
|
19697
19701
|
})), resolve(agentDeferredNamed(launch.deferredName), launch.token, scriptedExit(script.outputs?.[launch.step], (reason) => new StepFailed({ step: launch.step, reason })))),
|
|
19698
19702
|
putQuestion: (launch) => {
|
|
19699
|
-
const
|
|
19703
|
+
const attended = script.attended === true;
|
|
19704
|
+
const auto = script.fullAuto === true ? launch.auto ?? (attended ? undefined : launch.unattendedAuto) : undefined;
|
|
19705
|
+
const answer = script.answers?.[launch.step] ?? auto ?? (attended ? undefined : launch.default);
|
|
19700
19706
|
return resolve(answerDeferred(launch.step), launch.token, answer === undefined ? fail5(new StepFailed({ step: launch.step, reason: "no answer was scripted" })) : succeed4(answer));
|
|
19701
19707
|
},
|
|
19702
|
-
admitChild: (launch) => andThen2(sync2(() => childLaunches.push({
|
|
19708
|
+
admitChild: (launch) => andThen2(sync2(() => childLaunches.push({
|
|
19709
|
+
step: launch.step,
|
|
19710
|
+
loop: launch.loop,
|
|
19711
|
+
input: launch.input,
|
|
19712
|
+
...launch.constraints === undefined ? undefined : { constraints: launch.constraints }
|
|
19713
|
+
})), resolve(childDeferred(launch.step), launch.token, scriptedExit(script.children?.[launch.step], (reason) => new ChildFailed({ step: launch.step, loop: launch.loop, reason })))),
|
|
19703
19714
|
awaitEvent: (launch) => {
|
|
19704
19715
|
const event = script.events?.[launch.step];
|
|
19705
19716
|
waits.push({
|
|
@@ -21840,6 +21851,7 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
|
|
|
21840
21851
|
verification: optional2(SuggestedVerification),
|
|
21841
21852
|
default: optional2(String5),
|
|
21842
21853
|
auto: optional2(String5),
|
|
21854
|
+
unattendedAuto: optional2(String5),
|
|
21843
21855
|
timeoutMillis: optional2(Finite),
|
|
21844
21856
|
deferredName: String5
|
|
21845
21857
|
},
|
|
@@ -21910,6 +21922,7 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
|
|
|
21910
21922
|
step: String5,
|
|
21911
21923
|
loop: String5,
|
|
21912
21924
|
input: Json2,
|
|
21925
|
+
constraints: optional2(ArraySchema(String5)),
|
|
21913
21926
|
deferredName: String5
|
|
21914
21927
|
},
|
|
21915
21928
|
success: Struct({ runId: String5 }),
|
|
@@ -21931,7 +21944,8 @@ class RunnerCapabilityRpcs extends make29(make28("PutQuestion", {
|
|
|
21931
21944
|
lease: ProgramLease,
|
|
21932
21945
|
step: String5,
|
|
21933
21946
|
text: String5,
|
|
21934
|
-
artifactId: optional2(String5)
|
|
21947
|
+
artifactId: optional2(String5),
|
|
21948
|
+
kind: optional2(Literals(["note", "blocker"]))
|
|
21935
21949
|
},
|
|
21936
21950
|
error: RunnerRpcError
|
|
21937
21951
|
}), make28("PerformHostEffect", {
|
|
@@ -22365,6 +22379,7 @@ var runnerHost = (capabilities) => ({
|
|
|
22365
22379
|
...launch.verification === undefined ? undefined : { verification: launch.verification },
|
|
22366
22380
|
...launch.default === undefined ? undefined : { default: launch.default },
|
|
22367
22381
|
...launch.auto === undefined ? undefined : { auto: launch.auto },
|
|
22382
|
+
...launch.unattendedAuto === undefined ? undefined : { unattendedAuto: launch.unattendedAuto },
|
|
22368
22383
|
...launch.timeoutMillis === undefined ? undefined : { timeoutMillis: launch.timeoutMillis }
|
|
22369
22384
|
})).pipe(asVoid2),
|
|
22370
22385
|
startVerification: (launch) => requested(launch.step, capabilities.startVerification({
|
|
@@ -22392,6 +22407,7 @@ var runnerHost = (capabilities) => ({
|
|
|
22392
22407
|
step: launch.step,
|
|
22393
22408
|
loop: launch.loop,
|
|
22394
22409
|
input: launch.input,
|
|
22410
|
+
...launch.constraints === undefined ? undefined : { constraints: launch.constraints },
|
|
22395
22411
|
deferredName: childDeferred(launch.step).name
|
|
22396
22412
|
})).pipe(asVoid2),
|
|
22397
22413
|
claimResource: (launch) => requested(launch.step, capabilities.claimResource({
|
|
@@ -22588,6 +22604,7 @@ var rpcProgramPorts = (rpc, work) => {
|
|
|
22588
22604
|
...question.verification === undefined ? undefined : { verification: question.verification },
|
|
22589
22605
|
...question.default === undefined ? undefined : { default: question.default },
|
|
22590
22606
|
...question.auto === undefined ? undefined : { auto: question.auto },
|
|
22607
|
+
...question.unattendedAuto === undefined ? undefined : { unattendedAuto: question.unattendedAuto },
|
|
22591
22608
|
...question.timeoutMillis === undefined ? undefined : { timeoutMillis: question.timeoutMillis }
|
|
22592
22609
|
}),
|
|
22593
22610
|
startVerification: (verification) => rpc.startVerification({
|
|
@@ -22603,7 +22620,11 @@ var rpcProgramPorts = (rpc, work) => {
|
|
|
22603
22620
|
startAgentStep: ({ secrets, ...step }) => rpc.startAgentStep({ lease, ...step, ...secrets === undefined ? undefined : { secrets: [...secrets] } }),
|
|
22604
22621
|
awaitEvent: (wait) => rpc.awaitEvent({ lease, ...wait }),
|
|
22605
22622
|
claimResource: (claim) => rpc.claimResource({ lease, ...claim }),
|
|
22606
|
-
admitChild: (child) => rpc.admitChild({
|
|
22623
|
+
admitChild: ({ constraints, ...child }) => rpc.admitChild({
|
|
22624
|
+
lease,
|
|
22625
|
+
...child,
|
|
22626
|
+
...constraints === undefined ? undefined : { constraints: [...constraints] }
|
|
22627
|
+
}),
|
|
22607
22628
|
storeArtifact: ({ fileIds, ...artifact }) => rpc.storeArtifact({ lease, ...artifact, ...fileIds === undefined ? undefined : { fileIds: [...fileIds] } }),
|
|
22608
22629
|
...rpcRunFiles(rpc, lease),
|
|
22609
22630
|
recordNote: (note) => rpc.recordNote({ lease, ...note }),
|
|
@@ -24890,4 +24911,4 @@ var runKit = (config, identity, packages) => {
|
|
|
24890
24911
|
runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
|
|
24891
24912
|
};
|
|
24892
24913
|
// .kitman-build-entry.ts
|
|
24893
|
-
runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.10.
|
|
24914
|
+
runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.10.77" }, []);
|
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.10.
|
|
3
|
+
"version": "0.10.77",
|
|
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.10.
|
|
17
|
+
"@kitman-sh/sdk": "0.10.77"
|
|
18
18
|
},
|
|
19
19
|
"kitman": {
|
|
20
20
|
"bundle": "dist/bundle.js",
|
|
21
|
-
"digest": "
|
|
21
|
+
"digest": "5ed84725bdff71bb99656b75f2e3f41dd83be9165272936de1e04e9940024a22",
|
|
22
22
|
"protocolVersion": 5,
|
|
23
23
|
"declarations": "dist/declarations.json",
|
|
24
24
|
"setup": {
|