@hue-run/sdk 0.14.0 → 0.15.1
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/CLI.md +21 -14
- package/EVALUATIONS.md +1 -1
- package/README.md +112 -19
- package/dist/blobs.d.ts +164 -0
- package/dist/blobs.js +703 -0
- package/dist/cli/eval.js +3 -3
- package/dist/client.d.ts +15 -5
- package/dist/client.js +63 -13
- package/dist/config.d.ts +20 -0
- package/dist/config.js +21 -1
- package/dist/environment/client.d.ts +1 -1
- package/dist/environment/client.js +3 -3
- package/dist/evals/client.d.ts +1 -1
- package/dist/evals/client.js +4 -4
- package/dist/evals/local-worker.d.ts +1 -1
- package/dist/evals/runner.d.ts +1 -1
- package/dist/evals/runner.js +2 -2
- package/dist/evals/simulation.d.ts +1 -1
- package/dist/evals/verdicts.d.ts +10 -7
- package/dist/evals/verdicts.js +52 -16
- package/dist/inline-files.d.ts +44 -1
- package/dist/inline-files.js +65 -6
- package/dist/limits.d.ts +32 -0
- package/dist/limits.js +54 -0
- package/dist/privacy.d.ts +27 -5
- package/dist/privacy.js +140 -39
- package/dist/provider-tools.js +1 -1
- package/dist/safety.d.ts +2 -0
- package/dist/safety.js +10 -4
- package/dist/snapshot.d.ts +30 -8
- package/dist/snapshot.js +280 -49
- package/dist/tool-definitions.d.ts +4 -0
- package/dist/tool-definitions.js +11 -0
- package/dist/transport.d.ts +26 -0
- package/dist/transport.js +579 -177
- package/dist/types.d.ts +8 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -83,7 +83,8 @@ export interface ExportIssue {
|
|
|
83
83
|
signal: Signal;
|
|
84
84
|
/** `rejected` by Hue, `failed` to deliver, `dropped` from the queue, `invalid` record or capture, or a non-failing `warning`. */
|
|
85
85
|
kind: "rejected" | "failed" | "dropped" | "invalid" | "warning";
|
|
86
|
-
/** Records affected; zero for capture failures and for warnings other than lost in-progress span
|
|
86
|
+
/** Records affected; zero for capture failures and for warnings other than lost in-progress span
|
|
87
|
+
* placeholders and values that could not be uploaded, whose warnings count the values. */
|
|
87
88
|
count: number;
|
|
88
89
|
/** HTTP status when the issue came from a response. */
|
|
89
90
|
status?: number;
|
|
@@ -123,6 +124,12 @@ export interface ExportReport {
|
|
|
123
124
|
pendingBytes: number;
|
|
124
125
|
/** Helper capture or instrumentation failures that omitted telemetry while preserving application results. */
|
|
125
126
|
instrumentationFailures: number;
|
|
127
|
+
/** Span values over Hue's inline limit uploaded apart from their spans (or already stored by
|
|
128
|
+
* Hue), each listed under the span's `hue.blobs` with its first 16 KiB kept inline. */
|
|
129
|
+
uploadedValues: number;
|
|
130
|
+
/** Span values over Hue's inline limit that could not be uploaded and were exported cut to the
|
|
131
|
+
* limit (an inline file as its digest), each reported in a warning issue. */
|
|
132
|
+
uploadFallbacks: number;
|
|
126
133
|
}
|
|
127
134
|
/** Caller budget for {@link HueClient.flushSafe} and {@link HueClient.shutdownSafe}. */
|
|
128
135
|
export interface SafeLifecycleOptions {
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Package version shared by the instrumentation scope and the export User-Agent. */
|
|
2
|
-
export declare const sdkVersion = "0.
|
|
2
|
+
export declare const sdkVersion = "0.15.1";
|
package/dist/version.js
CHANGED