@usepipr/runtime 0.2.2 → 0.3.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.
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as runInspectCommand, c as PublicationError, d as supportedOfficialInitRecipes, i as runInitCommand, l as supportedOfficialInitAdapters, o as runLocalReviewCommand, r as runDryRunCommand, s as runValidateCommand, t as runActionCommand, u as listOfficialInitRecipes } from "./commands-DpcTKXqz.mjs";
1
+ import { a as runInspectCommand, c as PublicationError, d as listOfficialInitRecipes, f as supportedOfficialInitRecipes, i as runInitCommand, o as runLocalReviewCommand, r as runDryRunCommand, s as runValidateCommand, t as runActionCommand, u as supportedOfficialInitAdapters } from "./commands-CYh8Au5C.mjs";
2
2
  export { PublicationError, listOfficialInitRecipes, runActionCommand, runDryRunCommand, runInitCommand, runInspectCommand, runLocalReviewCommand, runValidateCommand, supportedOfficialInitAdapters, supportedOfficialInitRecipes };
@@ -1,2 +1,16 @@
1
- import { C as GitHubPublicationClient, _ as piBuiltinToolNames, b as piThinkingLevels, l as ActionCommandResult, n as runActionCommandWithDependencies, v as piReadOnlyToolNames, w as PublicationError, y as piRequiredCliFlags } from "../commands-4n3t4t5P.mjs";
2
- export { type ActionCommandResult, type GitHubPublicationClient, PublicationError, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runActionCommandWithDependencies };
1
+ import { C as GitHubPublicationClient, _ as piBuiltinToolNames, b as piThinkingLevels, l as ActionCommandResult, n as runActionCommandWithDependencies, v as piReadOnlyToolNames, y as piRequiredCliFlags } from "../commands-4n3t4t5P.mjs";
2
+
3
+ //#region src/review/inline-publication-policy.d.ts
4
+ type SuggestedFixPublicationSelection = {
5
+ side: "RIGHT" | "LEFT";
6
+ kind: "added" | "deleted" | "context" | "mixed";
7
+ rangeStartLine: number;
8
+ startLine: number;
9
+ endLine: number;
10
+ preview?: string;
11
+ suggestedFix: string;
12
+ };
13
+ declare function isPublishableSuggestedFixSelection(selection: SuggestedFixPublicationSelection): boolean;
14
+ //#endregion
15
+ export { type ActionCommandResult, type GitHubPublicationClient, type SuggestedFixPublicationSelection, isPublishableSuggestedFixSelection, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runActionCommandWithDependencies };
16
+ //# sourceMappingURL=testing.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.d.mts","names":[],"sources":["../../src/review/inline-publication-policy.ts"],"mappings":";;;KAaY,gCAAA;EACV,IAAA;EACA,IAAA;EACA,cAAA;EACA,SAAA;EACA,OAAA;EACA,OAAA;EACA,YAAA;AAAA;AAAA,iBAoBc,kCAAA,CACd,SAA2C,EAAhC,gCAAgC"}
@@ -1,2 +1,2 @@
1
- import { c as PublicationError, f as piBuiltinToolNames, h as piThinkingLevels, m as piRequiredCliFlags, n as runActionCommandWithDependencies, p as piReadOnlyToolNames } from "../commands-DpcTKXqz.mjs";
2
- export { PublicationError, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runActionCommandWithDependencies };
1
+ import { g as piThinkingLevels, h as piRequiredCliFlags, l as isPublishableSuggestedFixSelection, m as piReadOnlyToolNames, n as runActionCommandWithDependencies, p as piBuiltinToolNames } from "../commands-CYh8Au5C.mjs";
2
+ export { isPublishableSuggestedFixSelection, piBuiltinToolNames, piReadOnlyToolNames, piRequiredCliFlags, piThinkingLevels, runActionCommandWithDependencies };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usepipr/runtime",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Runtime package for pipr pull request review automation",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@octokit/rest": "22.0.1",
52
52
  "@types/bun": "1.3.14",
53
- "@usepipr/sdk": "0.2.2",
53
+ "@usepipr/sdk": "0.3.0",
54
54
  "lodash-es": "4.18.1",
55
55
  "picomatch": "4.0.5",
56
56
  "typescript": "6.0.3",