@usepipr/runtime 0.4.2 → 0.4.3

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.
@@ -0,0 +1,27 @@
1
+ import { a as HostRunCommandResult, c as LocalReviewCommandOptions, d as ValidateCommandResult, i as HostRunCommandOptions, l as LocalReviewCommandResult, n as DryRunCommandResult, o as InitCommandOptions, r as HostRunCommandDependencyOptions, s as InspectCommandResult, t as DryRunCommandOptions, u as RuntimeCommandOptions } from "./types-BAis_Lwm.mjs";
2
+ //#region src/config/init.d.ts
3
+ type InitOfficialMinimalProjectResult = {
4
+ configDir: string;
5
+ created: string[];
6
+ overwritten: string[];
7
+ };
8
+ declare const supportedOfficialInitAdapters: readonly ["github", "gitlab", "azure-devops", "bitbucket"];
9
+ type OfficialInitAdapter = (typeof supportedOfficialInitAdapters)[number];
10
+ //#endregion
11
+ //#region src/host-run/commands.d.ts
12
+ /** Initializes the official minimal `.pipr` project files. */
13
+ declare function runInitCommand(options: InitCommandOptions): Promise<InitOfficialMinimalProjectResult>;
14
+ /** Loads and validates the runtime project configuration. */
15
+ declare function runValidateCommand(options: RuntimeCommandOptions): Promise<ValidateCommandResult>;
16
+ /** Returns an inspectable summary of the configured runtime plan. */
17
+ declare function runInspectCommand(options: RuntimeCommandOptions): Promise<InspectCommandResult>;
18
+ /** Loads the runtime config and change request event without running review publication. */
19
+ declare function runDryRunCommand(options: DryRunCommandOptions): Promise<DryRunCommandResult>;
20
+ /** Runs configured change-request tasks against local Git base and head revisions. */
21
+ declare function runLocalReviewCommand(options: LocalReviewCommandOptions): Promise<LocalReviewCommandResult>;
22
+ /** Runs a normalized code host event through the selected adapter. */
23
+ declare function runHostRunCommand(options: HostRunCommandOptions): Promise<HostRunCommandResult>;
24
+ declare function runHostRunCommandWithDependencies(options: HostRunCommandDependencyOptions): Promise<HostRunCommandResult>;
25
+ //#endregion
26
+ export { runInspectCommand as a, OfficialInitAdapter as c, runInitCommand as i, supportedOfficialInitAdapters as l, runHostRunCommand as n, runLocalReviewCommand as o, runHostRunCommandWithDependencies as r, runValidateCommand as s, runDryRunCommand as t };
27
+ //# sourceMappingURL=commands-DA0Ij4Di.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands-DA0Ij4Di.d.mts","names":[],"sources":["../src/config/init.ts","../src/host-run/commands.ts"],"mappings":";;KAuBY;EACV;EACA;EACA;;cAGW;KAOD,8BAA8B;;;;iBCUpB,eACpB,SAAS,qBACR,QAAQ;;iBAYW,mBACpB,SAAS,wBACR,QAAQ;;iBAUW,kBACpB,SAAS,wBACR,QAAQ;;iBASW,iBACpB,SAAS,uBACR,QAAQ;;iBAoBW,sBACpB,SAAS,4BACR,QAAQ;;iBA2EW,kBACpB,SAAS,wBACR,QAAQ;iBAOW,kCACpB,SAAS,kCACR,QAAQ"}
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
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";
1
+ import { a as runInspectCommand, c as OfficialInitAdapter, i as runInitCommand, l as supportedOfficialInitAdapters, n as runHostRunCommand, o as runLocalReviewCommand, s as runValidateCommand, t as runDryRunCommand } from "./commands-DA0Ij4Di.mjs";
2
2
  import { a as OfficialInitRecipeFile, i as OfficialInitRecipe, n as listOfficialInitRecipes, r as supportedOfficialInitRecipes, t as OfficialInitRecipeId } from "./recipes-w72EpAOi.mjs";
