@tutti-os/workspace-issue-manager 0.0.42 → 0.0.44
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) {
|
|
@@ -6035,7 +6011,7 @@ function IssueManagerTopicSelector({
|
|
|
6035
6011
|
{
|
|
6036
6012
|
"aria-label": topicLabel,
|
|
6037
6013
|
className: cn12(
|
|
6038
|
-
"max-w-[220px] gap-1 rounded-md border-0 bg-transparent text-[
|
|
6014
|
+
"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
6015
|
className
|
|
6040
6016
|
),
|
|
6041
6017
|
size: "sm",
|
|
@@ -6719,4 +6695,4 @@ export {
|
|
|
6719
6695
|
IssueManagerNode,
|
|
6720
6696
|
IssueManagerNodeHeader
|
|
6721
6697
|
};
|
|
6722
|
-
//# sourceMappingURL=chunk-
|
|
6698
|
+
//# sourceMappingURL=chunk-BCV7X2UA.js.map
|