@kyde/score 0.10.0 → 0.11.35
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/README.md +4 -3
- package/bin/kyde.js +13 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,9 +14,10 @@ One step, safe to rerun, written so an agent can run it alone:
|
|
|
14
14
|
(`~/.claude/settings.json`, global `env` block — never the agent
|
|
15
15
|
name; names belong where each agent is launched).
|
|
16
16
|
3. Installs the hook: after a tool call Kyde can warn the agent in its
|
|
17
|
-
own context
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
own context. Before a call it hashes the recipient fields (address,
|
|
18
|
+
IBAN, merchant, amount bucket) locally with a salt that stays on the
|
|
19
|
+
machine and sends only the hashes. It never pauses or blocks a call
|
|
20
|
+
(pause and block: waitlist at https://kyde.com/pricing/).
|
|
20
21
|
4. Sends a test event and confirms that Kyde sees this machine.
|
|
21
22
|
|
|
22
23
|
Equivalent to `curl -fsSL https://score.kyde.com/install.sh | sh` — this
|
package/bin/kyde.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// Environment (all optional, passed straight through to the installer):
|
|
10
10
|
// KYDE_KEY use this scoring key instead of creating one
|
|
11
11
|
// KYDE_ENDPOINT service base URL (default https://score.kyde.com)
|
|
12
|
-
// KYDE_BLOCK hook mode:
|
|
12
|
+
// KYDE_BLOCK hook mode: off (default, warn only); ask|deny internal tests only
|
|
13
13
|
// KYDE_REMOVE_GLOBAL_NAME=1 drop a global OTEL_SERVICE_NAME from settings
|
|
14
14
|
"use strict";
|
|
15
15
|
|
|
@@ -34,7 +34,7 @@ function usage(code) {
|
|
|
34
34
|
|
|
35
35
|
Usage:
|
|
36
36
|
npx @kyde/score init set up this machine: scoring key, OpenTelemetry
|
|
37
|
-
export to ${BASE}, and the
|
|
37
|
+
export to ${BASE}, and the warning
|
|
38
38
|
hook for Claude Code. Safe to rerun.
|
|
39
39
|
npx @kyde/score prompt print the one-line setup prompt to paste into
|
|
40
40
|
a coding agent, which then runs init itself:
|
|
@@ -48,8 +48,7 @@ Usage:
|
|
|
48
48
|
--timeout <seconds, default 300>
|
|
49
49
|
|
|
50
50
|
Options via environment: KYDE_KEY, KYDE_ENDPOINT, KYDE_SHINE_ENDPOINT,
|
|
51
|
-
|
|
52
|
-
see https://score.kyde.com/llms.txt
|
|
51
|
+
KYDE_REMOVE_GLOBAL_NAME=1 — see https://score.kyde.com/llms.txt
|
|
53
52
|
`);
|
|
54
53
|
process.exit(code);
|
|
55
54
|
}
|
|
@@ -222,7 +221,16 @@ async function verify(args) {
|
|
|
222
221
|
"runs) — delegating to a learning agent is your policy call"
|
|
223
222
|
: claims.measured
|
|
224
223
|
? `identity confirmed; band ${claims.band}, score ${claims.score}` +
|
|
225
|
-
` over ${claims.runs} runs`
|
|
224
|
+
` over ${claims.runs} runs` +
|
|
225
|
+
(claims.v >= 1
|
|
226
|
+
? claims.contract
|
|
227
|
+
? `; confirmed contract (held: ${
|
|
228
|
+
claims.compliance && claims.compliance.state === "measured"
|
|
229
|
+
? claims.compliance.days + " days"
|
|
230
|
+
: "too young for a statement"
|
|
231
|
+
}, holds: ${claims.holds_band})`
|
|
232
|
+
: "; no confirmed contract"
|
|
233
|
+
: "")
|
|
226
234
|
: "identity confirmed; no behavioral measurement available " +
|
|
227
235
|
"(measured: false)";
|
|
228
236
|
process.stderr.write(
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyde/score",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "KYDE Score setup: `npx @kyde/score init` wires an agent harness (Claude Code first) to score.kyde.com — OpenTelemetry export plus the
|
|
3
|
+
"version": "0.11.35",
|
|
4
|
+
"description": "KYDE Score setup: `npx @kyde/score init` wires an agent harness (Claude Code first) to score.kyde.com — OpenTelemetry export plus the warning hook, in one step.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
7
7
|
"observability",
|