@usepipr/runtime 0.5.0 → 0.6.0

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.
Files changed (32) hide show
  1. package/dist/{commands-CF59DZXx.d.mts → commands-BHXh7P28.d.mts} +2 -2
  2. package/dist/{commands-CF59DZXx.d.mts.map → commands-BHXh7P28.d.mts.map} +1 -1
  3. package/dist/{commands-DgZU7tf7.mjs → commands-GWHklzvq.mjs} +1111 -105
  4. package/dist/commands-GWHklzvq.mjs.map +1 -0
  5. package/dist/index.d.mts +3 -3
  6. package/dist/index.mjs +2 -2
  7. package/dist/internal/action-result.d.mts +1 -1
  8. package/dist/internal/docs.d.mts +1 -1
  9. package/dist/internal/docs.d.mts.map +1 -1
  10. package/dist/internal/docs.mjs +1 -1
  11. package/dist/internal/pipr-result.d.mts +1 -1
  12. package/dist/internal/testing.d.mts +3 -2
  13. package/dist/internal/testing.d.mts.map +1 -1
  14. package/dist/internal/testing.mjs +1 -1
  15. package/dist/{official-github-workflow-DNzV5Z70.mjs → official-github-workflow-B3yeaCgq.mjs} +240 -83
  16. package/dist/official-github-workflow-B3yeaCgq.mjs.map +1 -0
  17. package/dist/pi/runtime-tools-extension.d.mts.map +1 -1
  18. package/dist/pi/runtime-tools-extension.mjs +128 -2
  19. package/dist/pi/runtime-tools-extension.mjs.map +1 -1
  20. package/dist/{recipes-w72EpAOi.d.mts → recipes-C1kxJCgQ.d.mts} +2 -1
  21. package/dist/recipes-C1kxJCgQ.d.mts.map +1 -0
  22. package/dist/runtime-tools-core-BF8rSeNS.mjs +476 -0
  23. package/dist/runtime-tools-core-BF8rSeNS.mjs.map +1 -0
  24. package/dist/{types-Dn1U3MDG.d.mts → types-w22wbdo9.d.mts} +43 -2
  25. package/dist/types-w22wbdo9.d.mts.map +1 -0
  26. package/package.json +2 -2
  27. package/dist/commands-DgZU7tf7.mjs.map +0 -1
  28. package/dist/official-github-workflow-DNzV5Z70.mjs.map +0 -1
  29. package/dist/recipes-w72EpAOi.d.mts.map +0 -1
  30. package/dist/runtime-tools-core-D8_WsbL_.mjs +0 -179
  31. package/dist/runtime-tools-core-D8_WsbL_.mjs.map +0 -1
  32. package/dist/types-Dn1U3MDG.d.mts.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
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-CF59DZXx.mjs";
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-Dn1U3MDG.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-BHXh7P28.mjs";
2
+ import { a as OfficialInitRecipeFile, i as OfficialInitRecipe, n as listOfficialInitRecipes, r as supportedOfficialInitRecipes, t as OfficialInitRecipeId } from "./recipes-C1kxJCgQ.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-w22wbdo9.mjs";
4
4
  import { PiprResult } from "@usepipr/sdk";
5
5
  //#region src/hosts/webhook.d.ts
6
6
  type WebhookHost = "gitlab" | "azure-devops" | "bitbucket";
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { a as runInspectCommand, c as createGitLabClient, d as createAzureDevOpsClient, f as azureOrganizationFromUrl, h as supportedOfficialInitAdapters, i as runInitCommand, n as runHostRunCommand, o as runLocalReviewCommand, p as PublicationError, s as runValidateCommand, t as runDryRunCommand, u as createBitbucketClient } from "./commands-DgZU7tf7.mjs";
2
- import { n as listOfficialInitRecipes, o as supportedOfficialInitRecipes } from "./official-github-workflow-DNzV5Z70.mjs";
1
+ import { a as runInspectCommand, c as createGitLabClient, d as createAzureDevOpsClient, f as azureOrganizationFromUrl, h as supportedOfficialInitAdapters, i as runInitCommand, n as runHostRunCommand, o as runLocalReviewCommand, p as PublicationError, s as runValidateCommand, t as runDryRunCommand, u as createBitbucketClient } from "./commands-GWHklzvq.mjs";
2
+ import { n as listOfficialInitRecipes, o as supportedOfficialInitRecipes } from "./official-github-workflow-B3yeaCgq.mjs";
3
3
  import { toPiprErrorResult, toPiprResult } from "./internal/pipr-result.mjs";
