@usepipr/runtime 0.4.1 → 0.4.2

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as DiffManifest, C as RuntimeLogSink, D as PublicationResult, E as PublicationError, F as RuntimeSettings, I as OfficialInitAdapter, L as supportedOfficialInitAdapters, M as PlatformInfo, N as ProviderConfig, O as ChangeRequestEventContext, P as RepositoryRef, S as RuntimeLogRecord, a as runInspectCommand, c as DryRunCommandOptions, d as HostRunCommandResult, f as InitCommandOptions, g as RuntimeCommandOptions, h as LocalReviewCommandResult, i as runInitCommand, j as PiprConfig, k as ChangeRequestRef, l as DryRunCommandResult, m as LocalReviewCommandOptions, n as runHostRunCommand, o as runLocalReviewCommand, p as InspectCommandResult, s as runValidateCommand, t as runDryRunCommand, u as HostRunCommandOptions } from "./commands-0cyQHxpm.mjs";
1
+ import { A as DiffManifest, C as RuntimeLogSink, D as PublicationResult, E as PublicationError, F as RuntimeSettings, I as OfficialInitAdapter, L as supportedOfficialInitAdapters, M as PlatformInfo, N as ProviderConfig, O as ChangeRequestEventContext, P as RepositoryRef, S as RuntimeLogRecord, a as runInspectCommand, c as DryRunCommandOptions, d as HostRunCommandResult, f as InitCommandOptions, g as RuntimeCommandOptions, h as LocalReviewCommandResult, i as runInitCommand, j as PiprConfig, k as ChangeRequestRef, l as DryRunCommandResult, m as LocalReviewCommandOptions, n as runHostRunCommand, o as runLocalReviewCommand, p as InspectCommandResult, s as runValidateCommand, t as runDryRunCommand, u as HostRunCommandOptions } from "./commands-DtdTtej_.mjs";
2
2
  import { a as OfficialInitRecipeFile, i as OfficialInitRecipe, n as listOfficialInitRecipes, r as supportedOfficialInitRecipes, t as OfficialInitRecipeId } from "./recipes-w72EpAOi.mjs";
3
3
  //#region src/hosts/webhook.d.ts
4
4
  type WebhookHost = "gitlab" | "azure-devops" | "bitbucket";
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { a as runInspectCommand, d as createGitLabClient, f as createBitbucketClient, h as supportedOfficialInitAdapters, i as runInitCommand, l as PublicationError, m as azureOrganizationFromUrl, n as runHostRunCommand, o as runLocalReviewCommand, p as createAzureDevOpsClient, s as runValidateCommand, t as runDryRunCommand } from "./commands-46Q2ZDt0.mjs";
2
- import { n as listOfficialInitRecipes, o as supportedOfficialInitRecipes } from "./official-github-workflow-Cx-Yhh86.mjs";
1
+ import { a as runInspectCommand, d as createGitLabClient, f as createBitbucketClient, h as supportedOfficialInitAdapters, i as runInitCommand, l as PublicationError, m as azureOrganizationFromUrl, n as runHostRunCommand, o as runLocalReviewCommand, p as createAzureDevOpsClient, s as runValidateCommand, t as runDryRunCommand } from "./commands-EZV-Icbs.mjs";
2
+ import { n as listOfficialInitRecipes, o as supportedOfficialInitRecipes } from "./official-github-workflow-BuZs6bOx.mjs";
3
3
  import { mkdir, mkdtemp, rm } from "node:fs/promises";
4
4
  import path from "node:path";
5
5
  import { z } from "zod";
@@ -1,2 +1,2 @@
1
- import { n as listOfficialInitRecipes, t as renderOfficialGithubWorkflow } from "../official-github-workflow-Cx-Yhh86.mjs";
1
+ import { n as listOfficialInitRecipes, t as renderOfficialGithubWorkflow } from "../official-github-workflow-BuZs6bOx.mjs";
2
2
  export { listOfficialInitRecipes, renderOfficialGithubWorkflow };
