@sjawhar/opencode-legion-envoy 0.19.0 → 0.20.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.
@@ -20,7 +20,7 @@ import path3 from "path";
20
20
  import { fileURLToPath } from "url";
21
21
 
22
22
  // ../contracts/src/dispatch-tools.ts
23
- 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 when its repository is mapped in DISPATCH_REPO_PROJECTS.";
23
+ 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).";
24
24
  var ASK_URGENCIES = ["low", "med", "high", "blocking"];
25
25
  var DOC_EDIT_OPS = ["replace", "delete", "insert"];
26
26
  var dispatchToolSpecs = [
@@ -14821,7 +14821,7 @@ async function ensureIssue(client, issueReference, actor) {
14821
14821
  } catch (error) {
14822
14822
  if (error instanceof DispatchServiceError && error.code === "PROJECT_UNMAPPED") {
14823
14823
  const repository = issueReference.slice(0, issueReference.lastIndexOf("#"));
14824
- throw new Error(`repository ${repository} is not mapped in DISPATCH_REPO_PROJECTS`);
14824
+ throw new Error(`repository ${repository} is not mapped in DISPATCH_REPO_PROJECTS and no DISPATCH_DEFAULT_PROJECT is configured`);
14825
14825
  }
14826
14826
  throw error;
14827
14827
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "type": "module",
5
5
  "main": "dist/src/server.js",
6
6
  "exports": {