3
+ import { A as RuntimeSettings, C as ChangeRequestEventContext, D as PlatformInfo, E as PiprConfig, O as ProviderConfig, S as PublicationResult, T as DiffManifest, _ as RuntimeLogRecord, a as HostRunCommandResult, c as LocalReviewCommandOptions, i as HostRunCommandOptions, k as RepositoryRef, l as LocalReviewCommandResult, n as DryRunCommandResult, o as InitCommandOptions, s as InspectCommandResult, t as DryRunCommandOptions, u as RuntimeCommandOptions, v as RuntimeLogSink, w as ChangeRequestRef, x as PublicationError } from "./types-BAis_Lwm.mjs";
3
4
  //#region src/hosts/webhook.d.ts
4
5
  type WebhookHost = "gitlab" | "azure-devops" | "bitbucket";
5
6
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/hosts/webhook.ts","../src/host-run/webhook-server.ts"],"mappings":";;;KAIY;;;iBCwIU,iBAAiB;EACrC,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA,MAAM,OAAO;IACX"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/hosts/webhook.ts","../src/host-run/webhook-server.ts"],"mappings":";;;;KAIY;;;iBCwIU,iBAAiB;EACrC,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA,MAAM,OAAO;IACX"}
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-EZV-Icbs.mjs";
2
- import { n as listOfficialInitRecipes, o as supportedOfficialInitRecipes } from "./official-github-workflow-BuZs6bOx.mjs";
1
+ import { a as runInspectCommand, c as createGitLabClient, d as PublicationError, f as createAzureDevOpsClient, h as supportedOfficialInitAdapters, i as runInitCommand, n as runHostRunCommand, o as runLocalReviewCommand, p as azureOrganizationFromUrl, s as runValidateCommand, t as runDryRunCommand, u as createBitbucketClient } from "./commands-B9qNW4pk.mjs";
2
+ import { n as listOfficialInitRecipes, o as supportedOfficialInitRecipes } from "./official-github-workflow-Bjlu-FL3.mjs";
3
3
  import { mkdir, mkdtemp, rm } from "node:fs/promises";
4
4
  import path from "node:path";
5
5
  import { z } from "zod";