4
4
  import { mkdir, mkdtemp, rm } from "node:fs/promises";
5
5
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { a as HostRunCommandResult, x as PublicationError } from "../types-Dn1U3MDG.mjs";
1
+ import { a as HostRunCommandResult, x as PublicationError } from "../types-w22wbdo9.mjs";
2
2
  //#region src/internal/action-result.d.ts
3
3
  type GitHubActionResultPresenter = {
4
4
  info(message: string): void | Promise<void>;
@@ -1,4 +1,4 @@
1
- import { n as listOfficialInitRecipes } from "../recipes-w72EpAOi.mjs";
1
+ import { n as listOfficialInitRecipes } from "../recipes-C1kxJCgQ.mjs";
2
2
  //#region src/config/official-github-workflow.d.ts
3
3
  type RenderOfficialGithubWorkflowOptions = {
4
4
  relativeConfigDir?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.mts","names":[],"sources":["../../src/config/official-github-workflow.ts"],"mappings":";;KAIY;EACV;EACA;EACA;EACA;;;iBAIc,6BACd,UAAS"}
1
+ {"version":3,"file":"docs.d.mts","names":[],"sources":["../../src/config/official-github-workflow.ts"],"mappings":";;KAOY;EACV;EACA;EACA;EACA;;;iBAIc,6BACd,UAAS"}
@@ -1,2 +1,2 @@
1
- import { n as listOfficialInitRecipes, t as renderOfficialGithubWorkflow } from "../official-github-workflow-DNzV5Z70.mjs";
1
+ import { n as listOfficialInitRecipes, t as renderOfficialGithubWorkflow } from "../official-github-workflow-B3yeaCgq.mjs";
2
2
  export { listOfficialInitRecipes, renderOfficialGithubWorkflow };
@@ -1,4 +1,4 @@
1
- import { a as HostRunCommandResult, l as LocalReviewCommandResult, x as PublicationError } from "../types-Dn1U3MDG.mjs";
1
+ import { a as HostRunCommandResult, l as LocalReviewCommandResult, x as PublicationError } from "../types-w22wbdo9.mjs";
2
2
  import { PiprResult } from "@usepipr/sdk";
3
3
  //#region src/internal/pipr-result.d.ts
4
4
  type ResultInput = {
@@ -1,5 +1,5 @@
1
- import { r as runHostRunCommandWithDependencies } from "../commands-CF59DZXx.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-Dn1U3MDG.mjs";
1
+ import { r as runHostRunCommandWithDependencies } from "../commands-BHXh7P28.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-w22wbdo9.mjs";
3
3
  import { z } from "zod";
4
4
  //#region src/hosts/github/command.d.ts
5
5
  type GitHubPullRequestDetails = {
@@ -83,6 +83,7 @@ declare const githubReviewCommentSchema: z.ZodPipe<z.ZodObject<{
83
83
  declare const githubReviewThreadSchema: z.ZodObject<{
84
84
  id: z.ZodString;
85
85
  isResolved: z.ZodBoolean;
86
+ viewerCanResolve: z.ZodBoolean;
86
87
  commentIds: z.ZodArray<z.ZodNumber>;
87
88
  }, z.core.$strict>;
88
89
  declare const githubCheckRunSchema: z.ZodObject<{
@@ -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;;;;GAI5B,EAAA,KAAA;cAoEI,sBAAoB,EAAA;;;GAGxB,EAAA,KAAA;KAEU,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;;;;KChKM;EACV,MAAM,OAAO;EACb,gBAAgB;EAChB,oBAAoB;;iBAGN,wBAAwB,UAAS,2BAAgC;;;iBCxBjE,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;;;;;GAK5B,EAAA,KAAA;cAsEI,sBAAoB,EAAA;;;GAGxB,EAAA,KAAA;KAEU,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;;;;KCnKM;EACV,MAAM,OAAO;EACb,gBAAgB;EAChB,oBAAoB;;iBAGN,wBAAwB,UAAS,2BAAgC;;;iBCxBjE,0BAA0B;EAAY,MAAM,OAAO;IAAA"}
@@ -1,2 +1,2 @@
1
- import { _ as piReadOnlyToolNames, g as piBuiltinToolNames, l as createGitHubHostAdapter, m as createKnownSecretRedactor, r as runHostRunCommandWithDependencies, v as piRequiredCliFlags, y as piThinkingLevels } from "../commands-DgZU7tf7.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-GWHklzvq.mjs";
2
2
  export { createGitHubHostAdapter, createKnownSecretRedactor, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runHostRunCommandWithDependencies };