oh-my-promptfoo 1.31.0 → 1.31.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/dist/assertions.cjs +2 -2
- package/dist/assertions.d.cts +1 -2
- package/dist/assertions.d.ts +1 -2
- package/dist/assertions.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/config-L5S9SrkO.d.cts +1 -2
- package/dist/config-L5S9SrkO.d.ts +1 -2
- package/dist/delegate-runner.js +36 -32
- package/dist/delegate-runner.js.map +1 -1
- package/dist/{eval-progress-9vj1avaJ.js → eval-progress-DLX0BKQc.js} +1 -2
- package/dist/{eval-progress-9vj1avaJ.js.map → eval-progress-DLX0BKQc.js.map} +1 -1
- package/dist/eval-progress.js +1 -1
- package/dist/{fs-Bel9QMU6.cjs → fs-Cq23pkYd.cjs} +2 -2
- package/dist/{fs-Bel9QMU6.cjs.map → fs-Cq23pkYd.cjs.map} +1 -1
- package/dist/{fs-H3XMC3_v.js → fs-Cs795V-E.js} +2 -2
- package/dist/{fs-H3XMC3_v.js.map → fs-Cs795V-E.js.map} +1 -1
- package/dist/{judge-accounting-CU9PP2Im.cjs → judge-accounting-DvBOqpH8.cjs} +5 -5
- package/dist/{judge-accounting-CU9PP2Im.cjs.map → judge-accounting-DvBOqpH8.cjs.map} +1 -1
- package/dist/providers.cjs +2 -2
- package/dist/providers.d.cts +1 -2
- package/dist/providers.d.ts +1 -2
- package/dist/providers.js +2 -2
- package/dist/reporting.cjs +1 -1
- package/dist/reporting.d.cts +1 -2
- package/dist/reporting.d.ts +1 -2
- package/dist/reporting.js +1 -1
- package/dist/{rolldown-runtime-DYf_mQCB.js → rolldown-runtime-BVN1G_yT.js} +4 -4
- package/package.json +1 -1
package/dist/assertions.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_fs = require("./fs-
|
|
3
|
-
const require_judge_accounting = require("./judge-accounting-
|
|
2
|
+
const require_fs = require("./fs-Cq23pkYd.cjs");
|
|
3
|
+
const require_judge_accounting = require("./judge-accounting-DvBOqpH8.cjs");
|
|
4
4
|
let node_path = require("node:path");
|
|
5
5
|
let node_url = require("node:url");
|
|
6
6
|
let node_fs = require("node:fs");
|
package/dist/assertions.d.cts
CHANGED
|
@@ -293,5 +293,4 @@ interface LlmAssertionContext {
|
|
|
293
293
|
}
|
|
294
294
|
/** Score all named criteria with one judge request; every criterion must pass. */
|
|
295
295
|
export declare function llmAssert(output: unknown, context?: LlmAssertionContext): Promise<RubricResult>;
|
|
296
|
-
export { type AgentRubricConfig, type BatchedRubricConfig, type ParsedCommand, type RubricComponent, type ShellCommandSelector, type SkillNotLoadedConfig, type ToolAssertionConfig, type ToolCall, type ToolInventory, type ToolName, type ToolSelector, type WorkspaceEvidenceOption, type WorkspaceFileConfig, type WorkspaceFileCriterion, skillNotLoaded as "skill-not-loaded", toolCalled as "tool-called", toolNotCalled as "tool-not-called", workspaceFile as "workspace-file" };
|
|
297
|
-
//# sourceMappingURL=assertions.d.cts.map
|
|
296
|
+
export { type AgentRubricConfig, type BatchedRubricConfig, type ParsedCommand, type RubricComponent, type ShellCommandSelector, type SkillNotLoadedConfig, type ToolAssertionConfig, type ToolCall, type ToolInventory, type ToolName, type ToolSelector, type WorkspaceEvidenceOption, type WorkspaceFileConfig, type WorkspaceFileCriterion, skillNotLoaded as "skill-not-loaded", toolCalled as "tool-called", toolNotCalled as "tool-not-called", workspaceFile as "workspace-file" };
|
package/dist/assertions.d.ts
CHANGED
|
@@ -293,5 +293,4 @@ interface LlmAssertionContext {
|
|
|
293
293
|
}
|
|
294
294
|
/** Score all named criteria with one judge request; every criterion must pass. */
|
|
295
295
|
export declare function llmAssert(output: unknown, context?: LlmAssertionContext): Promise<RubricResult>;
|
|
296
|
-
export { type AgentRubricConfig, type BatchedRubricConfig, type ParsedCommand, type RubricComponent, type ShellCommandSelector, type SkillNotLoadedConfig, type ToolAssertionConfig, type ToolCall, type ToolInventory, type ToolName, type ToolSelector, type WorkspaceEvidenceOption, type WorkspaceFileConfig, type WorkspaceFileCriterion, skillNotLoaded as "skill-not-loaded", toolCalled as "tool-called", toolNotCalled as "tool-not-called", workspaceFile as "workspace-file" };
|
|
297
|
-
//# sourceMappingURL=assertions.d.ts.map
|
|
296
|
+
export { type AgentRubricConfig, type BatchedRubricConfig, type ParsedCommand, type RubricComponent, type ShellCommandSelector, type SkillNotLoadedConfig, type ToolAssertionConfig, type ToolCall, type ToolInventory, type ToolName, type ToolSelector, type WorkspaceEvidenceOption, type WorkspaceFileConfig, type WorkspaceFileCriterion, skillNotLoaded as "skill-not-loaded", toolCalled as "tool-called", toolNotCalled as "tool-not-called", workspaceFile as "workspace-file" };
|
package/dist/assertions.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as validateDelegate, C as judgeName, E as jsonSafe, F as object, G as destination, J as __dirname, M as closed, O as runDelegate, V as validateDelegateConfig, d as hash, j as toolInventory, k as wireContext, w as loadJudge, x as JUDGE_LIST_ERROR } from "./fs-
|
|
1
|
+
import { B as validateDelegate, C as judgeName, E as jsonSafe, F as object, G as destination, J as __dirname, M as closed, O as runDelegate, V as validateDelegateConfig, d as hash, j as toolInventory, k as wireContext, w as loadJudge, x as JUDGE_LIST_ERROR } from "./fs-Cs795V-E.js";
|
|
2
2
|
import { a as preserveJudgeFailure, c as copilotFailure, i as judgeFailureMessage, n as JudgeFailureContext, o as redact, r as addCompletionDetails, s as secrets, t as JudgeAccountingCollector } from "./judge-accounting-zaF-67yN.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { dirname, isAbsolute, join, posix, resolve } from "node:path";
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {createRequire as __allagentsCreateRequire} from "node:module";const require=__allagentsCreateRequire(import.meta.url);
|
|
3
3
|
import { t as canonicalJson } from "./config-dkfko4h5.js";
|
|
4
4
|
import { n as helperInvoke, t as helperAvailable } from "./helper-CQLUwsX4.js";
|
|
5
|
-
import { a as renderConsoleSummary, c as summarizeEvaluation, i as readWorkspaceTiming, l as addSourceLinks, o as renderProgress, r as readProgress, s as renderSummary } from "./eval-progress-
|
|
5
|
+
import { a as renderConsoleSummary, c as summarizeEvaluation, i as readWorkspaceTiming, l as addSourceLinks, o as renderProgress, r as readProgress, s as renderSummary } from "./eval-progress-DLX0BKQc.js";
|
|
6
6
|
import { n as secrets } from "./redaction-Be3UM1sZ.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { constants, createWriteStream, realpathSync } from "node:fs";
|
|
@@ -151,5 +151,4 @@ interface ProviderOptions {
|
|
|
151
151
|
config?: JsonObject;
|
|
152
152
|
env?: Record<string, string | undefined>;
|
|
153
153
|
}
|
|
154
|
-
export { WorkspaceSpec as _, CopilotSdkConfig as a, JsonObject as c, GitSource as d, LocalSource as f, WorkspaceSource as g, WorkspaceHandle as h, CopilotDelegate as i, PiDelegate as l, ResolvedSource as m, ClaudeDelegate as n, Delegate as o, OciSource as p, CodexDelegate as r, DelegateId as s, AgentConfig as t, ProviderOptions as u };
|
|
155
|
-
//# sourceMappingURL=config-L5S9SrkO.d.cts.map
|
|
154
|
+
export { WorkspaceSpec as _, CopilotSdkConfig as a, JsonObject as c, GitSource as d, LocalSource as f, WorkspaceSource as g, WorkspaceHandle as h, CopilotDelegate as i, PiDelegate as l, ResolvedSource as m, ClaudeDelegate as n, Delegate as o, OciSource as p, CodexDelegate as r, DelegateId as s, AgentConfig as t, ProviderOptions as u };
|
|
@@ -151,5 +151,4 @@ interface ProviderOptions {
|
|
|
151
151
|
config?: JsonObject;
|
|
152
152
|
env?: Record<string, string | undefined>;
|
|
153
153
|
}
|
|
154
|
-
export { WorkspaceSpec as _, CopilotSdkConfig as a, JsonObject as c, GitSource as d, LocalSource as f, WorkspaceSource as g, WorkspaceHandle as h, CopilotDelegate as i, PiDelegate as l, ResolvedSource as m, ClaudeDelegate as n, Delegate as o, OciSource as p, CodexDelegate as r, DelegateId as s, AgentConfig as t, ProviderOptions as u };
|
|
155
|
-
//# sourceMappingURL=config-L5S9SrkO.d.ts.map
|
|
154
|
+
export { WorkspaceSpec as _, CopilotSdkConfig as a, JsonObject as c, GitSource as d, LocalSource as f, WorkspaceSource as g, WorkspaceHandle as h, CopilotDelegate as i, PiDelegate as l, ResolvedSource as m, ClaudeDelegate as n, Delegate as o, OciSource as p, CodexDelegate as r, DelegateId as s, AgentConfig as t, ProviderOptions as u };
|
package/dist/delegate-runner.js
CHANGED
|
@@ -10,7 +10,6 @@ import path, { basename, dirname, isAbsolute, join, resolve, sep } from "node:pa
|
|
|
10
10
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
11
11
|
import { AsyncLocalStorage } from "async_hooks";
|
|
12
12
|
import { EventEmitter } from "events";
|
|
13
|
-
import "node:child_process";
|
|
14
13
|
import { tmpdir } from "node:os";
|
|
15
14
|
import assert from "node:assert";
|
|
16
15
|
import process$1 from "node:process";
|
|
@@ -1201,7 +1200,7 @@ const trace = class TraceAPI {
|
|
|
1201
1200
|
this._proxyTracerProvider = new ProxyTracerProvider();
|
|
1202
1201
|
}
|
|
1203
1202
|
}.getInstance();
|
|
1204
|
-
// node_modules/.pnpm/@opentelemetry+context-async-hooks@3.
|
|
1203
|
+
// node_modules/.pnpm/@opentelemetry+context-async-hooks@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/context-async-hooks/dist/AsyncLocalStorageContextManager.mjs
|
|
1205
1204
|
const ADD_LISTENER_METHODS = [
|
|
1206
1205
|
"addListener",
|
|
1207
1206
|
"on",
|
|
@@ -1398,12 +1397,12 @@ var AsyncLocalStorageContextManager = class {
|
|
|
1398
1397
|
return new DisposeOnceToken(previousContext, this._asyncLocalStorage);
|
|
1399
1398
|
}
|
|
1400
1399
|
};
|
|
1401
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1400
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/trace/suppress-tracing.mjs
|
|
1402
1401
|
const SUPPRESS_TRACING_KEY = createContextKey("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
|
|
1403
1402
|
function isTracingSuppressed(context) {
|
|
1404
1403
|
return context.getValue(SUPPRESS_TRACING_KEY) === true;
|
|
1405
1404
|
}
|
|
1406
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1405
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/common/attributes.mjs
|
|
1407
1406
|
let AddAttributeDecision = /* @__PURE__ */ function(AddAttributeDecision) {
|
|
1408
1407
|
AddAttributeDecision[AddAttributeDecision["DROP_UNDEFINED"] = 0] = "DROP_UNDEFINED";
|
|
1409
1408
|
AddAttributeDecision[AddAttributeDecision["DROP_INVALID"] = 1] = "DROP_INVALID";
|
|
@@ -1545,6 +1544,11 @@ function isAnyValueInternal(val, visited) {
|
|
|
1545
1544
|
if (val instanceof Uint8Array) return true;
|
|
1546
1545
|
if (visited.has(val)) return false;
|
|
1547
1546
|
visited.add(val);
|
|
1547
|
+
const isValid = isAnyValueObject(val, visited);
|
|
1548
|
+
visited.delete(val);
|
|
1549
|
+
return isValid;
|
|
1550
|
+
}
|
|
1551
|
+
function isAnyValueObject(val, visited) {
|
|
1548
1552
|
if (Array.isArray(val)) {
|
|
1549
1553
|
for (const item of val) if (item !== void 0 && !isAnyValueInternal(item, visited)) return false;
|
|
1550
1554
|
return true;
|
|
@@ -1621,7 +1625,7 @@ function isValidPrimitiveAttributeValueType(valType) {
|
|
|
1621
1625
|
}
|
|
1622
1626
|
return false;
|
|
1623
1627
|
}
|
|
1624
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1628
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/common/logging-error-handler.mjs
|
|
1625
1629
|
/**
|
|
1626
1630
|
* Returns a function that logs an error using the provided logger, or a
|
|
1627
1631
|
* console logger if one was not provided.
|
|
@@ -1657,7 +1661,7 @@ function flattenException(ex) {
|
|
|
1657
1661
|
}
|
|
1658
1662
|
return result;
|
|
1659
1663
|
}
|
|
1660
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1664
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/common/global-error-handler.mjs
|
|
1661
1665
|
/** The global error handler delegate */
|
|
1662
1666
|
let delegateHandler = loggingErrorHandler();
|
|
1663
1667
|
/**
|
|
@@ -1669,7 +1673,7 @@ function globalErrorHandler(ex) {
|
|
|
1669
1673
|
delegateHandler(ex);
|
|
1670
1674
|
} catch {}
|
|
1671
1675
|
}
|
|
1672
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1676
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/common/time.mjs
|
|
1673
1677
|
const NANOSECOND_DIGITS = 9;
|
|
1674
1678
|
const MILLISECONDS_TO_NANOSECONDS = Math.pow(10, 6);
|
|
1675
1679
|
const SECOND_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS);
|
|
@@ -1727,7 +1731,7 @@ function addHrTimes(time1, time2) {
|
|
|
1727
1731
|
}
|
|
1728
1732
|
return out;
|
|
1729
1733
|
}
|
|
1730
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1734
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/internal/validators.mjs
|
|
1731
1735
|
const VALID_KEY_CHAR_RANGE = "[_0-9a-z-*/]";
|
|
1732
1736
|
const VALID_KEY_REGEX = new RegExp(`^(?:${`[a-z]${VALID_KEY_CHAR_RANGE}{0,255}`}|${`[a-z0-9]${VALID_KEY_CHAR_RANGE}{0,240}@[a-z]${VALID_KEY_CHAR_RANGE}{0,13}`})$`);
|
|
1733
1737
|
const VALID_VALUE_BASE_REGEX = /^[ -~]{0,255}[!-~]$/;
|
|
@@ -1750,7 +1754,7 @@ function validateKey(key) {
|
|
|
1750
1754
|
function validateValue(value) {
|
|
1751
1755
|
return VALID_VALUE_BASE_REGEX.test(value) && !INVALID_VALUE_COMMA_EQUAL_REGEX.test(value);
|
|
1752
1756
|
}
|
|
1753
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1757
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/trace/TraceState.mjs
|
|
1754
1758
|
const MAX_TRACE_STATE_ITEMS = 32;
|
|
1755
1759
|
const MAX_TRACE_STATE_LEN = 512;
|
|
1756
1760
|
const LIST_MEMBERS_SEPARATOR = ",";
|
|
@@ -1840,7 +1844,7 @@ var TraceState = class TraceState {
|
|
|
1840
1844
|
return traceState;
|
|
1841
1845
|
}
|
|
1842
1846
|
};
|
|
1843
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1847
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/trace/W3CTraceContextPropagator.mjs
|
|
1844
1848
|
const TRACE_PARENT_HEADER = "traceparent";
|
|
1845
1849
|
const TRACE_STATE_HEADER = "tracestate";
|
|
1846
1850
|
const VERSION$2 = "00";
|
|
@@ -1898,9 +1902,9 @@ var W3CTraceContextPropagator = class {
|
|
|
1898
1902
|
return [TRACE_PARENT_HEADER, TRACE_STATE_HEADER];
|
|
1899
1903
|
}
|
|
1900
1904
|
};
|
|
1901
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1902
|
-
const VERSION$1 = "3.
|
|
1903
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1905
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/version.mjs
|
|
1906
|
+
const VERSION$1 = "3.1.0";
|
|
1907
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/semconv.mjs
|
|
1904
1908
|
/**
|
|
1905
1909
|
* The name of the runtime of this process.
|
|
1906
1910
|
*
|
|
@@ -1909,7 +1913,7 @@ const VERSION$1 = "3.0.0";
|
|
|
1909
1913
|
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
1910
1914
|
*/
|
|
1911
1915
|
const ATTR_PROCESS_RUNTIME_NAME = "process.runtime.name";
|
|
1912
|
-
// node_modules/.pnpm/@opentelemetry+semantic-conventions@1.
|
|
1916
|
+
// node_modules/.pnpm/@opentelemetry+semantic-conventions@1.45.0/node_modules/@opentelemetry/semantic-conventions/dist/stable_attributes.mjs
|
|
1913
1917
|
/**
|
|
1914
1918
|
* The exception message.
|
|
1915
1919
|
*
|
|
@@ -1978,7 +1982,7 @@ const ATTR_TELEMETRY_SDK_NAME = "telemetry.sdk.name";
|
|
|
1978
1982
|
* @example 1.2.3
|
|
1979
1983
|
*/
|
|
1980
1984
|
const ATTR_TELEMETRY_SDK_VERSION = "telemetry.sdk.version";
|
|
1981
|
-
// node_modules/.pnpm/@opentelemetry+core@3.
|
|
1985
|
+
// node_modules/.pnpm/@opentelemetry+core@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/core/dist/platform/node/sdk-info.mjs
|
|
1982
1986
|
/** Constants describing the SDK in use */
|
|
1983
1987
|
const SDK_INFO = {
|
|
1984
1988
|
[ATTR_TELEMETRY_SDK_NAME]: "opentelemetry",
|
|
@@ -1986,7 +1990,7 @@ const SDK_INFO = {
|
|
|
1986
1990
|
[ATTR_TELEMETRY_SDK_LANGUAGE]: TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS,
|
|
1987
1991
|
[ATTR_TELEMETRY_SDK_VERSION]: VERSION$1
|
|
1988
1992
|
};
|
|
1989
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
1993
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/sampler/AlwaysOffSampler.mjs
|
|
1990
1994
|
/** Sampler that samples no traces. */
|
|
1991
1995
|
var AlwaysOffSampler = class {
|
|
1992
1996
|
shouldSample() {
|
|
@@ -1996,7 +2000,7 @@ var AlwaysOffSampler = class {
|
|
|
1996
2000
|
return "AlwaysOffSampler";
|
|
1997
2001
|
}
|
|
1998
2002
|
};
|
|
1999
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2003
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/sampler/AlwaysOnSampler.mjs
|
|
2000
2004
|
/** Sampler that samples all traces. */
|
|
2001
2005
|
var AlwaysOnSampler = class {
|
|
2002
2006
|
shouldSample() {
|
|
@@ -2006,7 +2010,7 @@ var AlwaysOnSampler = class {
|
|
|
2006
2010
|
return "AlwaysOnSampler";
|
|
2007
2011
|
}
|
|
2008
2012
|
};
|
|
2009
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2013
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/sampler/ParentBasedSampler.mjs
|
|
2010
2014
|
/**
|
|
2011
2015
|
* A composite sampler that either respects the parent span's sampling decision
|
|
2012
2016
|
* or delegates to `delegateSampler` for root spans.
|
|
@@ -2042,7 +2046,7 @@ var ParentBasedSampler = class {
|
|
|
2042
2046
|
return `ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`;
|
|
2043
2047
|
}
|
|
2044
2048
|
};
|
|
2045
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2049
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/inspect.mjs
|
|
2046
2050
|
/**
|
|
2047
2051
|
* Well-known symbol used by Node.js `util.inspect` (and `console.*`) to
|
|
2048
2052
|
* render an object via a custom representation. Defined as a global Symbol
|
|
@@ -2084,9 +2088,9 @@ function formatInspect(className, payload, depth, options, inspect) {
|
|
|
2084
2088
|
depth: options.depth == null ? options.depth : options.depth - 1
|
|
2085
2089
|
})}`;
|
|
2086
2090
|
}
|
|
2087
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2091
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/enums.mjs
|
|
2088
2092
|
const ExceptionEventName = "exception";
|
|
2089
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2093
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/Span.mjs
|
|
2090
2094
|
/**
|
|
2091
2095
|
* This class represents a span.
|
|
2092
2096
|
*/
|
|
@@ -2341,7 +2345,7 @@ var SpanImpl = class {
|
|
|
2341
2345
|
}, depth, options, inspect);
|
|
2342
2346
|
}
|
|
2343
2347
|
};
|
|
2344
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2348
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/semconv.mjs
|
|
2345
2349
|
/**
|
|
2346
2350
|
* Determines whether the span has a parent span, and if so, [whether it is a remote parent](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote)
|
|
2347
2351
|
*
|
|
@@ -2368,7 +2372,7 @@ const METRIC_OTEL_SDK_SPAN_LIVE = "otel.sdk.span.live";
|
|
|
2368
2372
|
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
2369
2373
|
*/
|
|
2370
2374
|
const METRIC_OTEL_SDK_SPAN_STARTED = "otel.sdk.span.started";
|
|
2371
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2375
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/TracerMetrics.mjs
|
|
2372
2376
|
/**
|
|
2373
2377
|
* Generates `otel.sdk.span.*` metrics.
|
|
2374
2378
|
* https://opentelemetry.io/docs/specs/semconv/otel/sdk-metrics/#span-metrics
|
|
@@ -2412,9 +2416,9 @@ function samplingDecisionToString(decision) {
|
|
|
2412
2416
|
case 0: return "DROP";
|
|
2413
2417
|
}
|
|
2414
2418
|
}
|
|
2415
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2416
|
-
const VERSION = "3.
|
|
2417
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2419
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/version.mjs
|
|
2420
|
+
const VERSION = "3.1.0";
|
|
2421
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/Tracer.mjs
|
|
2418
2422
|
const NO_ATTR_LIMITS = {
|
|
2419
2423
|
attributeCountLimit: Infinity,
|
|
2420
2424
|
attributeValueLengthLimit: Infinity
|
|
@@ -2536,7 +2540,7 @@ var Tracer$1 = class {
|
|
|
2536
2540
|
}, depth, options, inspect);
|
|
2537
2541
|
}
|
|
2538
2542
|
};
|
|
2539
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2543
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/MultiSpanProcessor.mjs
|
|
2540
2544
|
/**
|
|
2541
2545
|
* Implementation of the {@link SpanProcessor} that simply forwards all
|
|
2542
2546
|
* received events to a list of {@link SpanProcessor}s.
|
|
@@ -2577,11 +2581,11 @@ var MultiSpanProcessor = class {
|
|
|
2577
2581
|
});
|
|
2578
2582
|
}
|
|
2579
2583
|
};
|
|
2580
|
-
// node_modules/.pnpm/@opentelemetry+resources@3.
|
|
2584
|
+
// node_modules/.pnpm/@opentelemetry+resources@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/resources/dist/utils.mjs
|
|
2581
2585
|
const isPromiseLike = (val) => {
|
|
2582
2586
|
return val !== null && typeof val === "object" && typeof val.then === "function";
|
|
2583
2587
|
};
|
|
2584
|
-
// node_modules/.pnpm/@opentelemetry+resources@3.
|
|
2588
|
+
// node_modules/.pnpm/@opentelemetry+resources@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/resources/dist/detectors/platform/node/default-service-name.mjs
|
|
2585
2589
|
let serviceName;
|
|
2586
2590
|
/**
|
|
2587
2591
|
* Returns the default service name for OpenTelemetry resources:
|
|
@@ -2597,7 +2601,7 @@ function defaultServiceName() {
|
|
|
2597
2601
|
}
|
|
2598
2602
|
return serviceName;
|
|
2599
2603
|
}
|
|
2600
|
-
// node_modules/.pnpm/@opentelemetry+resources@3.
|
|
2604
|
+
// node_modules/.pnpm/@opentelemetry+resources@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/resources/dist/ResourceImpl.mjs
|
|
2601
2605
|
var ResourceImpl = class ResourceImpl {
|
|
2602
2606
|
_rawAttributes;
|
|
2603
2607
|
_asyncAttributesPending = false;
|
|
@@ -2698,7 +2702,7 @@ function mergeSchemaUrl(old, updating) {
|
|
|
2698
2702
|
if (oldSchemaUrl === updatingSchemaUrl) return oldSchemaUrl;
|
|
2699
2703
|
diag.warn("Schema URL merge conflict: old resource has \"%s\", updating resource has \"%s\". Resulting resource will have undefined Schema URL.", oldSchemaUrl, updatingSchemaUrl);
|
|
2700
2704
|
}
|
|
2701
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2705
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/platform/node/RandomIdGenerator.mjs
|
|
2702
2706
|
const SPAN_ID_BYTES = 8;
|
|
2703
2707
|
const TRACE_ID_BYTES = 16;
|
|
2704
2708
|
var RandomIdGenerator = class {
|
|
@@ -2724,7 +2728,7 @@ function generateId(bytes) {
|
|
|
2724
2728
|
else if (i === bytes - 1) SHARED_BUFFER[bytes - 1] = 1;
|
|
2725
2729
|
return SHARED_BUFFER.toString("hex", 0, bytes);
|
|
2726
2730
|
}
|
|
2727
|
-
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.
|
|
2731
|
+
// node_modules/.pnpm/@opentelemetry+sdk-trace@3.1.0_@opentelemetry+api@1.10.0/node_modules/@opentelemetry/sdk-trace/dist/TracerProvider.mjs
|
|
2728
2732
|
/**
|
|
2729
2733
|
* This class represents a basic tracer provider which platform libraries can extend
|
|
2730
2734
|
*/
|