@sjawhar/opencode-legion-envoy 0.36.1 → 0.36.2
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/src/server.js +6 -15
- package/package.json +1 -1
package/dist/src/server.js
CHANGED
|
@@ -15054,10 +15054,7 @@ async function executeDispatchTool(input) {
|
|
|
15054
15054
|
text: marks.length === 0 ? document.markdown : `${document.markdown}
|
|
15055
15055
|
|
|
15056
15056
|
Open anchored asks/comments: ${marks.join(", ")}`,
|
|
15057
|
-
details: {
|
|
15058
|
-
issue: resolved.issue.key,
|
|
15059
|
-
topic: dispatchIssueSubject(resolved.issue.key, ">")
|
|
15060
|
-
}
|
|
15057
|
+
details: { issue: resolved.issue.key }
|
|
15061
15058
|
};
|
|
15062
15059
|
}
|
|
15063
15060
|
case "dispatch_artifact": {
|
|
@@ -15090,38 +15087,32 @@ Open anchored asks/comments: ${marks.join(", ")}`,
|
|
|
15090
15087
|
const askRead = await client.getAsk(issueArguments.ref.id);
|
|
15091
15088
|
return {
|
|
15092
15089
|
text: askSummary(askRead),
|
|
15093
|
-
details: {
|
|
15094
|
-
issue: askRead.ask.issue_key,
|
|
15095
|
-
topic: dispatchIssueSubject(askRead.ask.issue_key, ">")
|
|
15096
|
-
}
|
|
15090
|
+
details: { issue: askRead.ask.issue_key }
|
|
15097
15091
|
};
|
|
15098
15092
|
}
|
|
15099
15093
|
if (issueArguments.ref?.kind === "comment") {
|
|
15100
15094
|
const comment = await client.getComment(issueArguments.ref.id);
|
|
15101
15095
|
return {
|
|
15102
15096
|
text: commentSummary(comment),
|
|
15103
|
-
details: {
|
|
15104
|
-
issue: comment.comment.issue_key,
|
|
15105
|
-
topic: dispatchIssueSubject(comment.comment.issue_key, ">")
|
|
15106
|
-
}
|
|
15097
|
+
details: { issue: comment.comment.issue_key }
|
|
15107
15098
|
};
|
|
15108
15099
|
}
|
|
15109
15100
|
const read = await client.read(issue());
|
|
15110
15101
|
if (issueArguments.ref?.kind === "log") {
|
|
15111
15102
|
return {
|
|
15112
15103
|
text: logSummary(read.issue, read.events),
|
|
15113
|
-
details: { issue: read.issue.key
|
|
15104
|
+
details: { issue: read.issue.key }
|
|
15114
15105
|
};
|
|
15115
15106
|
}
|
|
15116
15107
|
if (issueArguments.ref?.kind === "children") {
|
|
15117
15108
|
return {
|
|
15118
15109
|
text: childrenSummary(read.issue),
|
|
15119
|
-
details: { issue: read.issue.key
|
|
15110
|
+
details: { issue: read.issue.key }
|
|
15120
15111
|
};
|
|
15121
15112
|
}
|
|
15122
15113
|
return {
|
|
15123
15114
|
text: issueSummary(read.issue, read.events),
|
|
15124
|
-
details: { issue: read.issue.key
|
|
15115
|
+
details: { issue: read.issue.key }
|
|
15125
15116
|
};
|
|
15126
15117
|
}
|
|
15127
15118
|
default:
|