agent-relay-runner 0.61.2 → 0.62.1
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-relay-runner",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.1",
|
|
4
4
|
"description": "Unified provider lifecycle runner for Agent Relay",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"directory": "runner"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"agent-relay-sdk": "0.2.
|
|
23
|
+
"agent-relay-sdk": "0.2.39"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/bun": "latest",
|
package/src/runner.ts
CHANGED
|
@@ -1973,7 +1973,9 @@ export class AgentRunner {
|
|
|
1973
1973
|
// stale across its own restart/reconnect. The proactive renew timer is keyed to
|
|
1974
1974
|
// TTL and structurally cannot catch a revocation, so the auth failure itself must
|
|
1975
1975
|
// drive recovery. renewRuntimeToken() prefers an orchestrator re-mint, which heals
|
|
1976
|
-
//
|
|
1976
|
+
// an expired token AND a token revoked-as-"stale" (the restart strand, #484) —
|
|
1977
|
+
// but NOT a hard kill (admin revoke / rotation / agent removal), which stays dead
|
|
1978
|
+
// by design. Debounced so a burst of failing calls re-mints once.
|
|
1977
1979
|
private recoverRuntimeTokenAfterAuthFailure(source: string): void {
|
|
1978
1980
|
if (this.stopped || this.tokenRenewInFlight) return;
|
|
1979
1981
|
if (!this.isRuntimeTokenRenewable() && !this.canRemintViaOrchestrator()) return;
|