@kyde/score 0.9.5 → 0.9.9
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/bin/kyde.js +13 -3
- package/package.json +6 -2
package/bin/kyde.js
CHANGED
|
@@ -21,14 +21,22 @@ const path = require("node:path");
|
|
|
21
21
|
const BASE = process.env.KYDE_ENDPOINT || "https://score.kyde.com";
|
|
22
22
|
const VERSION = require("../package.json").version;
|
|
23
23
|
|
|
24
|
+
// Carried over from 0.1.0 (published 2026-11-04): the copy-paste line
|
|
25
|
+
// for humans whose agent should do the setup itself.
|
|
26
|
+
const SETUP_PROMPT =
|
|
27
|
+
"Read https://score.kyde.com/llms.txt and set up kyde score for this machine.";
|
|
28
|
+
|
|
24
29
|
function usage(code) {
|
|
25
30
|
const out = code ? process.stderr : process.stdout;
|
|
26
31
|
out.write(`kyde ${VERSION} — behavioral drift scoring for AI agents
|
|
27
32
|
|
|
28
33
|
Usage:
|
|
29
|
-
npx @kyde/score init
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
npx @kyde/score init set up this machine: scoring key, OpenTelemetry
|
|
35
|
+
export to ${BASE}, and the warn/pause
|
|
36
|
+
hook for Claude Code. Safe to rerun.
|
|
37
|
+
npx @kyde/score prompt print the one-line setup prompt to paste into
|
|
38
|
+
a coding agent, which then runs init itself:
|
|
39
|
+
${SETUP_PROMPT}
|
|
32
40
|
|
|
33
41
|
Options via environment: KYDE_KEY, KYDE_ENDPOINT, KYDE_BLOCK (ask|deny|off),
|
|
34
42
|
KYDE_REMOVE_GLOBAL_NAME=1 — see https://score.kyde.com/llms.txt
|
|
@@ -91,6 +99,8 @@ async function init() {
|
|
|
91
99
|
const arg = process.argv[2];
|
|
92
100
|
if (arg === "init") {
|
|
93
101
|
init();
|
|
102
|
+
} else if (arg === "prompt") {
|
|
103
|
+
process.stdout.write(SETUP_PROMPT + "\n");
|
|
94
104
|
} else if (!arg || arg === "--help" || arg === "-h" || arg === "help") {
|
|
95
105
|
usage(arg ? 0 : 2);
|
|
96
106
|
} else if (arg === "--version" || arg === "-v") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyde/score",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.9",
|
|
4
4
|
"description": "KYDE Score setup: `npx @kyde/score init` wires an agent harness (Claude Code first) to score.kyde.com — OpenTelemetry export plus the warn/pause hook, in one step.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -8,7 +8,11 @@
|
|
|
8
8
|
"opentelemetry",
|
|
9
9
|
"claude-code",
|
|
10
10
|
"drift",
|
|
11
|
-
"monitoring"
|
|
11
|
+
"monitoring",
|
|
12
|
+
"verify-agent",
|
|
13
|
+
"agent-status",
|
|
14
|
+
"delegation",
|
|
15
|
+
"trust"
|
|
12
16
|
],
|
|
13
17
|
"homepage": "https://score.kyde.com",
|
|
14
18
|
"license": "MIT",
|