@@ -0,0 +1,11 @@
1
+ import { a as HostRunCommandResult } from "../types-BAis_Lwm.mjs";
2
+ //#region src/internal/action-result.d.ts
3
+ type GitHubActionResultPresenter = {
4
+ info(message: string): void | Promise<void>;
5
+ warning(message: string): void | Promise<void>;
6
+ setOutput(name: string, value: string): void | Promise<void>;
7
+ };
8
+ declare function presentGitHubActionResult(result: HostRunCommandResult, presenter: GitHubActionResultPresenter): Promise<void>;
9
+ //#endregion
10
+ export { GitHubActionResultPresenter, presentGitHubActionResult };
11
+ //# sourceMappingURL=action-result.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-result.d.mts","names":[],"sources":["../../src/internal/action-result.ts"],"mappings":";;KAEY;EACV,KAAK,yBAAyB;EAC9B,QAAQ,yBAAyB;EACjC,UAAU,cAAc,uBAAuB;;iBAG3B,0BACpB,QAAQ,sBACR,WAAW,8BACV"}
@@ -0,0 +1,46 @@
1
+ //#region src/internal/action-result.ts
2
+ async function presentGitHubActionResult(result, presenter) {
3
+ if (result.kind === "ignored") {
4
+ await presenter.info(`pipr ignored event: ${result.reason}`);
5
+ return;
6
+ }
7
+ await presenter.info(`pipr loaded change #${result.event.change.number} for ${result.event.repository.slug}`);
8
+ await presenter.info(`pipr config source: ${result.configSource}`);
9
+ switch (result.kind) {
10
+ case "dry-run":
11
+ await presenter.info("PIPR_DRY_RUN=1; stopping before review runtime, model, or GitHub publishing calls");
12
+ return;
13
+ case "command-help":
14
+ await presenter.info(`pipr command help: ${result.reason}`);
15
+ await presenter.setOutput("main-comment", result.body);
16
+ return;
17
+ case "command-response":
18
+ await presenter.info(`pipr command '${result.command}' published response comment (${result.publication.action})`);
19
+ await presenter.setOutput("main-comment", result.response.body);
20
+ await presenter.setOutput("publication", JSON.stringify(result.publication));
21
+ return;
22
+ case "verifier":
23
+ await presenter.info(`pipr verifier processed review comment reply with ${result.errors.length} publication error(s)`);
24
+ await warnInlineResolutionErrors(result.errors, presenter);
25
+ await presenter.setOutput("publication", JSON.stringify({ inlineResolutionErrors: result.errors }));
26
+ return;
27
+ case "review":
28
+ await presenter.info(`pipr review produced ${result.review.validated.validFindings.length} valid inline finding(s), ${result.review.validated.droppedFindings.length} dropped finding(s)`);
29
+ await presenter.info(`pipr published main comment (${result.publication.mainComment.action}) and ${result.publication.inlineComments.posted} inline comment(s); ${result.publication.inlineComments.skipped} skipped`);
30
+ await warnInlineResolutionErrors(result.publication.metadata.inlineResolutionErrors, presenter);
31
+ if (result.review.repairAttempted) await presenter.info("pipr repaired reviewer JSON once before validation");
32
+ await presenter.setOutput("main-comment", result.review.mainComment);
33
+ await presenter.setOutput("inline-comments", JSON.stringify(result.review.inlineCommentDrafts));
34
+ await presenter.setOutput("dropped-findings", JSON.stringify(result.review.validated.droppedFindings));
35
+ await presenter.setOutput("publication", JSON.stringify(result.publication));
36
+ return;
37
+ default:
38
+ }
39
+ }
40
+ async function warnInlineResolutionErrors(errors, presenter) {
41
+ for (const error of errors) await presenter.warning(`pipr inline resolution failed: ${error}`);
42
+ }
43
+ //#endregion
44
+ export { presentGitHubActionResult };
45
+
46
+ //# sourceMappingURL=action-result.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-result.mjs","names":[],"sources":["../../src/internal/action-result.ts"],"sourcesContent":["import type { HostRunCommandResult } from \"../host-run/types.js\";\n\nexport type GitHubActionResultPresenter = {\n info(message: string): void | Promise<void>;\n warning(message: string): void | Promise<void>;\n setOutput(name: string, value: string): void | Promise<void>;\n};\n\nexport async function presentGitHubActionResult(\n result: HostRunCommandResult,\n presenter: GitHubActionResultPresenter,\n): Promise<void> {\n if (result.kind === \"ignored\") {\n await presenter.info(`pipr ignored event: ${result.reason}`);\n return;\n }\n\n await presenter.info(\n `pipr loaded change #${result.event.change.number} for ${result.event.repository.slug}`,\n );\n await presenter.info(`pipr config source: ${result.configSource}`);\n\n switch (result.kind) {\n case \"dry-run\":\n await presenter.info(\n \"PIPR_DRY_RUN=1; stopping before review runtime, model, or GitHub publishing calls\",\n );\n return;\n case \"command-help\":\n await presenter.info(`pipr command help: ${result.reason}`);\n await presenter.setOutput(\"main-comment\", result.body);\n return;\n case \"command-response\":\n await presenter.info(\n `pipr command '${result.command}' published response comment (${result.publication.action})`,\n );\n await presenter.setOutput(\"main-comment\", result.response.body);\n await presenter.setOutput(\"publication\", JSON.stringify(result.publication));\n return;\n case \"verifier\":\n await presenter.info(\n `pipr verifier processed review comment reply with ${result.errors.length} publication error(s)`,\n );\n await warnInlineResolutionErrors(result.errors, presenter);\n await presenter.setOutput(\n \"publication\",\n JSON.stringify({ inlineResolutionErrors: result.errors }),\n );\n return;\n case \"review\":\n await presenter.info(\n `pipr review produced ${result.review.validated.validFindings.length} valid inline finding(s), ` +\n `${result.review.validated.droppedFindings.length} dropped finding(s)`,\n );\n await presenter.info(\n `pipr published main comment (${result.publication.mainComment.action}) and ` +\n `${result.publication.inlineComments.posted} inline comment(s); ` +\n `${result.publication.inlineComments.skipped} skipped`,\n );\n await warnInlineResolutionErrors(\n result.publication.metadata.inlineResolutionErrors,\n presenter,\n );\n if (result.review.repairAttempted) {\n await presenter.info(\"pipr repaired reviewer JSON once before validation\");\n }\n await presenter.setOutput(\"main-comment\", result.review.mainComment);\n await presenter.setOutput(\n \"inline-comments\",\n JSON.stringify(result.review.inlineCommentDrafts),\n );\n await presenter.setOutput(\n \"dropped-findings\",\n JSON.stringify(result.review.validated.droppedFindings),\n );\n await presenter.setOutput(\"publication\", JSON.stringify(result.publication));\n return;\n default:\n result satisfies never;\n }\n}\n\nasync function warnInlineResolutionErrors(\n errors: readonly string[],\n presenter: GitHubActionResultPresenter,\n): Promise<void> {\n for (const error of errors) {\n await presenter.warning(`pipr inline resolution failed: ${error}`);\n }\n}\n"],"mappings":";AAQA,eAAsB,0BACpB,QACA,WACe;CACf,IAAI,OAAO,SAAS,WAAW;EAC7B,MAAM,UAAU,KAAK,uBAAuB,OAAO,QAAQ;EAC3D;CACF;CAEA,MAAM,UAAU,KACd,uBAAuB,OAAO,MAAM,OAAO,OAAO,OAAO,OAAO,MAAM,WAAW,MACnF;CACA,MAAM,UAAU,KAAK,uBAAuB,OAAO,cAAc;CAEjE,QAAQ,OAAO,MAAf;EACE,KAAK;GACH,MAAM,UAAU,KACd,mFACF;GACA;EACF,KAAK;GACH,MAAM,UAAU,KAAK,sBAAsB,OAAO,QAAQ;GAC1D,MAAM,UAAU,UAAU,gBAAgB,OAAO,IAAI;GACrD;EACF,KAAK;GACH,MAAM,UAAU,KACd,iBAAiB,OAAO,QAAQ,gCAAgC,OAAO,YAAY,OAAO,EAC5F;GACA,MAAM,UAAU,UAAU,gBAAgB,OAAO,SAAS,IAAI;GAC9D,MAAM,UAAU,UAAU,eAAe,KAAK,UAAU,OAAO,WAAW,CAAC;GAC3E;EACF,KAAK;GACH,MAAM,UAAU,KACd,qDAAqD,OAAO,OAAO,OAAO,sBAC5E;GACA,MAAM,2BAA2B,OAAO,QAAQ,SAAS;GACzD,MAAM,UAAU,UACd,eACA,KAAK,UAAU,EAAE,wBAAwB,OAAO,OAAO,CAAC,CAC1D;GACA;EACF,KAAK;GACH,MAAM,UAAU,KACd,wBAAwB,OAAO,OAAO,UAAU,cAAc,OAAO,4BAChE,OAAO,OAAO,UAAU,gBAAgB,OAAO,oBACtD;GACA,MAAM,UAAU,KACd,gCAAgC,OAAO,YAAY,YAAY,OAAO,QACjE,OAAO,YAAY,eAAe,OAAO,sBACzC,OAAO,YAAY,eAAe,QAAQ,SACjD;GACA,MAAM,2BACJ,OAAO,YAAY,SAAS,wBAC5B,SACF;GACA,IAAI,OAAO,OAAO,iBAChB,MAAM,UAAU,KAAK,oDAAoD;GAE3E,MAAM,UAAU,UAAU,gBAAgB,OAAO,OAAO,WAAW;GACnE,MAAM,UAAU,UACd,mBACA,KAAK,UAAU,OAAO,OAAO,mBAAmB,CAClD;GACA,MAAM,UAAU,UACd,oBACA,KAAK,UAAU,OAAO,OAAO,UAAU,eAAe,CACxD;GACA,MAAM,UAAU,UAAU,eAAe,KAAK,UAAU,OAAO,WAAW,CAAC;GAC3E;EACF;CAEF;AACF;AAEA,eAAe,2BACb,QACA,WACe;CACf,KAAK,MAAM,SAAS,QAClB,MAAM,UAAU,QAAQ,kCAAkC,OAAO;AAErE"}
@@ -1,2 +1,2 @@
1
- import { n as listOfficialInitRecipes, t as renderOfficialGithubWorkflow } from "../official-github-workflow-BuZs6bOx.mjs";
1
+ import { n as listOfficialInitRecipes, t as renderOfficialGithubWorkflow } from "../official-github-workflow-Bjlu-FL3.mjs";
2
2
  export { listOfficialInitRecipes, renderOfficialGithubWorkflow };
