@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/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
@@ -13,7 +13,7 @@ import {
13
13
  unshallowRepo,
14
14
  updateRemoteToken,
15
15
  workspacePathExists
16
- } from "./chunk-J4UH5TOO.js";
16
+ } from "./chunk-SAHOFQBQ.js";
17
17
  import "./chunk-7TQO4ZF4.js";
18
18
  import {
19
19
  getWorkbenchClient
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rallycry/conveyor-agent",
3
- "version": "10.13.14",
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",
@@ -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."