@mutagent/sdk 0.12.0 → 0.12.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/commonjs/funcs/traces-list-trace-agents.d.ts +1 -1
- package/dist/commonjs/funcs/traces-list-trace-agents.js +1 -1
- package/dist/commonjs/funcs/traces-query-traces.d.ts +1 -1
- package/dist/commonjs/funcs/traces-query-traces.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/trace-agent-name.d.ts +2 -1
- package/dist/commonjs/models/trace-agent-name.d.ts.map +1 -1
- package/dist/commonjs/models/trace-agent-name.js +1 -0
- package/dist/commonjs/models/trace-agent-name.js.map +1 -1
- package/dist/commonjs/models/trace-agent-source-status.d.ts +1 -1
- package/dist/commonjs/models/unitf-trace.d.ts +2 -1
- package/dist/commonjs/models/unitf-trace.d.ts.map +1 -1
- package/dist/commonjs/models/unitf-trace.js +1 -0
- package/dist/commonjs/models/unitf-trace.js.map +1 -1
- package/dist/commonjs/sdk/traces.d.ts +2 -2
- package/dist/commonjs/sdk/traces.js +2 -2
- package/dist/esm/funcs/traces-list-trace-agents.d.ts +1 -1
- package/dist/esm/funcs/traces-list-trace-agents.js +1 -1
- package/dist/esm/funcs/traces-query-traces.d.ts +1 -1
- package/dist/esm/funcs/traces-query-traces.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/trace-agent-name.d.ts +2 -1
- package/dist/esm/models/trace-agent-name.d.ts.map +1 -1
- package/dist/esm/models/trace-agent-name.js +1 -0
- package/dist/esm/models/trace-agent-name.js.map +1 -1
- package/dist/esm/models/trace-agent-source-status.d.ts +1 -1
- package/dist/esm/models/unitf-trace.d.ts +2 -1
- package/dist/esm/models/unitf-trace.d.ts.map +1 -1
- package/dist/esm/models/unitf-trace.js +1 -0
- package/dist/esm/models/unitf-trace.js.map +1 -1
- package/dist/esm/sdk/traces.d.ts +2 -2
- package/dist/esm/sdk/traces.js +2 -2
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* List the agent names in the workspace's client traces and trace sources
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
16
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
17
17
|
*
|
|
18
18
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
19
19
|
*/
|
|
@@ -53,7 +53,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
53
53
|
* List the agent names in the workspace's client traces and trace sources
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
56
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
57
57
|
*
|
|
58
58
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
59
59
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Query traces with a TraceQuery
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
15
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Query traces with a TraceQuery
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
55
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
56
56
|
*
|
|
57
57
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
58
58
|
*/
|
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.12.
|
|
38
|
+
readonly sdkVersion: "0.12.1";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.12.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.12.1 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "2.0.0",
|
|
38
|
-
sdkVersion: "0.12.
|
|
38
|
+
sdkVersion: "0.12.1",
|
|
39
39
|
genVersion: "2.938.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.12.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.12.1 2.938.0 2.0.0 @mutagent/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -9,7 +9,8 @@ export declare enum TraceAgentNameKind {
|
|
|
9
9
|
export type TraceAgentNameKindOpen = OpenEnum<typeof TraceAgentNameKind>;
|
|
10
10
|
export declare enum TraceAgentNamePlatform {
|
|
11
11
|
Langfuse = "langfuse",
|
|
12
|
-
Openobserve = "openobserve"
|
|
12
|
+
Openobserve = "openobserve",
|
|
13
|
+
Dash0 = "dash0"
|
|
13
14
|
}
|
|
14
15
|
export type TraceAgentNamePlatformOpen = OpenEnum<typeof TraceAgentNamePlatform>;
|
|
15
16
|
export type TraceAgentNameSource = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-agent-name.d.ts","sourceRoot":"","sources":["../../../src/models/trace-agent-name.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,oBAAY,kBAAkB;IAC5B,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AACD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE,oBAAY,sBAAsB;IAChC,QAAQ,aAAa;IACrB,WAAW,gBAAgB;
|
|
1
|
+
{"version":3,"file":"trace-agent-name.d.ts","sourceRoot":"","sources":["../../../src/models/trace-agent-name.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,oBAAY,kBAAkB;IAC5B,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AACD,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEzE,oBAAY,sBAAsB;IAChC,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAC/C,OAAO,sBAAsB,CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,QAAQ,EAAE,0BAA0B,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,oBAAoB,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,sBAAsB,EACtB,OAAO,CACsC,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,0BAA0B,EAC1B,OAAO,CAC0C,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAaP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D;AAED,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,cAAc,EACd,OAAO,CAOP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -52,6 +52,7 @@ var TraceAgentNamePlatform;
|
|
|
52
52
|
(function (TraceAgentNamePlatform) {
|
|
53
53
|
TraceAgentNamePlatform["Langfuse"] = "langfuse";
|
|
54
54
|
TraceAgentNamePlatform["Openobserve"] = "openobserve";
|
|
55
|
+
TraceAgentNamePlatform["Dash0"] = "dash0";
|
|
55
56
|
})(TraceAgentNamePlatform || (exports.TraceAgentNamePlatform = TraceAgentNamePlatform = {}));
|
|
56
57
|
/** @internal */
|
|
57
58
|
exports.TraceAgentNameKind$inboundSchema = openEnums.inboundSchema(TraceAgentNameKind);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-agent-name.js","sourceRoot":"","sources":["../../../src/models/trace-agent-name.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"trace-agent-name.js","sourceRoot":"","sources":["../../../src/models/trace-agent-name.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwEH,oEAQC;AAcD,wDAQC;AApGD,+CAAiC;AACjC,kDAA8C;AAC9C,6DAA+C;AAG/C,8DAAgD;AAGhD,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,2CAAqB,CAAA;IACrB,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAGD,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,+CAAqB,CAAA;IACrB,qDAA2B,CAAA;IAC3B,yCAAe,CAAA;AACjB,CAAC,EAJW,sBAAsB,sCAAtB,sBAAsB,QAIjC;AAsBD,gBAAgB;AACH,QAAA,gCAAgC,GAGzC,SAAS,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;AAEhD,gBAAgB;AACH,QAAA,oCAAoC,GAG7C,SAAS,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;AAEpD,gBAAgB;AACH,QAAA,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CACd,wCAAgC,EAChC,kBAAkB,CAAC,QAAQ,CAC5B;IACD,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAClB,CAAC,CAAC,QAAQ,CACR,4CAAoC,EACpC,sBAAsB,CAAC,QAAQ,CAChC,CACF;CACF,CAAC,CAAC;AAEH,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,4BAA4B,GAGrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,KAAK,CAAC,IAAI,EAAE;IACxB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,0CAAkC,CAAC;CACzD,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -16,7 +16,8 @@ export declare enum UnitfTraceKind {
|
|
|
16
16
|
export type UnitfTraceKindOpen = OpenEnum<typeof UnitfTraceKind>;
|
|
17
17
|
export declare enum UnitfTracePlatform {
|
|
18
18
|
Langfuse = "langfuse",
|
|
19
|
-
Openobserve = "openobserve"
|
|
19
|
+
Openobserve = "openobserve",
|
|
20
|
+
Dash0 = "dash0"
|
|
20
21
|
}
|
|
21
22
|
export type UnitfTracePlatformOpen = OpenEnum<typeof UnitfTracePlatform>;
|
|
22
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unitf-trace.d.ts","sourceRoot":"","sources":["../../../src/models/unitf-trace.ts"],"names":[],"mappings":"AAIA,OAAO,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AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,oBAAoB,EACpB,OAAO,CACoC,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,kBAAkB,EAClB,OAAO,CACkC,CAAC;AAE5C,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,sBAAsB,EACtB,OAAO,CACsC,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,gBAAgB,EAChB,OAAO,CAOP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD;AAED,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAyBrE,CAAC;AAEJ,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -60,6 +60,7 @@ var UnitfTracePlatform;
|
|
|
60
60
|
(function (UnitfTracePlatform) {
|
|
61
61
|
UnitfTracePlatform["Langfuse"] = "langfuse";
|
|
62
62
|
UnitfTracePlatform["Openobserve"] = "openobserve";
|
|
63
|
+
UnitfTracePlatform["Dash0"] = "dash0";
|
|
63
64
|
})(UnitfTracePlatform || (exports.UnitfTracePlatform = UnitfTracePlatform = {}));
|
|
64
65
|
/** @internal */
|
|
65
66
|
exports.UnitfTraceStatus$inboundSchema = openEnums.inboundSchema(UnitfTraceStatus);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unitf-trace.js","sourceRoot":"","sources":["../../../src/models/unitf-trace.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
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AE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACvD,GAAG,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IAClD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sCAA8B,CAAC,CAAC;IACpE,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;CAC3C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CACH,CAAC;AAEJ,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare class Traces extends ClientSDK {
|
|
|
6
6
|
* Query traces with a TraceQuery
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
9
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
10
10
|
*/
|
|
11
11
|
queryTraces(request: models.TraceQueryRequest, options?: RequestOptions): Promise<models.TraceQueryResult>;
|
|
12
12
|
/**
|
|
@@ -27,7 +27,7 @@ export declare class Traces extends ClientSDK {
|
|
|
27
27
|
* List the agent names in the workspace's client traces and trace sources
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
30
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
31
31
|
*/
|
|
32
32
|
listTraceAgents(request?: operations.ListTraceAgentsRequest | undefined, options?: RequestOptions): Promise<models.TraceAgentNameList>;
|
|
33
33
|
/**
|
|
@@ -23,7 +23,7 @@ class Traces extends sdks_js_1.ClientSDK {
|
|
|
23
23
|
* Query traces with a TraceQuery
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
26
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
27
27
|
*/
|
|
28
28
|
async queryTraces(request, options) {
|
|
29
29
|
return (0, fp_js_1.unwrapAsync)((0, traces_query_traces_js_1.tracesQueryTraces)(this, request, options));
|
|
@@ -50,7 +50,7 @@ class Traces extends sdks_js_1.ClientSDK {
|
|
|
50
50
|
* List the agent names in the workspace's client traces and trace sources
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
53
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
54
54
|
*/
|
|
55
55
|
async listTraceAgents(request, options) {
|
|
56
56
|
return (0, fp_js_1.unwrapAsync)((0, traces_list_trace_agents_js_1.tracesListTraceAgents)(this, request, options));
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* List the agent names in the workspace's client traces and trace sources
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
16
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
17
17
|
*
|
|
18
18
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
19
19
|
*/
|
|
@@ -17,7 +17,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
17
17
|
* List the agent names in the workspace's client traces and trace sources
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
20
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
21
21
|
*
|
|
22
22
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
23
23
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Query traces with a TraceQuery
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
15
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
16
16
|
*
|
|
17
17
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
18
18
|
*/
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Query traces with a TraceQuery
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
19
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
20
20
|
*
|
|
21
21
|
* If set, this operation will use either {@link Security.apiKey} or {@link Security.bearerAuth} from the global security.
|
|
22
22
|
*/
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "2.0.0";
|
|
38
|
-
readonly sdkVersion: "0.12.
|
|
38
|
+
readonly sdkVersion: "0.12.1";
|
|
39
39
|
readonly genVersion: "2.938.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.12.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.12.1 2.938.0 2.0.0 @mutagent/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "2.0.0",
|
|
34
|
-
sdkVersion: "0.12.
|
|
34
|
+
sdkVersion: "0.12.1",
|
|
35
35
|
genVersion: "2.938.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.12.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.12.1 2.938.0 2.0.0 @mutagent/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -9,7 +9,8 @@ export declare enum TraceAgentNameKind {
|
|
|
9
9
|
export type TraceAgentNameKindOpen = OpenEnum<typeof TraceAgentNameKind>;
|
|
10
10
|
export declare enum TraceAgentNamePlatform {
|
|
11
11
|
Langfuse = "langfuse",
|
|
12
|
-
Openobserve = "openobserve"
|
|
12
|
+
Openobserve = "openobserve",
|
|
13
|
+
Dash0 = "dash0"
|
|
13
14
|
}
|
|
14
15
|
export type TraceAgentNamePlatformOpen = OpenEnum<typeof TraceAgentNamePlatform>;
|
|
15
16
|
export type TraceAgentNameSource = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-agent-name.d.ts","sourceRoot":"","sources":["../../../src/models/trace-agent-name.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,oBAAY,kBAAkB;IAC5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tB,OAAO,CACsC,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,0BAA0B,EAC1B,OAAO,CAC0C,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,WAAW,CAC5D,oBAAoB,EACpB,OAAO,CAaP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D;AAED,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,cAAc,EACd,OAAO,CAOP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -14,6 +14,7 @@ export var TraceAgentNamePlatform;
|
|
|
14
14
|
(function (TraceAgentNamePlatform) {
|
|
15
15
|
TraceAgentNamePlatform["Langfuse"] = "langfuse";
|
|
16
16
|
TraceAgentNamePlatform["Openobserve"] = "openobserve";
|
|
17
|
+
TraceAgentNamePlatform["Dash0"] = "dash0";
|
|
17
18
|
})(TraceAgentNamePlatform || (TraceAgentNamePlatform = {}));
|
|
18
19
|
/** @internal */
|
|
19
20
|
export const TraceAgentNameKind$inboundSchema = openEnums.inboundSchema(TraceAgentNameKind);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trace-agent-name.js","sourceRoot":"","sources":["../../../src/models/trace-agent-name.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAGhD,MAAM,CAAN,IAAY,kBAGX;AAH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,EACpC,sBAAsB,CAAC,QAAQ,CAChC,CACF;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAGrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,KAAK,CAAC,IAAI,EAAE;IACxB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC;CACzD,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -16,7 +16,8 @@ export declare enum UnitfTraceKind {
|
|
|
16
16
|
export type UnitfTraceKindOpen = OpenEnum<typeof UnitfTraceKind>;
|
|
17
17
|
export declare enum UnitfTracePlatform {
|
|
18
18
|
Langfuse = "langfuse",
|
|
19
|
-
Openobserve = "openobserve"
|
|
19
|
+
Openobserve = "openobserve",
|
|
20
|
+
Dash0 = "dash0"
|
|
20
21
|
}
|
|
21
22
|
export type UnitfTracePlatformOpen = OpenEnum<typeof UnitfTracePlatform>;
|
|
22
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unitf-trace.d.ts","sourceRoot":"","sources":["../../../src/models/unitf-trace.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAIjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,SAAS,EAA2B,MAAM,iBAAiB,CAAC;AAErE,oBAAY,gBAAgB;IAC1B,EAAE,OAAO;IACT,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AACD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAErE,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AACD,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAEjE,oBAAY,kBAAkB;IAC5B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;
|
|
1
|
+
{"version":3,"file":"unitf-trace.d.ts","sourceRoot":"","sources":["../../../src/models/unitf-trace.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAIjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,SAAS,EAA2B,MAAM,iBAAiB,CAAC;AAErE,oBAAY,gBAAgB;IAC1B,EAAE,OAAO;IACT,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AACD,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAErE,oBAAY,cAAc;IACxB,QAAQ,aAAa;IACrB,IAAI,SAAS;CACd;AACD,MAAM,MAAM,kBAA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GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,oBAAoB,EACpB,OAAO,CACoC,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,WAAW,CACtD,kBAAkB,EAClB,OAAO,CACkC,CAAC;AAE5C,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAC1D,sBAAsB,EACtB,OAAO,CACsC,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,WAAW,CACxD,gBAAgB,EAChB,OAAO,CAOP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD;AAED,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,WAAW,CAAC,UAAU,EAAE,OAAO,CAyBrE,CAAC;AAEJ,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -22,6 +22,7 @@ export var UnitfTracePlatform;
|
|
|
22
22
|
(function (UnitfTracePlatform) {
|
|
23
23
|
UnitfTracePlatform["Langfuse"] = "langfuse";
|
|
24
24
|
UnitfTracePlatform["Openobserve"] = "openobserve";
|
|
25
|
+
UnitfTracePlatform["Dash0"] = "dash0";
|
|
25
26
|
})(UnitfTracePlatform || (UnitfTracePlatform = {}));
|
|
26
27
|
/** @internal */
|
|
27
28
|
export const UnitfTraceStatus$inboundSchema = openEnums.inboundSchema(UnitfTraceStatus);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unitf-trace.js","sourceRoot":"","sources":["../../../src/models/unitf-trace.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC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C,CAAC,CAAC,EAAE,EAAE;IAChB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CACH,CAAC;AAEJ,MAAM,UAAU,kBAAkB,CAChC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wBAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
package/dist/esm/sdk/traces.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class Traces extends ClientSDK {
|
|
|
6
6
|
* Query traces with a TraceQuery
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
9
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
10
10
|
*/
|
|
11
11
|
queryTraces(request: models.TraceQueryRequest, options?: RequestOptions): Promise<models.TraceQueryResult>;
|
|
12
12
|
/**
|
|
@@ -27,7 +27,7 @@ export declare class Traces extends ClientSDK {
|
|
|
27
27
|
* List the agent names in the workspace's client traces and trace sources
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
30
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
31
31
|
*/
|
|
32
32
|
listTraceAgents(request?: operations.ListTraceAgentsRequest | undefined, options?: RequestOptions): Promise<models.TraceAgentNameList>;
|
|
33
33
|
/**
|
package/dist/esm/sdk/traces.js
CHANGED
|
@@ -20,7 +20,7 @@ export class Traces extends ClientSDK {
|
|
|
20
20
|
* Query traces with a TraceQuery
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse or
|
|
23
|
+
* TraceQuery v0.2 in (session, trace, agent, skill, workflow, keyword, scope, error and time-window filters; filters this store does not apply are listed in manifest.unapplied); UniTF 0.1 records and a manifest out, newest first. Filters this store cannot apply (tags, hasFeedback, scoreBelow) are listed in manifest.unapplied and do not narrow the result. The window defaults to the last 7 days. An agent with NO Factory entry (F46b): when filters.agentName names no entry and the workspace has a Langfuse, OpenObserve or Dash0 pull source, the answer is a sample for inferring its spec. It reads the ingested client traces of that name plus every pull source that passed its last test (at most 5), or only `sourceId` (404 TRACE_SOURCE_NOT_FOUND unless it is a passing source of this workspace). Each source is read server-side through a bounded pull with the agent name pushed down (Langfuse trace name, OpenObserve canonical agent name, Dash0 gen_ai.agent.name else service.name), reused for the window, waited for at most 20 s. At most 20 traces (limit is capped at 20), newest first, with spans (system prompt, inputs, outputs, tool names). The window defaults to 24h, at most 7d. Each trace carries `source: { kind: "ingested" | "pull", id, platform }` and `truncated` (cut to 64 KiB). Top level: `partial` (a source failed or timed out; never a 500), `sampled`, `sampleSize` (20 when more matched, else null) and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`; nextCursor is null. Read-only: nothing is registered or bound. A sandbox session token reads its own workspace; a spawn token is refused. A registered agent keeps the answer above.
|
|
24
24
|
*/
|
|
25
25
|
async queryTraces(request, options) {
|
|
26
26
|
return unwrapAsync(tracesQueryTraces(this, request, options));
|
|
@@ -47,7 +47,7 @@ export class Traces extends ClientSDK {
|
|
|
47
47
|
* List the agent names in the workspace's client traces and trace sources
|
|
48
48
|
*
|
|
49
49
|
* @remarks
|
|
50
|
-
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
50
|
+
* The distinct agent, skill and service names attributed to client traces in the window (default 7d), each with its trace count and last-seen time, newest first and paged. The first page (no cursor) also lists the agent names of the workspace pull sources (Langfuse, OpenObserve, Dash0) that passed their last test, read server-side through a bounded pull of each source’s newest 200 traces in the window (at most 7 days), reused for the window when one exists. Each agent row carries `source: { kind: "ingested" | "pull", id: string | null, platform: "langfuse" | "openobserve" | "dash0" | null }` (ingested rows: `{ kind: "ingested", id: null, platform: null }`); a name seen in two sources is one row per source. Top level: `partial` (a source failed or timed out), `sampled` and `sampleSize` (the per-source trace cap when it was hit, else null), and `sources: [{ id, platform, status: "ok" | "failed" | "timeout" | "skipped", reason?, traces }]`, one entry per pull source considered ("skipped": its last test is not passing, with a reason; "timeout": the pull was still running, ask again in a few seconds). Client traces only: Helix's own telemetry never appears. A sandbox session token lists its own workspace; a spawn token is refused.
|
|
51
51
|
*/
|
|
52
52
|
async listTraceAgents(request, options) {
|
|
53
53
|
return unwrapAsync(tracesListTraceAgents(this, request, options));
|