@gethmy/agent 1.49.9 → 1.49.10
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/cli.js +9 -0
- package/dist/index.js +9 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -13104,6 +13104,15 @@ Reassign the card — that clears the run count and starts it fresh — or raise
|
|
|
13104
13104
|
} catch (err) {
|
|
13105
13105
|
log36.warn(TAG32, `Failed to clear the attempt-cap decision deadline for ${cardId}: ${err}`);
|
|
13106
13106
|
}
|
|
13107
|
+
try {
|
|
13108
|
+
await this.client.endAgentSession(cardId, {
|
|
13109
|
+
status: "failed",
|
|
13110
|
+
failureReason: "budget",
|
|
13111
|
+
failureSummary: "Attempt budget granted by a human decision — a fresh run takes the card."
|
|
13112
|
+
});
|
|
13113
|
+
} catch (err) {
|
|
13114
|
+
log36.warn(TAG32, `Failed to end the attempt-cap session for ${cardId}: ${err}`);
|
|
13115
|
+
}
|
|
13107
13116
|
await this.enqueueCard(cardId, "implement");
|
|
13108
13117
|
}
|
|
13109
13118
|
async stopAttemptCap(cardId, failureSummary = "Stopped by a human decision on the attempt budget.") {
|
package/dist/index.js
CHANGED
|
@@ -13103,6 +13103,15 @@ Reassign the card — that clears the run count and starts it fresh — or raise
|
|
|
13103
13103
|
} catch (err) {
|
|
13104
13104
|
log36.warn(TAG32, `Failed to clear the attempt-cap decision deadline for ${cardId}: ${err}`);
|
|
13105
13105
|
}
|
|
13106
|
+
try {
|
|
13107
|
+
await this.client.endAgentSession(cardId, {
|
|
13108
|
+
status: "failed",
|
|
13109
|
+
failureReason: "budget",
|
|
13110
|
+
failureSummary: "Attempt budget granted by a human decision — a fresh run takes the card."
|
|
13111
|
+
});
|
|
13112
|
+
} catch (err) {
|
|
13113
|
+
log36.warn(TAG32, `Failed to end the attempt-cap session for ${cardId}: ${err}`);
|
|
13114
|
+
}
|
|
13106
13115
|
await this.enqueueCard(cardId, "implement");
|
|
13107
13116
|
}
|
|
13108
13117
|
async stopAttemptCap(cardId, failureSummary = "Stopped by a human decision on the attempt budget.") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gethmy/agent",
|
|
3
|
-
"version": "1.49.
|
|
3
|
+
"version": "1.49.10",
|
|
4
4
|
"description": "Push-based agent daemon for Harmony — picks up assigned cards, builds them in isolated git worktrees, and opens PRs. It runs where you put it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|