@pourkit/cli 0.0.0-next-20260724200221 → 0.0.0-next-20260725203555
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.js +15 -11
- package/dist/cli.js.map +1 -1
- package/dist/e2e/run-live-e2e.js +8 -5
- package/dist/e2e/run-live-e2e.js.map +1 -1
- package/dist/issues/close-issues-on-merge.js +8 -5
- package/dist/issues/close-issues-on-merge.js.map +1 -1
- package/dist/issues/unblock.js +8 -5
- package/dist/issues/unblock.js.map +1 -1
- package/dist/managed/skills/prd-run/SKILL.md +91 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -14,15 +14,17 @@ import { createWriteStream } from "fs";
|
|
|
14
14
|
import { mkdirSync } from "fs";
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { styleText } from "util";
|
|
17
|
-
function createLogger(name, filePath) {
|
|
17
|
+
function createLogger(name, filePath, options = {}) {
|
|
18
18
|
let fileStream;
|
|
19
19
|
if (filePath) {
|
|
20
20
|
mkdirSync(path.dirname(filePath), { recursive: true });
|
|
21
21
|
fileStream = createWriteStream(filePath, { flags: "a" });
|
|
22
22
|
}
|
|
23
|
-
const write = (terminal, plain = terminal) => {
|
|
24
|
-
|
|
23
|
+
const write = (terminal, plain = terminal, detail = false) => {
|
|
24
|
+
if (!options.quiet || !detail) {
|
|
25
|
+
process.stdout.write(`${terminal}
|
|
25
26
|
`);
|
|
27
|
+
}
|
|
26
28
|
if (fileStream) {
|
|
27
29
|
fileStream.write(`${plain}
|
|
28
30
|
`);
|
|
@@ -34,7 +36,7 @@ function createLogger(name, filePath) {
|
|
|
34
36
|
write(`${ts.terminal} ${msg}`, `${ts.plain} ${msg}`);
|
|
35
37
|
},
|
|
36
38
|
raw(msg) {
|
|
37
|
-
write(msg);
|
|
39
|
+
write(msg, msg, true);
|
|
38
40
|
},
|
|
39
41
|
step(step, msg) {
|
|
40
42
|
const ts = timestamp();
|
|
@@ -54,7 +56,8 @@ function createLogger(name, filePath) {
|
|
|
54
56
|
const ts = timestamp();
|
|
55
57
|
write(
|
|
56
58
|
`${ts.terminal} ${color("dim", key)}=${formatValue(key, value)}`,
|
|
57
|
-
`${ts.plain} ${key}=${value}
|
|
59
|
+
`${ts.plain} ${key}=${value}`,
|
|
60
|
+
true
|
|
58
61
|
);
|
|
59
62
|
},
|
|
60
63
|
async close() {
|
|
@@ -15933,6 +15936,7 @@ var BASELINE_MANAGED_SKILLS = [
|
|
|
15933
15936
|
"grill-with-docs",
|
|
15934
15937
|
"handoff",
|
|
15935
15938
|
"improve-codebase-architecture",
|
|
15939
|
+
"prd-run",
|
|
15936
15940
|
"publish-prd",
|
|
15937
15941
|
"secret-commit-guard",
|
|
15938
15942
|
"security-review",
|
|
@@ -22136,7 +22140,7 @@ function createCliProgram(version) {
|
|
|
22136
22140
|
}
|
|
22137
22141
|
}
|
|
22138
22142
|
);
|
|
22139
|
-
prdRun.command("launch").argument("<prdRef>", "PRD ref").requiredOption("--target <name>", "target name").option("--base <branch>", "override target baseBranch for this PRD Run").option("--cwd <path>", "target repository directory").option("--no-auto-merge", "skip auto-merge for manual review").option("--adopt-existing-branch", "adopt an existing PRD branch").action(
|
|
22143
|
+
prdRun.command("launch").argument("<prdRef>", "PRD ref").requiredOption("--target <name>", "target name").option("--base <branch>", "override target baseBranch for this PRD Run").option("--cwd <path>", "target repository directory").option("--no-auto-merge", "skip auto-merge for manual review").option("--adopt-existing-branch", "adopt an existing PRD branch").option("--quiet", "suppress detailed launch log output on stdout").action(
|
|
22140
22144
|
async (prdRef, options) => {
|
|
22141
22145
|
const targetRepoRoot = options.cwd ? repoRoot(options.cwd) : repoRoot();
|
|
22142
22146
|
const normalizedPrdRef = normalizePrdRef2(prdRef);
|
|
@@ -22146,7 +22150,7 @@ function createCliProgram(version) {
|
|
|
22146
22150
|
"logs",
|
|
22147
22151
|
"prd-run-launch.log"
|
|
22148
22152
|
);
|
|
22149
|
-
const logger = createLogger("pourkit", logPath);
|
|
22153
|
+
const logger = options.quiet ? createLogger("pourkit", logPath, { quiet: true }) : createLogger("pourkit", logPath);
|
|
22150
22154
|
try {
|
|
22151
22155
|
const config = await loadRepoConfig(targetRepoRoot);
|
|
22152
22156
|
resolveTarget(config, options.target);
|
|
@@ -22437,11 +22441,11 @@ function createCliProgram(version) {
|
|
|
22437
22441
|
return program;
|
|
22438
22442
|
}
|
|
22439
22443
|
async function resolveCliVersion() {
|
|
22440
|
-
if (isPackageVersion("0.0.0-next-
|
|
22441
|
-
return "0.0.0-next-
|
|
22444
|
+
if (isPackageVersion("0.0.0-next-20260725203555")) {
|
|
22445
|
+
return "0.0.0-next-20260725203555";
|
|
22442
22446
|
}
|
|
22443
|
-
if (isReleaseVersion("0.0.0-next-
|
|
22444
|
-
return "0.0.0-next-
|
|
22447
|
+
if (isReleaseVersion("0.0.0-next-20260725203555")) {
|
|
22448
|
+
return "0.0.0-next-20260725203555";
|
|
22445
22449
|
}
|
|
22446
22450
|
try {
|
|
22447
22451
|
const root = repoRoot();
|