@atbash/sdk 0.3.10 → 0.3.11-dev.2
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/dist/index.cjs +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ function setupTelemetry(config) {
|
|
|
115
115
|
if (!config.enabled) return;
|
|
116
116
|
if (meterProvider) return;
|
|
117
117
|
defaultSource = config.source ?? "sdk";
|
|
118
|
-
const ATBASH_HONEYCOMB_KEY = "
|
|
118
|
+
const ATBASH_HONEYCOMB_KEY = "YOUR_INGEST_KEY_HERE";
|
|
119
119
|
const apiKey = process.env.HONEYCOMB_API_KEY ?? ATBASH_HONEYCOMB_KEY;
|
|
120
120
|
const exporter = new import_exporter_metrics_otlp_http.OTLPMetricExporter({
|
|
121
121
|
url: "https://api.honeycomb.io/v1/metrics",
|
|
@@ -648,7 +648,8 @@ async function getSafetyStats(opts) {
|
|
|
648
648
|
// src/config.ts
|
|
649
649
|
var ALLOWED_JUDGE_HOSTS = /* @__PURE__ */ new Set([
|
|
650
650
|
"atbash.ai",
|
|
651
|
-
"www.atbash.ai"
|
|
651
|
+
"www.atbash.ai",
|
|
652
|
+
"chromia-verified-ai-dev-two.vercel.app"
|
|
652
653
|
]);
|
|
653
654
|
function validateJudgeEndpoint(judge) {
|
|
654
655
|
const policy = judge?.policy === "self-hosted" ? "self-hosted" : "default";
|
package/dist/index.d.cts
CHANGED
|
@@ -210,7 +210,7 @@ declare function verifyJudgeResponseSignature(bodyBytes: Uint8Array, signatureHe
|
|
|
210
210
|
* Tracks: function call counts, latency, source (CLI/plugin/SDK),
|
|
211
211
|
* and agent identity. Opt-in — no data sent unless enabled.
|
|
212
212
|
*/
|
|
213
|
-
type ClientSource = "cli" | "sdk" | "plugin:openclaw" | "plugin:
|
|
213
|
+
type ClientSource = "cli" | "sdk" | "plugin:openclaw" | "plugin:langchain" | "plugin:langgraph" | "plugin:hermes" | "plugin:eliza" | "plugin:crewai" | "plugin:mcp" | "plugin:autogen" | "plugin:jeenai" | (string & {});
|
|
214
214
|
interface TelemetryConfig {
|
|
215
215
|
/** Must be true to send any telemetry. Default: false */
|
|
216
216
|
enabled: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ declare function verifyJudgeResponseSignature(bodyBytes: Uint8Array, signatureHe
|
|
|
210
210
|
* Tracks: function call counts, latency, source (CLI/plugin/SDK),
|
|
211
211
|
* and agent identity. Opt-in — no data sent unless enabled.
|
|
212
212
|
*/
|
|
213
|
-
type ClientSource = "cli" | "sdk" | "plugin:openclaw" | "plugin:
|
|
213
|
+
type ClientSource = "cli" | "sdk" | "plugin:openclaw" | "plugin:langchain" | "plugin:langgraph" | "plugin:hermes" | "plugin:eliza" | "plugin:crewai" | "plugin:mcp" | "plugin:autogen" | "plugin:jeenai" | (string & {});
|
|
214
214
|
interface TelemetryConfig {
|
|
215
215
|
/** Must be true to send any telemetry. Default: false */
|
|
216
216
|
enabled: boolean;
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ function setupTelemetry(config) {
|
|
|
45
45
|
if (!config.enabled) return;
|
|
46
46
|
if (meterProvider) return;
|
|
47
47
|
defaultSource = config.source ?? "sdk";
|
|
48
|
-
const ATBASH_HONEYCOMB_KEY = "
|
|
48
|
+
const ATBASH_HONEYCOMB_KEY = "YOUR_INGEST_KEY_HERE";
|
|
49
49
|
const apiKey = process.env.HONEYCOMB_API_KEY ?? ATBASH_HONEYCOMB_KEY;
|
|
50
50
|
const exporter = new OTLPMetricExporter({
|
|
51
51
|
url: "https://api.honeycomb.io/v1/metrics",
|
|
@@ -578,7 +578,8 @@ async function getSafetyStats(opts) {
|
|
|
578
578
|
// src/config.ts
|
|
579
579
|
var ALLOWED_JUDGE_HOSTS = /* @__PURE__ */ new Set([
|
|
580
580
|
"atbash.ai",
|
|
581
|
-
"www.atbash.ai"
|
|
581
|
+
"www.atbash.ai",
|
|
582
|
+
"chromia-verified-ai-dev-two.vercel.app"
|
|
582
583
|
]);
|
|
583
584
|
function validateJudgeEndpoint(judge) {
|
|
584
585
|
const policy = judge?.policy === "self-hosted" ? "self-hosted" : "default";
|
package/package.json
CHANGED