@@ -1,4 +1,5 @@
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";
1
+ import { r as runHostRunCommandWithDependencies } from "../commands-DA0Ij4Di.mjs";
2
+ import { a as HostRunCommandResult, b as RepositoryPermission, f as piBuiltinToolNames, g as SecretRedactor, h as piThinkingLevels, k as RepositoryRef, m as piRequiredCliFlags, p as piReadOnlyToolNames, w as ChangeRequestRef, y as CodeHostAdapter } from "../types-BAis_Lwm.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/hosts/github/command.d.ts
4
5
  type GitHubPullRequestDetails = {
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.mts","names":[],"sources":["../../src/hosts/github/command.ts","../../src/hosts/github/publication-client.ts","../../src/hosts/github/adapter.ts","../../src/shared/secret-redactor.ts"],"mappings":";;;KAiDY;EACV,YAAY;EACZ,QAAQ;;KAGE;EACV,eAAe;IACb,YAAY;IACZ;MACE,QAAQ;EACZ,wBAAwB;IACtB,YAAY;IACZ;MACE,QAAQ;;;;cChDR,0BAAwB,EAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;cAMxB,2BAAyB,EAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BzB,0BAAwB,EAAA;;;;;cAwExB,sBAAoB,EAAA;;;;KAKd,qBAAqB,EAAE,aAAa;KACpC,sBAAsB,EAAE,aAAa;KACrC,qBAAqB,EAAE,aAAa;KACpC,iBAAiB,EAAE,aAAa;KAEhC;EACV,6BAA6B;EAC7B,sBAAsB;IAAW;IAAc;MAA8B;EAC7E,kBAAkB;IAAW;IAAc;MAAwB,QAAQ;EAC3E,mBAAmB;IACjB;IACA;IACA;MACE;IAAU;;EACd,mBAAmB;IACjB;IACA;IACA;MACE;IAAU;;EACd,mBAAmB;IACjB;IACA;MACE,QAAQ;EACZ,kBAAkB;IAChB;IACA;MACE,QAAQ;EACZ,oBAAoB;IAClB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;MACE;IAAU;;EACd,yBAAyB;IACvB;IACA;IACA;IACA;MACE;IAAU;;EACd,oBAAoB;IAAW;MAAqB;EACpD,eAAe;IACb;IACA;IACA;IACA;MACE,QAAQ;EACZ,eAAe;IACb;IACA;IACA;IACA;IACA;MACE;;;;KCjKM;EACV,MAAM,OAAO;EACb,gBAAgB;EAChB,oBAAoB;;iBAGN,wBAAwB,UAAS,2BAAgC;;;iBCvBjE,0BAA0B;EAAY,MAAM,OAAO;IAAA"}
1
+ {"version":3,"file":"testing.d.mts","names":[],"sources":["../../src/hosts/github/command.ts","../../src/hosts/github/publication-client.ts","../../src/hosts/github/adapter.ts","../../src/shared/secret-redactor.ts"],"mappings":";;;;KAiDY;EACV,YAAY;EACZ,QAAQ;;KAGE;EACV,eAAe;IACb,YAAY;IACZ;MACE,QAAQ;EACZ,wBAAwB;IACtB,YAAY;IACZ;MACE,QAAQ;;;;cChDR,0BAAwB,EAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;cAMxB,2BAAyB,EAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BzB,0BAAwB,EAAA;;;;;cAwExB,sBAAoB,EAAA;;;;KAKd,qBAAqB,EAAE,aAAa;KACpC,sBAAsB,EAAE,aAAa;KACrC,qBAAqB,EAAE,aAAa;KACpC,iBAAiB,EAAE,aAAa;KAEhC;EACV,6BAA6B;EAC7B,sBAAsB;IAAW;IAAc;MAA8B;EAC7E,kBAAkB;IAAW;IAAc;MAAwB,QAAQ;EAC3E,mBAAmB;IACjB;IACA;IACA;MACE;IAAU;;EACd,mBAAmB;IACjB;IACA;IACA;MACE;IAAU;;EACd,mBAAmB;IACjB;IACA;MACE,QAAQ;EACZ,kBAAkB;IAChB;IACA;MACE,QAAQ;EACZ,oBAAoB;IAClB;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;MACE;IAAU;;EACd,yBAAyB;IACvB;IACA;IACA;IACA;MACE;IAAU;;EACd,oBAAoB;IAAW;MAAqB;EACpD,eAAe;IACb;IACA;IACA;IACA;MACE,QAAQ;EACZ,eAAe;IACb;IACA;IACA;IACA;IACA;MACE;;;;KCjKM;EACV,MAAM,OAAO;EACb,gBAAgB;EAChB,oBAAoB;;iBAGN,wBAAwB,UAAS,2BAAgC;;;iBCvBjE,0BAA0B;EAAY,MAAM,OAAO;IAAA"}
@@ -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-EZV-Icbs.mjs";
1
+ import { _ as piReadOnlyToolNames, g as piBuiltinToolNames, l as createGitHubHostAdapter, m as createKnownSecretRedactor, r as runHostRunCommandWithDependencies, v as piRequiredCliFlags, y as piThinkingLevels } from "../commands-B9qNW4pk.mjs";
2
2
  export { createGitHubHostAdapter, createKnownSecretRedactor, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runHostRunCommandWithDependencies };
@@ -2703,7 +2703,7 @@ function isOfficialInitRecipeId(recipe) {
2703
2703
  }
2704
2704
  //#endregion
2705
2705
  //#region src/config/official-github-workflow.ts
2706
- const defaultWorkflowActionRef = "somus/pipr@v0.4.2";
2706
+ const defaultWorkflowActionRef = "somus/pipr@v0.4.3";
2707
2707
  /** Internal shared renderer for `pipr init` and generated recipe docs. */
2708
2708
  function renderOfficialGithubWorkflow(options = {}) {
2709
2709
  const relativeConfigDir = options.relativeConfigDir ?? ".pipr";
@@ -2748,4 +2748,4 @@ function githubExpression(expression) {
2748
2748
  //#endregion
2749
2749
  export { officialInitRecipeWorkflowEnvSecrets as a, officialInitRecipeFiles as i, listOfficialInitRecipes as n, supportedOfficialInitRecipes as o, officialInitRecipeConfigTs as r, renderOfficialGithubWorkflow as t };
2750
2750
 
2751
- //# sourceMappingURL=official-github-workflow-BuZs6bOx.mjs.map
2751
+ //# sourceMappingURL=official-github-workflow-Bjlu-FL3.mjs.map