@sjawhar/claude-envoy 1.26.2 → 1.27.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
|
@@ -16830,6 +16830,7 @@ var EnvelopeSchema = object({
|
|
|
16830
16830
|
issued_at: number2().int(),
|
|
16831
16831
|
expires_at: number2().int().optional(),
|
|
16832
16832
|
kept_at: number2().int().optional(),
|
|
16833
|
+
mention_dedupe_keys: record(string2(), string2()).optional(),
|
|
16833
16834
|
payload_summary: string2().min(1),
|
|
16834
16835
|
payload: string2().optional(),
|
|
16835
16836
|
payload_ref: string2().optional(),
|
package/dist/envoy-channel.js
CHANGED
|
@@ -38479,6 +38479,7 @@ var EnvelopeSchema = object({
|
|
|
38479
38479
|
issued_at: number2().int(),
|
|
38480
38480
|
expires_at: number2().int().optional(),
|
|
38481
38481
|
kept_at: number2().int().optional(),
|
|
38482
|
+
mention_dedupe_keys: record(string2(), string2()).optional(),
|
|
38482
38483
|
payload_summary: string2().min(1),
|
|
38483
38484
|
payload: string2().optional(),
|
|
38484
38485
|
payload_ref: string2().optional(),
|
|
@@ -55347,7 +55348,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
55347
55348
|
|
|
55348
55349
|
// package.json
|
|
55349
55350
|
var name = "@sjawhar/claude-envoy";
|
|
55350
|
-
var version2 = "1.
|
|
55351
|
+
var version2 = "1.27.0";
|
|
55351
55352
|
var legion = {
|
|
55352
55353
|
daemonApiVersion: 59
|
|
55353
55354
|
};
|
package/dist/session-hook.js
CHANGED
|
@@ -15829,6 +15829,7 @@ var EnvelopeSchema = object({
|
|
|
15829
15829
|
issued_at: number2().int(),
|
|
15830
15830
|
expires_at: number2().int().optional(),
|
|
15831
15831
|
kept_at: number2().int().optional(),
|
|
15832
|
+
mention_dedupe_keys: record(string2(), string2()).optional(),
|
|
15832
15833
|
payload_summary: string2().min(1),
|
|
15833
15834
|
payload: string2().optional(),
|
|
15834
15835
|
payload_ref: string2().optional(),
|
package/package.json
CHANGED
|
@@ -21,8 +21,8 @@ agent-secrets NAME... [--reason TEXT] [--wait DURATION] [--ttl DURATION] -- <com
|
|
|
21
21
|
with some of its secrets missing (`cmdExec`, `packages/envoy/cmd/agent-secrets/main.go`).
|
|
22
22
|
- `--reason` is necessary wherever a person approves: a request that names a secret someone must
|
|
23
23
|
decide, and carries none, is denied whole. Say what the credential is for, in a sentence the
|
|
24
|
-
approver can decide on
|
|
25
|
-
needs none.
|
|
24
|
+
approver can decide on, and name in it the issue you work on, by its key (below). A request
|
|
25
|
+
every name of which is granted at once reaches nobody and needs none.
|
|
26
26
|
- `agent-secrets --help` holds the rest: the flags that narrow a GitHub App token
|
|
27
27
|
(`--github-owner`, `--github-repo`, `--github-read-only`), and how long a grant lasts.
|
|
28
28
|
- A narrowing and the airlock do not go together. Ask for a narrowing in a run whose grant holds
|
|
@@ -151,6 +151,24 @@ refusal that is permanent; 126 and 127 from `agent-secrets register --exec`, who
|
|
|
151
151
|
run or was not found; and 129, 130, 131 and 143 from a signal at the value prompt of
|
|
152
152
|
`agent-secrets secret create` or `secret set`. `agent-secrets --help` lists them all.
|
|
153
153
|
|
|
154
|
+
## Asking so a model judge can decide it
|
|
155
|
+
|
|
156
|
+
Your deployment may run a model judge over a narrow class of the requests that would otherwise
|
|
157
|
+
wait for a person. Three things in your own command decide whether a request can fall in that
|
|
158
|
+
class:
|
|
159
|
+
|
|
160
|
+
- One secret. A request that names two is outside it.
|
|
161
|
+
- `--ttl 15m`, or less. A longer one is outside it. With no `--ttl`, the judge reads the lifetime
|
|
162
|
+
the broker gives instead: 15 minutes for a human-tier secret, which is inside it, and the whole
|
|
163
|
+
session for a secret tagged `default-grant=session`, which is outside it. Pass `--ttl 15m`.
|
|
164
|
+
- The key of the issue you work on in `--reason`, for an issue that is not done.
|
|
165
|
+
|
|
166
|
+
The rules of your deployment decide which secrets the judge may take, and you are told none of
|
|
167
|
+
them, so ask this way and wait as you would anyway. One class is never judged, whatever those
|
|
168
|
+
rules say: a secret tagged as an administrator's, of which a person approves every release. The
|
|
169
|
+
judge approves a request in its class or leaves it for the person who approves it today, and it
|
|
170
|
+
never denies. Every other request waits for that person, as it does now.
|
|
171
|
+
|
|
154
172
|
## Waiting, and a grant you already hold
|
|
155
173
|
|
|
156
174
|
- `--wait` waits 30 minutes by default. A session that must not block passes `--wait 0s`, reads the
|
|
@@ -169,7 +187,8 @@ The broker tells a session no names. A name comes from your deployment instructi
|
|
|
169
187
|
prompt, a skill, or the issue you work on. There is no list to browse and nothing to guess.
|
|
170
188
|
|
|
171
189
|
- Request a secret only to use it for the work in front of you. A request made to learn whether a
|
|
172
|
-
secret exists reaches a
|
|
190
|
+
secret exists is recorded against your session with the reason you signed, and it reaches a
|
|
191
|
+
person's Inbox unless the model judge decides it first.
|
|
173
192
|
- `UNKNOWN_SECRET` and a denial are final. Do not ask again, and do not try a name of your own.
|
|
174
193
|
- A secret that a service owns, such as `LEGION_SLACK_BOT_TOKEN`, goes to that service's own pods
|
|
175
194
|
and VMs and to nothing else: `Evaluate` in `packages/envoy/internal/broker/policy/policy.go`
|