@@ -1,4 +1,4 @@
1
- import { P as RepositoryRef, T as RepositoryPermission, _ as piBuiltinToolNames, b as piThinkingLevels, d as HostRunCommandResult, k as ChangeRequestRef, r as runHostRunCommandWithDependencies, v as piReadOnlyToolNames, w as CodeHostAdapter, x as SecretRedactor, y as piRequiredCliFlags } from "../commands-0cyQHxpm.mjs";
1
+ import { P as RepositoryRef, T as RepositoryPermission, _ as piBuiltinToolNames, b as piThinkingLevels, d as HostRunCommandResult, k as ChangeRequestRef, r as runHostRunCommandWithDependencies, v as piReadOnlyToolNames, w as CodeHostAdapter, x as SecretRedactor, y as piRequiredCliFlags } from "../commands-DtdTtej_.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/hosts/github/command.d.ts
4
4
  type GitHubPullRequestDetails = {
@@ -1,2 +1,2 @@
1
- import { _ as piReadOnlyToolNames, c as createGitHubHostAdapter, g as piBuiltinToolNames, r as runHostRunCommandWithDependencies, u as createKnownSecretRedactor, v as piRequiredCliFlags, y as piThinkingLevels } from "../commands-46Q2ZDt0.mjs";
1
+ import { _ as piReadOnlyToolNames, c as createGitHubHostAdapter, g as piBuiltinToolNames, r as runHostRunCommandWithDependencies, u as createKnownSecretRedactor, v as piRequiredCliFlags, y as piThinkingLevels } from "../commands-EZV-Icbs.mjs";
2
2
  export { createGitHubHostAdapter, createKnownSecretRedactor, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runHostRunCommandWithDependencies };
@@ -2212,18 +2212,16 @@ export default definePipr((pipr) => {
2212
2212
  instructions: \`
2213
2213
  Review the change request diff for correctness, security, reliability,
2214
2214
  performance, test coverage, maintainability, and documentation risks.
2215
- Return only actionable findings that target valid diff ranges. Assign
2216
- severity by merge impact: critical for exploitable, data-loss, or widespread
2217
- outage risks; high for other merge-blocking defects; medium for concrete
2218
- non-blocking defects; and low for small but actionable issues. Each rationale
2219
- must connect repository evidence to the defect and its concrete impact.
2220
- Keep each finding title to one line and its body concise. Put supporting
2221
- evidence and reasoning in rationale instead of appending it to the body.
2215
+ Assign severity by merge impact: critical for exploitable, data-loss, or
2216
+ widespread outage risks; high for other merge-blocking defects; medium for
2217
+ concrete non-blocking defects; and low for small but actionable issues. Each
2218
+ rationale must connect repository evidence to the defect and its concrete
2219
+ impact. Keep each finding title to one line. Put supporting evidence and
2220
+ reasoning in rationale instead of appending it to the body.
2222
2221
 
2223
2222
  Make summary maintainer-facing and scannable: one concrete headline, one
2224
2223
  to four behavior-focused change bullets, a risk level with rationale, and
2225
- reviewer focus only for useful human follow-up. Put actionable defects in
2226
- findings, not only in summary.
2224
+ reviewer focus only for useful human follow-up.
2227
2225
  \`,
2228
2226
  output: reviewOutput,
2229
2227
  tools: pipr.tools.readOnly,
@@ -2705,7 +2703,7 @@ function isOfficialInitRecipeId(recipe) {
2705
2703
  }
2706
2704
  //#endregion
2707
2705
  //#region src/config/official-github-workflow.ts
2708
- const defaultWorkflowActionRef = "somus/pipr@v0.4.1";
2706
+ const defaultWorkflowActionRef = "somus/pipr@v0.4.2";
2709
2707
  /** Internal shared renderer for `pipr init` and generated recipe docs. */
2710
2708
  function renderOfficialGithubWorkflow(options = {}) {
2711
2709
  const relativeConfigDir = options.relativeConfigDir ?? ".pipr";
@@ -2750,4 +2748,4 @@ function githubExpression(expression) {
2750
2748
  //#endregion
2751
2749
  export { officialInitRecipeWorkflowEnvSecrets as a, officialInitRecipeFiles as i, listOfficialInitRecipes as n, supportedOfficialInitRecipes as o, officialInitRecipeConfigTs as r, renderOfficialGithubWorkflow as t };
2752
2750
 
2753
- //# sourceMappingURL=official-github-workflow-Cx-Yhh86.mjs.map
2751
+ //# sourceMappingURL=official-github-workflow-BuZs6bOx.mjs.map