@sjawhar/pi-legion-envoy 0.17.0 → 0.18.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/envoy.js +2 -2
- package/dist/legion.js +2 -2
- package/package.json +1 -1
package/dist/envoy.js
CHANGED
|
@@ -16117,7 +16117,7 @@ import { dirname, resolve } from "path";
|
|
|
16117
16117
|
import { fileURLToPath } from "url";
|
|
16118
16118
|
|
|
16119
16119
|
// ../contracts/src/dispatch-tools.ts
|
|
16120
|
-
var ISSUE_REFERENCE = "An issue is a native KEY or external owner/repo#n reference; an external reference creates its native issue on first use
|
|
16120
|
+
var ISSUE_REFERENCE = "An issue is a native KEY or external owner/repo#n reference; an external reference creates its native issue on first use in the repository's mapped project (DISPATCH_REPO_PROJECTS) or, failing that, the default project (DISPATCH_DEFAULT_PROJECT).";
|
|
16121
16121
|
var ASK_URGENCIES = ["low", "med", "high", "blocking"];
|
|
16122
16122
|
var DOC_EDIT_OPS = ["replace", "delete", "insert"];
|
|
16123
16123
|
var dispatchToolSpecs = [
|
|
@@ -31684,7 +31684,7 @@ async function ensureIssue(client, issueReference, actor) {
|
|
|
31684
31684
|
} catch (error) {
|
|
31685
31685
|
if (error instanceof DispatchServiceError && error.code === "PROJECT_UNMAPPED") {
|
|
31686
31686
|
const repository = issueReference.slice(0, issueReference.lastIndexOf("#"));
|
|
31687
|
-
throw new Error(`repository ${repository} is not mapped in DISPATCH_REPO_PROJECTS`);
|
|
31687
|
+
throw new Error(`repository ${repository} is not mapped in DISPATCH_REPO_PROJECTS and no DISPATCH_DEFAULT_PROJECT is configured`);
|
|
31688
31688
|
}
|
|
31689
31689
|
throw error;
|
|
31690
31690
|
}
|
package/dist/legion.js
CHANGED
|
@@ -16115,7 +16115,7 @@ var require_mod4 = __commonJS(function(exports) {
|
|
|
16115
16115
|
import path4 from "path";
|
|
16116
16116
|
|
|
16117
16117
|
// ../contracts/src/dispatch-tools.ts
|
|
16118
|
-
var ISSUE_REFERENCE = "An issue is a native KEY or external owner/repo#n reference; an external reference creates its native issue on first use
|
|
16118
|
+
var ISSUE_REFERENCE = "An issue is a native KEY or external owner/repo#n reference; an external reference creates its native issue on first use in the repository's mapped project (DISPATCH_REPO_PROJECTS) or, failing that, the default project (DISPATCH_DEFAULT_PROJECT).";
|
|
16119
16119
|
var ASK_URGENCIES = ["low", "med", "high", "blocking"];
|
|
16120
16120
|
var DOC_EDIT_OPS = ["replace", "delete", "insert"];
|
|
16121
16121
|
var dispatchToolSpecs = [
|
|
@@ -32174,7 +32174,7 @@ async function ensureIssue(client, issueReference, actor) {
|
|
|
32174
32174
|
} catch (error) {
|
|
32175
32175
|
if (error instanceof DispatchServiceError && error.code === "PROJECT_UNMAPPED") {
|
|
32176
32176
|
const repository = issueReference.slice(0, issueReference.lastIndexOf("#"));
|
|
32177
|
-
throw new Error(`repository ${repository} is not mapped in DISPATCH_REPO_PROJECTS`);
|
|
32177
|
+
throw new Error(`repository ${repository} is not mapped in DISPATCH_REPO_PROJECTS and no DISPATCH_DEFAULT_PROJECT is configured`);
|
|
32178
32178
|
}
|
|
32179
32179
|
throw error;
|
|
32180
32180
|
}
|