claude-teammate 0.1.28 → 0.1.30
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/package.json +1 -1
- package/src/commands/worker.js +0 -16
- package/src/memory.js +1 -0
package/package.json
CHANGED
package/src/commands/worker.js
CHANGED
|
@@ -490,11 +490,6 @@ async function processJiraIssue({ issue, jira, github, botUser, config, projectR
|
|
|
490
490
|
return buildIssueState(detail, epicMemory, issueMemory, null);
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
if (wasClarificationInputAlreadyHandled(issueMemory, latestInput)) {
|
|
494
|
-
issueMemory = await saveIssueMemory(issueMemoryRecord.filePath, detail, issueMemory);
|
|
495
|
-
return buildIssueState(detail, epicMemory, issueMemory, null);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
493
|
await logger.info("Clarifying requirements", {
|
|
499
494
|
issue: detail.key,
|
|
500
495
|
input: latestInput.id
|
|
@@ -1680,17 +1675,6 @@ function getLatestGitHubComment(comments) {
|
|
|
1680
1675
|
return Array.isArray(comments) && comments.length > 0 ? comments[comments.length - 1] : null;
|
|
1681
1676
|
}
|
|
1682
1677
|
|
|
1683
|
-
function wasClarificationInputAlreadyHandled(issueMemory, latestInput) {
|
|
1684
|
-
const lastUpdatedAt = Date.parse(String(issueMemory?.updated_at || ""));
|
|
1685
|
-
const latestInputChangedAt = Date.parse(String(latestInput?.changedAt || ""));
|
|
1686
|
-
|
|
1687
|
-
if (!Number.isFinite(lastUpdatedAt) || !Number.isFinite(latestInputChangedAt)) {
|
|
1688
|
-
return false;
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
return lastUpdatedAt >= latestInputChangedAt;
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
1678
|
function hasEyesReaction(comment) {
|
|
1695
1679
|
return Number(comment?.reactions?.eyes ?? 0) > 0;
|
|
1696
1680
|
}
|
package/src/memory.js
CHANGED
|
@@ -277,6 +277,7 @@ function normalizeIssueMemoryData(data) {
|
|
|
277
277
|
delete normalized.github_issue_number;
|
|
278
278
|
delete normalized.latest_processed_comment_id;
|
|
279
279
|
delete normalized.latest_processed_pr_comment_id;
|
|
280
|
+
delete normalized.last_handled_input_id;
|
|
280
281
|
delete normalized.repo_requested;
|
|
281
282
|
delete normalized.repos;
|
|
282
283
|
delete normalized.local_repo_path;
|