@rallycry/conveyor-agent 10.13.14 → 10.13.15
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/{chunk-J4UH5TOO.js → chunk-SAHOFQBQ.js} +25 -25
- package/dist/chunk-SAHOFQBQ.js.map +1 -0
- package/dist/cli.js +9 -42
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/runtime/entrypoint.sh +10 -0
- package/dist/chunk-J4UH5TOO.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -221,7 +221,6 @@ declare class AgentConnection {
|
|
|
221
221
|
sendTypingStop(): void;
|
|
222
222
|
emitRateLimitPause(resetsAt: string): void;
|
|
223
223
|
updateStatus(status: string): void;
|
|
224
|
-
emitCodeReviewResult(content: string, approved: boolean): void;
|
|
225
224
|
/**
|
|
226
225
|
* The session's key hit a hard usage cap — ask the server to stamp it
|
|
227
226
|
* limited and hand back the best remaining key's credential env (or a
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rallycry/conveyor-agent",
|
|
3
|
-
"version": "10.13.
|
|
3
|
+
"version": "10.13.15",
|
|
4
4
|
"description": "Conveyor Agent Runner v10 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
package/runtime/entrypoint.sh
CHANGED
|
@@ -933,6 +933,13 @@ _git_prep_attempts=0
|
|
|
933
933
|
AGENT_CRASH_ATTEMPTS=0
|
|
934
934
|
AGENT_CRASH_MAX=3
|
|
935
935
|
|
|
936
|
+
# From here on the pod's liveness probe (liveness.sh, agent container only) has
|
|
937
|
+
# authority: this marker tells it bootstrap/standby/git-prep are over, so a
|
|
938
|
+
# missing conveyor-agent process now means a dead supervisor loop rather than a
|
|
939
|
+
# pod that hasn't launched yet. The restarting marker (touched fresh on every
|
|
940
|
+
# crash below) keeps the probe green across the supervised backoff sleeps.
|
|
941
|
+
touch /tmp/conveyor-agent-launching
|
|
942
|
+
|
|
936
943
|
report_agent_crash() {
|
|
937
944
|
# $1 = exit code, $2 = attempt, $3 = final (true/false). Best-effort.
|
|
938
945
|
curl -s -m 10 -X POST \
|
|
@@ -961,6 +968,9 @@ while true; do
|
|
|
961
968
|
echo "[pool] agent exited cleanly (code 0), shutting down pod."
|
|
962
969
|
exit 0
|
|
963
970
|
fi
|
|
971
|
+
# Fresh mtime on every crash: liveness.sh grants a 90s grace window from
|
|
972
|
+
# this timestamp so the 10s/60s backoff sleeps below never trip the probe.
|
|
973
|
+
touch /tmp/conveyor-agent-restarting
|
|
964
974
|
AGENT_CRASH_ATTEMPTS=$((AGENT_CRASH_ATTEMPTS + 1))
|
|
965
975
|
if [ "$AGENT_CRASH_ATTEMPTS" -ge "$AGENT_CRASH_MAX" ]; then
|
|
966
976
|
echo "[pool] agent crashed (code $_exit_code) — attempt cap ${AGENT_CRASH_MAX} reached, giving up."
|