@sjawhar/claude-envoy 3.1.0 → 3.3.0
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/.omp-plugin/plugin.json
CHANGED
package/dist/dispatch.js
CHANGED
|
@@ -29385,6 +29385,7 @@ var TOO_MANY_REQUESTS = 429;
|
|
|
29385
29385
|
var INVALID_DPOP_PROOF = "invalid_dpop_proof";
|
|
29386
29386
|
var USE_DPOP_NONCE = "use_dpop_nonce";
|
|
29387
29387
|
var INVALID_GRANT = "invalid_grant";
|
|
29388
|
+
var MEMBERSHIP_HELD = "membership_held";
|
|
29388
29389
|
var UNREGISTERED_FIRST_WAIT_MS = 15000;
|
|
29389
29390
|
var UNREGISTERED_MAX_WAIT_MS = 5 * 60000;
|
|
29390
29391
|
var UNREGISTERED_LOG_EVERY_MS = 30 * 60000;
|
|
@@ -29417,7 +29418,7 @@ class BrokerRefusedError extends Error {
|
|
|
29417
29418
|
this.name = "BrokerRefusedError";
|
|
29418
29419
|
}
|
|
29419
29420
|
get permanent() {
|
|
29420
|
-
return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && !this.podSessionUnregistered;
|
|
29421
|
+
return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && this.code !== MEMBERSHIP_HELD && !this.podSessionUnregistered;
|
|
29421
29422
|
}
|
|
29422
29423
|
get podSessionUnregistered() {
|
|
29423
29424
|
return this.code === INVALID_GRANT && this.description.startsWith(`${POD_SESSION_NOT_REGISTERED}:`);
|
package/dist/envoy-channel.js
CHANGED
|
@@ -42121,6 +42121,7 @@ var TOO_MANY_REQUESTS = 429;
|
|
|
42121
42121
|
var INVALID_DPOP_PROOF = "invalid_dpop_proof";
|
|
42122
42122
|
var USE_DPOP_NONCE = "use_dpop_nonce";
|
|
42123
42123
|
var INVALID_GRANT = "invalid_grant";
|
|
42124
|
+
var MEMBERSHIP_HELD = "membership_held";
|
|
42124
42125
|
var UNREGISTERED_FIRST_WAIT_MS = 15000;
|
|
42125
42126
|
var UNREGISTERED_MAX_WAIT_MS = 5 * 60000;
|
|
42126
42127
|
var UNREGISTERED_LOG_EVERY_MS = 30 * 60000;
|
|
@@ -42153,7 +42154,7 @@ class BrokerRefusedError extends Error {
|
|
|
42153
42154
|
this.name = "BrokerRefusedError";
|
|
42154
42155
|
}
|
|
42155
42156
|
get permanent() {
|
|
42156
|
-
return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && !this.podSessionUnregistered;
|
|
42157
|
+
return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && this.code !== MEMBERSHIP_HELD && !this.podSessionUnregistered;
|
|
42157
42158
|
}
|
|
42158
42159
|
get podSessionUnregistered() {
|
|
42159
42160
|
return this.code === INVALID_GRANT && this.description.startsWith(`${POD_SESSION_NOT_REGISTERED}:`);
|
|
@@ -57735,7 +57736,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
57735
57736
|
|
|
57736
57737
|
// package.json
|
|
57737
57738
|
var name = "@sjawhar/claude-envoy";
|
|
57738
|
-
var version2 = "3.
|
|
57739
|
+
var version2 = "3.3.0";
|
|
57739
57740
|
var legion = {
|
|
57740
57741
|
daemonApiVersion: 152
|
|
57741
57742
|
};
|
package/dist/session-hook.js
CHANGED
|
@@ -28228,6 +28228,7 @@ var TOO_MANY_REQUESTS = 429;
|
|
|
28228
28228
|
var INVALID_DPOP_PROOF = "invalid_dpop_proof";
|
|
28229
28229
|
var USE_DPOP_NONCE = "use_dpop_nonce";
|
|
28230
28230
|
var INVALID_GRANT = "invalid_grant";
|
|
28231
|
+
var MEMBERSHIP_HELD = "membership_held";
|
|
28231
28232
|
var UNREGISTERED_FIRST_WAIT_MS = 15000;
|
|
28232
28233
|
var UNREGISTERED_MAX_WAIT_MS = 5 * 60000;
|
|
28233
28234
|
var UNREGISTERED_LOG_EVERY_MS = 30 * 60000;
|
|
@@ -28260,7 +28261,7 @@ class BrokerRefusedError extends Error {
|
|
|
28260
28261
|
this.name = "BrokerRefusedError";
|
|
28261
28262
|
}
|
|
28262
28263
|
get permanent() {
|
|
28263
|
-
return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && !this.podSessionUnregistered;
|
|
28264
|
+
return this.status !== TOO_MANY_REQUESTS && this.code !== INVALID_DPOP_PROOF && this.code !== USE_DPOP_NONCE && this.code !== MEMBERSHIP_HELD && !this.podSessionUnregistered;
|
|
28264
28265
|
}
|
|
28265
28266
|
get podSessionUnregistered() {
|
|
28266
28267
|
return this.code === INVALID_GRANT && this.description.startsWith(`${POD_SESSION_NOT_REGISTERED}:`);
|
package/package.json
CHANGED
|
@@ -301,9 +301,11 @@ source says why it had nothing:
|
|
|
301
301
|
- **`machine: the broker at … names no exchange audience`.** The broker accepts no machine identity
|
|
302
302
|
yet. The person signs in (`agent-secrets login`), or restarts the agent as a session:
|
|
303
303
|
`agent-secrets register --wait 10 --exec -- <the agent's command>`.
|
|
304
|
-
- **`this machine
|
|
305
|
-
`
|
|
306
|
-
|
|
304
|
+
- **`this machine's agent-secrets-helper holds no credential at the secrets broker`.** The part after
|
|
305
|
+
`the helper:` names the cure. `run: agent-secrets machine login`: the person logs the machine in,
|
|
306
|
+
as `/legion/broker/guides/log-a-machine-in/` in the documentation site shows. `the helper's trade
|
|
307
|
+
loop is trading …`: the helper gets one itself; report it, and retry later. `the helper stopped
|
|
308
|
+
trading …`: nothing here cures it, so report it with the helper's log.
|
|
307
309
|
|
|
308
310
|
A stopped helper is not a missing one. Where the helper is installed, or `AGENT_SECRETS_HELPER_SOCK`
|
|
309
311
|
names its socket, and the socket is gone, the command exits 1 with
|