@tutti-os/workspace-issue-manager 0.0.43 → 0.0.45
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.
|
@@ -644,9 +644,7 @@ function createIssueManagerInsertReferencesPlan(input) {
|
|
|
644
644
|
|
|
645
645
|
// src/services/internal/run/controllerRunCommands.ts
|
|
646
646
|
async function executeIssueManagerRunTask(input) {
|
|
647
|
-
const agentSessionId = createIssueManagerAgentSessionId();
|
|
648
647
|
const result = await input.feature.agentRunner.runTask({
|
|
649
|
-
agentSessionId,
|
|
650
648
|
...input.executionDirectory?.trim() ? { executionDirectory: input.executionDirectory.trim() } : {},
|
|
651
649
|
issue: input.issue,
|
|
652
650
|
provider: input.provider,
|
|
@@ -658,28 +656,6 @@ async function executeIssueManagerRunTask(input) {
|
|
|
658
656
|
status: result.status
|
|
659
657
|
};
|
|
660
658
|
}
|
|
661
|
-
function createIssueManagerAgentSessionId() {
|
|
662
|
-
const randomUUID = globalThis.crypto?.randomUUID?.();
|
|
663
|
-
if (randomUUID) {
|
|
664
|
-
return randomUUID;
|
|
665
|
-
}
|
|
666
|
-
const bytes = new Uint8Array(16);
|
|
667
|
-
const crypto = globalThis.crypto;
|
|
668
|
-
if (crypto?.getRandomValues) {
|
|
669
|
-
crypto.getRandomValues(bytes);
|
|
670
|
-
} else {
|
|
671
|
-
for (let index = 0; index < bytes.length; index += 1) {
|
|
672
|
-
bytes[index] = Math.floor(Math.random() * 256);
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
bytes[6] = (bytes[6] ?? 0) & 15 | 64;
|
|
676
|
-
bytes[8] = (bytes[8] ?? 0) & 63 | 128;
|
|
677
|
-
const hex = Array.from(
|
|
678
|
-
bytes,
|
|
679
|
-
(byte) => byte.toString(16).padStart(2, "0")
|
|
680
|
-
).join("");
|
|
681
|
-
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
|
|
682
|
-
}
|
|
683
659
|
|
|
684
660
|
// src/services/internal/save/controllerSaveCommands.ts
|
|
685
661
|
async function executeIssueManagerSaveIssue(input) {
|
|
@@ -2303,6 +2279,7 @@ import {
|
|
|
2303
2279
|
TooltipContent as TooltipContent2,
|
|
2304
2280
|
TooltipProvider,
|
|
2305
2281
|
TooltipTrigger as TooltipTrigger2,
|
|
2282
|
+
WindowTrafficLightIcon,
|
|
2306
2283
|
cn as cn13
|
|
2307
2284
|
} from "@tutti-os/ui-system";
|
|
2308
2285
|
import {
|
|
@@ -6035,7 +6012,7 @@ function IssueManagerTopicSelector({
|
|
|
6035
6012
|
{
|
|
6036
6013
|
"aria-label": topicLabel,
|
|
6037
6014
|
className: cn12(
|
|
6038
|
-
"max-w-[220px] gap-1 rounded-md border-0 bg-transparent text-[
|
|
6015
|
+
"max-w-[220px] gap-1 rounded-md border-0 bg-transparent text-[15px] font-normal shadow-none hover:bg-transparent focus:bg-transparent focus-visible:border-0 focus-visible:bg-transparent focus-visible:ring-0 active:bg-transparent aria-expanded:bg-transparent [&[data-state=open]>svg]:rotate-180",
|
|
6039
6016
|
className
|
|
6040
6017
|
),
|
|
6041
6018
|
size: "sm",
|
|
@@ -6450,7 +6427,7 @@ function IssueManagerNode({
|
|
|
6450
6427
|
var issueManagerWorkbenchDragHandleAttribute = "data-workbench-drag-handle";
|
|
6451
6428
|
var issueManagerHeaderChromeIconButtonClassName = "size-7 min-h-7 min-w-7 cursor-pointer rounded-md p-0 text-[var(--text-secondary)] hover:bg-[color-mix(in_srgb,var(--text-primary)_8%,transparent)] hover:text-[var(--text-primary)]";
|
|
6452
6429
|
var issueManagerHeaderChromeIconClassName = "size-[18px]";
|
|
6453
|
-
var issueManagerHeaderTrafficLightClassName = "relative -m-1 size-5 shrink-0 cursor-pointer rounded-full border-0 bg-transparent p-0 text-[var(--text-
|
|
6430
|
+
var issueManagerHeaderTrafficLightClassName = "relative -m-1 size-5 shrink-0 cursor-pointer rounded-full border-0 bg-transparent p-0 text-[color-mix(in_srgb,var(--text-tertiary)_72%,transparent)] opacity-[0.78] outline-none transition-[color,opacity] duration-150 ease-out before:absolute before:inset-1 before:rounded-full before:bg-current before:transition-colors before:duration-150 before:ease-out before:content-[''] group-hover/traffic-lights:opacity-100 group-focus-within/traffic-lights:opacity-100 focus-visible:ring-2 focus-visible:ring-[var(--accent)] focus-visible:ring-offset-1 focus-visible:ring-offset-[var(--background-panel)]";
|
|
6454
6431
|
function IssueManagerNodeHeader({
|
|
6455
6432
|
activeTopicId = null,
|
|
6456
6433
|
className,
|
|
@@ -6544,7 +6521,7 @@ function IssueManagerNodeHeader({
|
|
|
6544
6521
|
/* @__PURE__ */ jsxs18(
|
|
6545
6522
|
"div",
|
|
6546
6523
|
{
|
|
6547
|
-
className: "
|
|
6524
|
+
className: "group/traffic-lights flex shrink-0 items-center gap-2",
|
|
6548
6525
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
6549
6526
|
onPointerDown: (event) => event.stopPropagation(),
|
|
6550
6527
|
children: [
|
|
@@ -6688,6 +6665,7 @@ function IssueManagerTrafficLightButton({
|
|
|
6688
6665
|
pressed,
|
|
6689
6666
|
tone
|
|
6690
6667
|
}) {
|
|
6668
|
+
const iconName = tone === "maximize" ? pressed ? "unfullscreen" : "fullscreen" : tone;
|
|
6691
6669
|
const button = /* @__PURE__ */ jsx20(
|
|
6692
6670
|
"button",
|
|
6693
6671
|
{
|
|
@@ -6695,9 +6673,9 @@ function IssueManagerTrafficLightButton({
|
|
|
6695
6673
|
"aria-pressed": pressed,
|
|
6696
6674
|
className: cn13(
|
|
6697
6675
|
issueManagerHeaderTrafficLightClassName,
|
|
6698
|
-
tone === "close" && "hover:text-[#ff5f57] focus-
|
|
6699
|
-
tone === "minimize" && "hover:text-[#ffbd2e] focus-
|
|
6700
|
-
tone === "maximize" && "hover:text-[#28c840] focus-
|
|
6676
|
+
tone === "close" && "group-hover/traffic-lights:text-[#ff5f57] group-focus-within/traffic-lights:text-[#ff5f57]",
|
|
6677
|
+
tone === "minimize" && "group-hover/traffic-lights:text-[#ffbd2e] group-focus-within/traffic-lights:text-[#ffbd2e]",
|
|
6678
|
+
tone === "maximize" && "group-hover/traffic-lights:text-[#28c840] group-focus-within/traffic-lights:text-[#28c840]"
|
|
6701
6679
|
),
|
|
6702
6680
|
type: "button",
|
|
6703
6681
|
onClick: (event) => {
|
|
@@ -6705,7 +6683,16 @@ function IssueManagerTrafficLightButton({
|
|
|
6705
6683
|
onClick();
|
|
6706
6684
|
},
|
|
6707
6685
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
6708
|
-
onPointerDown: (event) => event.stopPropagation()
|
|
6686
|
+
onPointerDown: (event) => event.stopPropagation(),
|
|
6687
|
+
children: /* @__PURE__ */ jsx20(
|
|
6688
|
+
WindowTrafficLightIcon,
|
|
6689
|
+
{
|
|
6690
|
+
"aria-hidden": "true",
|
|
6691
|
+
className: "pointer-events-none absolute inset-[5px] z-[1] size-[10px] text-[color-mix(in_srgb,#000_68%,transparent)] opacity-0 transition-opacity duration-150 group-hover/traffic-lights:opacity-100 group-focus-within/traffic-lights:opacity-100",
|
|
6692
|
+
"data-issue-manager-traffic-light-icon": iconName,
|
|
6693
|
+
iconName
|
|
6694
|
+
}
|
|
6695
|
+
)
|
|
6709
6696
|
}
|
|
6710
6697
|
);
|
|
6711
6698
|
return /* @__PURE__ */ jsx20(TooltipProvider, { delayDuration: 250, skipDelayDuration: 0, children: /* @__PURE__ */ jsxs18(Tooltip2, { children: [
|
|
@@ -6719,4 +6706,4 @@ export {
|
|
|
6719
6706
|
IssueManagerNode,
|
|
6720
6707
|
IssueManagerNodeHeader
|
|
6721
6708
|
};
|
|
6722
|
-
//# sourceMappingURL=chunk-
|
|
6709
|
+
//# sourceMappingURL=chunk-TRIK7WD6.js.map
|