@sjawhar/pi-envoy 10.11.0 → 10.13.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/dispatch.js
CHANGED
|
@@ -15584,7 +15584,7 @@ function parseDispatchRef(ref) {
|
|
|
15584
15584
|
artifact: artifact2
|
|
15585
15585
|
};
|
|
15586
15586
|
}
|
|
15587
|
-
const issueReference = ref.match(/^dispatch:\/\/([A-Z][A-Z0-9]{1,9}-[1-9][0-9]*)(?:\/(spec)|\/(log)|\/(children)|\/artifact\/([^/@]+)(?:@v(\d+))?|\/ask\/([^/]+)|\/comment\/([^/]+)|\/message\/([^/]+))?$/);
|
|
15587
|
+
const issueReference = ref.match(/^dispatch:\/\/([A-Z][A-Z0-9]{1,9}-[1-9][0-9]*)(?:\/(spec)|\/(log|activity)|\/(children)|\/artifact\/([^/@]+)(?:@v(\d+))?|\/ask\/([^/]+)|\/comment\/([^/]+)|\/message\/([^/]+))?$/);
|
|
15588
15588
|
if (!issueReference)
|
|
15589
15589
|
return null;
|
|
15590
15590
|
const [, issue2, spec, log, children, artifact, version2, ask, comment, message] = issueReference;
|
|
@@ -16527,7 +16527,7 @@ function dispatchRefFromUrl(value, serverUrl) {
|
|
|
16527
16527
|
const value2 = url2.searchParams.get(name);
|
|
16528
16528
|
return value2 !== null && /^[1-9][0-9]*$/.test(value2) ? `@v${value2}` : "";
|
|
16529
16529
|
};
|
|
16530
|
-
const issuePage = url2.pathname.match(/^\/issues\/([A-Z][A-Z0-9]{1,9}-[1-9][0-9]*)(?:\/(spec|log|conversation|children)|\/artifacts\/([^/]+)|\/asks\/([^/]+)|\/comments\/([^/]+)|\/messages\/([^/]+))?\/?$/);
|
|
16530
|
+
const issuePage = url2.pathname.match(/^\/issues\/([A-Z][A-Z0-9]{1,9}-[1-9][0-9]*)(?:\/(spec|log|conversation|activity|children)|\/artifacts\/([^/]+)|\/asks\/([^/]+)|\/comments\/([^/]+)|\/messages\/([^/]+))?\/?$/);
|
|
16531
16531
|
if (issuePage) {
|
|
16532
16532
|
const [, key, page, artifact, ask, comment, message] = issuePage;
|
|
16533
16533
|
const version2 = versionOf("v");
|
package/dist/envoy.js
CHANGED
|
@@ -31334,7 +31334,7 @@ function parseDispatchRef(ref) {
|
|
|
31334
31334
|
artifact: artifact2
|
|
31335
31335
|
};
|
|
31336
31336
|
}
|
|
31337
|
-
const issueReference = ref.match(/^dispatch:\/\/([A-Z][A-Z0-9]{1,9}-[1-9][0-9]*)(?:\/(spec)|\/(log)|\/(children)|\/artifact\/([^/@]+)(?:@v(\d+))?|\/ask\/([^/]+)|\/comment\/([^/]+)|\/message\/([^/]+))?$/);
|
|
31337
|
+
const issueReference = ref.match(/^dispatch:\/\/([A-Z][A-Z0-9]{1,9}-[1-9][0-9]*)(?:\/(spec)|\/(log|activity)|\/(children)|\/artifact\/([^/@]+)(?:@v(\d+))?|\/ask\/([^/]+)|\/comment\/([^/]+)|\/message\/([^/]+))?$/);
|
|
31338
31338
|
if (!issueReference)
|
|
31339
31339
|
return null;
|
|
31340
31340
|
const [, issue2, spec, log, children, artifact, version2, ask, comment, message] = issueReference;
|
|
@@ -7,7 +7,7 @@ thread. Whether to ask at all, and how to write the question, is "Before you ask
|
|
|
7
7
|
|
|
8
8
|
## Who answers an ask
|
|
9
9
|
|
|
10
|
-
An ask goes to the issue's assignee: their Inbox opens on
|
|
10
|
+
An ask goes to the issue's assignee: their Inbox opens on the asks on the issues they hold, so a question on an issue someone is assigned is in front of that person. An ask on an issue nobody is assigned is in nobody's default Inbox list and in nobody's `Needs you` count; it is reached by adding `Unassigned` to the Inbox's assignee filter, or from the issue's own page. Setting the issue's assignee is what puts a question in front of a person. Find out who Dispatch takes you for with `dispatch whoami`.
|
|
11
11
|
It prints whom the session acts for: the lowercase email of the person whose personal token you run under, or, under the shared token or a verified service token, that it has no owner — naming the service as `<namespace>/<name>` for a service token (`system:serviceaccount:<namespace>:<name>`), which is also how every write you make is rendered (`(as <namespace>/<name>)`) — the namespace is kept because every namespace has a `default` service account, and a subject that is not a Kubernetes one is shown whole. An issue you create without `--assignee` goes to your owner; with no owner it inherits its parent's assignee, or stays unassigned without a parent. If an issue you are asking on is unassigned and the answer matters, assign it to your owner (`PATCH /api/v1/issues/{key}` with `{"assignee": "<email>"}`; any authenticated caller may reassign, and an email nobody has signed in with is refused with `ASSIGNEE_NOT_ALLOWED`) or name in the question who should answer it. Never reassign an issue a human holds to get an answer faster: that is the human's call.
|
|
12
12
|
|
|
13
13
|
## Handing a human a to-do, editing, resolving, and replying
|