glitchgrab 1.63.1 → 1.65.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/README.md +36 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +43 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +43 -10
- package/dist/index.mjs.map +1 -1
- package/dist/server.d.mts +281 -16
- package/dist/server.d.ts +281 -16
- package/dist/server.js +175 -11
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +167 -11
- package/dist/server.mjs.map +1 -1
- package/dist/{types-Dp5Sh_hd.d.mts → types-Dw587jLi.d.mts} +5 -1
- package/dist/{types-Dp5Sh_hd.d.ts → types-Dw587jLi.d.ts} +5 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5826,6 +5826,15 @@ var micErrorMessage = (err) => {
|
|
|
5826
5826
|
return null;
|
|
5827
5827
|
}
|
|
5828
5828
|
};
|
|
5829
|
+
var SparkleIcon = ({ color }) => /* @__PURE__ */ jsx5("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx5(
|
|
5830
|
+
"path",
|
|
5831
|
+
{
|
|
5832
|
+
d: "M12 3l1.5 4.5L18 9l-4.5 1.5L12 15l-1.5-4.5L6 9l4.5-1.5L12 3zM19 15l.75 2.25L22 18l-2.25.75L19 21l-.75-2.25L16 18l2.25-.75L19 15z",
|
|
5833
|
+
stroke: color,
|
|
5834
|
+
strokeWidth: "1.5",
|
|
5835
|
+
strokeLinejoin: "round"
|
|
5836
|
+
}
|
|
5837
|
+
) });
|
|
5829
5838
|
function ReportDialog({
|
|
5830
5839
|
report,
|
|
5831
5840
|
sendFeedback: sendFeedback2,
|
|
@@ -6608,7 +6617,7 @@ function ReportDialog({
|
|
|
6608
6617
|
);
|
|
6609
6618
|
if (result) {
|
|
6610
6619
|
setAddedToIssue(
|
|
6611
|
-
duplicateOf && result.issueNumber === duplicateOf ? duplicateOf : result.status === "DUPLICATE" && result.issueNumber ? result.issueNumber : null
|
|
6620
|
+
duplicateOf && result.issueNumber === duplicateOf ? duplicateOf : (result.status === "DUPLICATE" || result.status === "GROUPED") && result.issueNumber ? result.issueNumber : null
|
|
6612
6621
|
);
|
|
6613
6622
|
setAddedAsRelated(!!duplicateOf && result.issueNumber === duplicateOf && attachKind === "related");
|
|
6614
6623
|
const queued = result.status === "QUEUED" && !!result.message;
|
|
@@ -7303,6 +7312,38 @@ function ReportDialog({
|
|
|
7303
7312
|
]
|
|
7304
7313
|
}
|
|
7305
7314
|
),
|
|
7315
|
+
step === 1 && assist && !assistUsed && /* @__PURE__ */ jsxs5(
|
|
7316
|
+
"button",
|
|
7317
|
+
{
|
|
7318
|
+
type: "button",
|
|
7319
|
+
onClick: () => {
|
|
7320
|
+
setAssistNotice(null);
|
|
7321
|
+
setAssistOpen(true);
|
|
7322
|
+
},
|
|
7323
|
+
style: {
|
|
7324
|
+
display: "flex",
|
|
7325
|
+
alignItems: "center",
|
|
7326
|
+
justifyContent: "center",
|
|
7327
|
+
gap: "6px",
|
|
7328
|
+
width: "100%",
|
|
7329
|
+
marginBottom: "10px",
|
|
7330
|
+
padding: "10px",
|
|
7331
|
+
borderRadius: "8px",
|
|
7332
|
+
border: `1px solid ${t.accent}`,
|
|
7333
|
+
background: "transparent",
|
|
7334
|
+
color: t.accent,
|
|
7335
|
+
fontSize: "12px",
|
|
7336
|
+
fontWeight: 600,
|
|
7337
|
+
fontFamily: "inherit",
|
|
7338
|
+
cursor: "pointer"
|
|
7339
|
+
},
|
|
7340
|
+
title: "Answer a question or two and the assistant writes the report for you",
|
|
7341
|
+
children: [
|
|
7342
|
+
/* @__PURE__ */ jsx5(SparkleIcon, { color: t.accent }),
|
|
7343
|
+
"Describe it with AI"
|
|
7344
|
+
]
|
|
7345
|
+
}
|
|
7346
|
+
),
|
|
7306
7347
|
step === 1 && /* @__PURE__ */ jsx5(
|
|
7307
7348
|
"div",
|
|
7308
7349
|
{
|
|
@@ -7465,15 +7506,7 @@ function ReportDialog({
|
|
|
7465
7506
|
},
|
|
7466
7507
|
title: "Answer a question or two and the assistant writes the report for you",
|
|
7467
7508
|
children: [
|
|
7468
|
-
/* @__PURE__ */ jsx5(
|
|
7469
|
-
"path",
|
|
7470
|
-
{
|
|
7471
|
-
d: "M12 3l1.5 4.5L18 9l-4.5 1.5L12 15l-1.5-4.5L6 9l4.5-1.5L12 3zM19 15l.75 2.25L22 18l-2.25.75L19 21l-.75-2.25L16 18l2.25-.75L19 15z",
|
|
7472
|
-
stroke: t.accent,
|
|
7473
|
-
strokeWidth: "1.5",
|
|
7474
|
-
strokeLinejoin: "round"
|
|
7475
|
-
}
|
|
7476
|
-
) }),
|
|
7509
|
+
/* @__PURE__ */ jsx5(SparkleIcon, { color: t.accent }),
|
|
7477
7510
|
"Describe it with AI"
|
|
7478
7511
|
]
|
|
7479
7512
|
}
|