@staff0rd/assist 0.831.1 → 0.832.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/commands/sessions/web/bundle.js +197 -197
- package/dist/index.js +12 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.832.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -25876,7 +25876,8 @@ function issuePreviewMetadata(resolved) {
|
|
|
25876
25876
|
if (parent)
|
|
25877
25877
|
items2.push({
|
|
25878
25878
|
label: "Parent",
|
|
25879
|
-
value: `${parent.owner}/${parent.repo}#${parent.number}
|
|
25879
|
+
value: `${parent.owner}/${parent.repo}#${parent.number}`,
|
|
25880
|
+
url: `https://github.com/${parent.owner}/${parent.repo}/issues/${parent.number}`
|
|
25880
25881
|
});
|
|
25881
25882
|
if (project)
|
|
25882
25883
|
items2.push({
|
|
@@ -44955,8 +44956,15 @@ function decidePrPreview(sessions, waiters, notify2, d) {
|
|
|
44955
44956
|
function parsePreviewMetadata(value) {
|
|
44956
44957
|
if (!Array.isArray(value)) return void 0;
|
|
44957
44958
|
const items2 = value.flatMap((entry) => {
|
|
44958
|
-
const {
|
|
44959
|
-
|
|
44959
|
+
const {
|
|
44960
|
+
label: label2,
|
|
44961
|
+
value: text18,
|
|
44962
|
+
url
|
|
44963
|
+
} = entry ?? {};
|
|
44964
|
+
if (typeof label2 !== "string" || typeof text18 !== "string") return [];
|
|
44965
|
+
return [
|
|
44966
|
+
typeof url === "string" ? { label: label2, value: text18, url } : { label: label2, value: text18 }
|
|
44967
|
+
];
|
|
44960
44968
|
});
|
|
44961
44969
|
return items2.length > 0 ? items2 : void 0;
|
|
44962
44970
|
}
|