@mastra/core 1.18.0-alpha.4 → 1.18.0-alpha.5
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/CHANGELOG.md +23 -0
- package/dist/_types/@internal_core/dist/index.d.ts +502 -29
- package/dist/agent/agent-legacy.d.ts +2 -0
- package/dist/agent/agent-legacy.d.ts.map +1 -1
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-Z5FE6LBA.js → chunk-27EVOYQC.js} +3 -3
- package/dist/{chunk-Z5FE6LBA.js.map → chunk-27EVOYQC.js.map} +1 -1
- package/dist/{chunk-T3TFXXGP.js → chunk-3CTQJRNS.js} +12 -9
- package/dist/chunk-3CTQJRNS.js.map +1 -0
- package/dist/{chunk-UZ426KMJ.cjs → chunk-4BZRWJBH.cjs} +32 -32
- package/dist/{chunk-UZ426KMJ.cjs.map → chunk-4BZRWJBH.cjs.map} +1 -1
- package/dist/{chunk-LQHNR4L7.js → chunk-4FMKWOPC.js} +3 -3
- package/dist/{chunk-LQHNR4L7.js.map → chunk-4FMKWOPC.js.map} +1 -1
- package/dist/{chunk-CEWIMGYP.js → chunk-5LA5TY63.js} +4 -4
- package/dist/{chunk-CEWIMGYP.js.map → chunk-5LA5TY63.js.map} +1 -1
- package/dist/{chunk-E7LJ7F56.cjs → chunk-7456ZWIM.cjs} +5 -5
- package/dist/{chunk-E7LJ7F56.cjs.map → chunk-7456ZWIM.cjs.map} +1 -1
- package/dist/{chunk-6DDSP6ZE.js → chunk-7IKOVR4F.js} +5 -5
- package/dist/{chunk-6DDSP6ZE.js.map → chunk-7IKOVR4F.js.map} +1 -1
- package/dist/{chunk-B5LIMU4I.js → chunk-AYVJ4EXL.js} +3 -3
- package/dist/{chunk-B5LIMU4I.js.map → chunk-AYVJ4EXL.js.map} +1 -1
- package/dist/{chunk-VYVPUH6H.cjs → chunk-BF7IH4JU.cjs} +189 -35
- package/dist/chunk-BF7IH4JU.cjs.map +1 -0
- package/dist/{chunk-A2FSD2KN.cjs → chunk-BL7DAQXE.cjs} +7 -7
- package/dist/{chunk-A2FSD2KN.cjs.map → chunk-BL7DAQXE.cjs.map} +1 -1
- package/dist/{chunk-5M3CKUAS.cjs → chunk-BZUTYPXP.cjs} +185 -185
- package/dist/{chunk-5M3CKUAS.cjs.map → chunk-BZUTYPXP.cjs.map} +1 -1
- package/dist/{chunk-JYVH24UY.js → chunk-DBHNKGT2.js} +5 -5
- package/dist/{chunk-JYVH24UY.js.map → chunk-DBHNKGT2.js.map} +1 -1
- package/dist/{chunk-4LDFFARO.cjs → chunk-H3DHOME4.cjs} +6 -6
- package/dist/{chunk-4LDFFARO.cjs.map → chunk-H3DHOME4.cjs.map} +1 -1
- package/dist/{chunk-QOFOOVPM.js → chunk-IM6BRUQI.js} +9 -9
- package/dist/{chunk-QOFOOVPM.js.map → chunk-IM6BRUQI.js.map} +1 -1
- package/dist/{chunk-ULPWI6DN.cjs → chunk-INENOZKZ.cjs} +9 -9
- package/dist/{chunk-ULPWI6DN.cjs.map → chunk-INENOZKZ.cjs.map} +1 -1
- package/dist/{chunk-SMWXSQXP.cjs → chunk-JVL4ANDA.cjs} +19 -19
- package/dist/{chunk-SMWXSQXP.cjs.map → chunk-JVL4ANDA.cjs.map} +1 -1
- package/dist/{chunk-IKYWIQB2.cjs → chunk-JWE3L5J2.cjs} +20 -20
- package/dist/{chunk-IKYWIQB2.cjs.map → chunk-JWE3L5J2.cjs.map} +1 -1
- package/dist/{chunk-DJ2RXLO3.js → chunk-K7AE4BHR.js} +4 -4
- package/dist/{chunk-DJ2RXLO3.js.map → chunk-K7AE4BHR.js.map} +1 -1
- package/dist/{chunk-2OZQLYLM.cjs → chunk-KCRQQDEF.cjs} +176 -173
- package/dist/chunk-KCRQQDEF.cjs.map +1 -0
- package/dist/{chunk-QE7OKYS3.js → chunk-KRFGPA2H.js} +174 -36
- package/dist/chunk-KRFGPA2H.js.map +1 -0
- package/dist/{chunk-OJQCLQK7.cjs → chunk-LKZQG2ZZ.cjs} +13 -13
- package/dist/{chunk-OJQCLQK7.cjs.map → chunk-LKZQG2ZZ.cjs.map} +1 -1
- package/dist/{chunk-ERAZTMF6.js → chunk-MJF7NZEF.js} +437 -8
- package/dist/chunk-MJF7NZEF.js.map +1 -0
- package/dist/{chunk-RHQHBU6R.js → chunk-PMWMEK4T.js} +3 -3
- package/dist/{chunk-RHQHBU6R.js.map → chunk-PMWMEK4T.js.map} +1 -1
- package/dist/{chunk-CGDV5YUS.cjs → chunk-V2NQOABM.cjs} +455 -26
- package/dist/chunk-V2NQOABM.cjs.map +1 -0
- package/dist/{chunk-F77BL7Z7.js → chunk-W4I7AX2S.js} +4 -4
- package/dist/{chunk-F77BL7Z7.js.map → chunk-W4I7AX2S.js.map} +1 -1
- package/dist/{chunk-HJVPOP5S.js → chunk-W6QY3O3X.js} +4 -4
- package/dist/{chunk-HJVPOP5S.js.map → chunk-W6QY3O3X.js.map} +1 -1
- package/dist/{chunk-WINCOFML.js → chunk-WNI6ACXE.js} +3 -3
- package/dist/{chunk-WINCOFML.js.map → chunk-WNI6ACXE.js.map} +1 -1
- package/dist/{chunk-2RGBP3A3.cjs → chunk-XC6ZFHUA.cjs} +68 -68
- package/dist/{chunk-2RGBP3A3.cjs.map → chunk-XC6ZFHUA.cjs.map} +1 -1
- package/dist/{chunk-RIUDLIP3.cjs → chunk-XNWKYVLQ.cjs} +3 -3
- package/dist/{chunk-RIUDLIP3.cjs.map → chunk-XNWKYVLQ.cjs.map} +1 -1
- package/dist/{chunk-ATKRXBCX.cjs → chunk-XQRTJIC7.cjs} +9 -9
- package/dist/{chunk-ATKRXBCX.cjs.map → chunk-XQRTJIC7.cjs.map} +1 -1
- package/dist/{chunk-4QLIPOI7.cjs → chunk-XRW4AYLH.cjs} +82 -82
- package/dist/{chunk-4QLIPOI7.cjs.map → chunk-XRW4AYLH.cjs.map} +1 -1
- package/dist/{chunk-GIBIKVUG.js → chunk-YIBYKN6M.js} +7 -7
- package/dist/{chunk-GIBIKVUG.js.map → chunk-YIBYKN6M.js.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +560 -496
- package/dist/evals/index.cjs +23 -23
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +7 -7
- package/dist/evals/scoreTraces/index.js +3 -3
- package/dist/harness/index.cjs +7 -7
- package/dist/harness/index.js +5 -5
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-5X6CFNIO.cjs +12 -0
- package/dist/{models-dev-THY3NOPF.cjs.map → models-dev-5X6CFNIO.cjs.map} +1 -1
- package/dist/models-dev-NFYFNV6D.js +3 -0
- package/dist/{models-dev-JGKQCSEN.js.map → models-dev-NFYFNV6D.js.map} +1 -1
- package/dist/netlify-EYSCS3HJ.js +3 -0
- package/dist/{netlify-6TILQFDV.js.map → netlify-EYSCS3HJ.js.map} +1 -1
- package/dist/netlify-MZJ7FN5B.cjs +12 -0
- package/dist/{netlify-NL6O2R7M.cjs.map → netlify-MZJ7FN5B.cjs.map} +1 -1
- package/dist/observability/index.cjs +18 -18
- package/dist/observability/index.js +1 -1
- package/dist/observability/types/tracing.d.ts +2 -0
- package/dist/observability/types/tracing.d.ts.map +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-ODJKK7NU.js +3 -0
- package/dist/{provider-registry-CRD5YYZY.js.map → provider-registry-ODJKK7NU.js.map} +1 -1
- package/dist/provider-registry-YGVNXVGE.cjs +40 -0
- package/dist/{provider-registry-KXOHTVQF.cjs.map → provider-registry-YGVNXVGE.cjs.map} +1 -1
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +56 -56
- package/dist/storage/constants.js +1 -1
- package/dist/storage/domains/observability/base.d.ts +10 -2
- package/dist/storage/domains/observability/base.d.ts.map +1 -1
- package/dist/storage/domains/observability/feedback.d.ts +1 -1
- package/dist/storage/domains/observability/feedback.d.ts.map +1 -1
- package/dist/storage/domains/observability/inmemory.d.ts +13 -2
- package/dist/storage/domains/observability/inmemory.d.ts.map +1 -1
- package/dist/storage/domains/observability/scores.d.ts +1 -1
- package/dist/storage/domains/observability/scores.d.ts.map +1 -1
- package/dist/storage/index.cjs +334 -270
- package/dist/storage/index.js +3 -3
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-2OZQLYLM.cjs.map +0 -1
- package/dist/chunk-CGDV5YUS.cjs.map +0 -1
- package/dist/chunk-ERAZTMF6.js.map +0 -1
- package/dist/chunk-QE7OKYS3.js.map +0 -1
- package/dist/chunk-T3TFXXGP.js.map +0 -1
- package/dist/chunk-VYVPUH6H.cjs.map +0 -1
- package/dist/models-dev-JGKQCSEN.js +0 -3
- package/dist/models-dev-THY3NOPF.cjs +0 -12
- package/dist/netlify-6TILQFDV.js +0 -3
- package/dist/netlify-NL6O2R7M.cjs +0 -12
- package/dist/provider-registry-CRD5YYZY.js +0 -3
- package/dist/provider-registry-KXOHTVQF.cjs +0 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.18.0-alpha.5
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added public score and feedback analytics APIs to observability storage: ([#14861](https://github.com/mastra-ai/mastra/pull/14861))
|
|
8
|
+
`getScoreAggregate` / `getFeedbackAggregate` for counts, sums, averages, minimums, maximums, or latest values;
|
|
9
|
+
`getScoreBreakdown` / `getFeedbackBreakdown` for grouped results by dimension;
|
|
10
|
+
`getScoreTimeSeries` / `getFeedbackTimeSeries` for time-bucketed trends;
|
|
11
|
+
and `getScorePercentiles` / `getFeedbackPercentiles` for percentile series such as p50 and p95.
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
await observability.getScoreTimeSeries({
|
|
15
|
+
scorerId: 'relevance',
|
|
16
|
+
interval: '1h',
|
|
17
|
+
aggregation: 'avg',
|
|
18
|
+
});
|
|
19
|
+
// returns time-bucketed average scores
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Added resolvedVersionId to agent run trace span attributes for tracking which agent version was used during execution. ([#14847](https://github.com/mastra-ai/mastra/pull/14847))
|
|
25
|
+
|
|
3
26
|
## 1.18.0-alpha.4
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
|
@@ -66,6 +66,54 @@ declare const sortDirectionSchema: z.ZodEnum<{
|
|
|
66
66
|
ASC: "ASC";
|
|
67
67
|
DESC: "DESC";
|
|
68
68
|
}>;
|
|
69
|
+
/** Aggregation type schema shared across OLAP-style observability queries. */
|
|
70
|
+
declare const aggregationTypeSchema: z.ZodEnum<{
|
|
71
|
+
sum: "sum";
|
|
72
|
+
avg: "avg";
|
|
73
|
+
min: "min";
|
|
74
|
+
max: "max";
|
|
75
|
+
count: "count";
|
|
76
|
+
last: "last";
|
|
77
|
+
}>;
|
|
78
|
+
type AggregationType = z.infer<typeof aggregationTypeSchema>;
|
|
79
|
+
/** Aggregation interval schema shared across OLAP-style observability queries. */
|
|
80
|
+
declare const aggregationIntervalSchema: z.ZodEnum<{
|
|
81
|
+
"1m": "1m";
|
|
82
|
+
"5m": "5m";
|
|
83
|
+
"15m": "15m";
|
|
84
|
+
"1h": "1h";
|
|
85
|
+
"1d": "1d";
|
|
86
|
+
}>;
|
|
87
|
+
type AggregationInterval = z.infer<typeof aggregationIntervalSchema>;
|
|
88
|
+
/** Compare period for aggregate queries with period-over-period comparison. */
|
|
89
|
+
declare const comparePeriodSchema: z.ZodEnum<{
|
|
90
|
+
previous_period: "previous_period";
|
|
91
|
+
previous_day: "previous_day";
|
|
92
|
+
previous_week: "previous_week";
|
|
93
|
+
}>;
|
|
94
|
+
type ComparePeriod = z.infer<typeof comparePeriodSchema>;
|
|
95
|
+
/** Shared groupBy schema for OLAP-style breakdown and time-series queries. */
|
|
96
|
+
declare const groupBySchema: z.ZodArray<z.ZodString>;
|
|
97
|
+
type GroupBy = z.infer<typeof groupBySchema>;
|
|
98
|
+
/** Shared percentiles schema for percentile queries. */
|
|
99
|
+
declare const percentilesSchema: z.ZodArray<z.ZodNumber>;
|
|
100
|
+
type Percentiles = z.infer<typeof percentilesSchema>;
|
|
101
|
+
/** Shared fields for aggregate OLAP responses across observability signals. */
|
|
102
|
+
declare const aggregateResponseFields: {
|
|
103
|
+
readonly value: z.ZodNullable<z.ZodNumber>;
|
|
104
|
+
readonly previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
105
|
+
readonly changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
106
|
+
};
|
|
107
|
+
/** Shared field for OLAP breakdown dimension values. */
|
|
108
|
+
declare const dimensionsField: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
109
|
+
/** Shared field for non-null OLAP aggregated values. */
|
|
110
|
+
declare const aggregatedValueField: z.ZodNumber;
|
|
111
|
+
/** Shared field for OLAP bucket timestamps. */
|
|
112
|
+
declare const bucketTimestampField: z.ZodDate;
|
|
113
|
+
/** Shared field for percentile identifiers in OLAP responses. */
|
|
114
|
+
declare const percentileField: z.ZodNumber;
|
|
115
|
+
/** Shared field for percentile values within a time bucket. */
|
|
116
|
+
declare const percentileBucketValueField: z.ZodNumber;
|
|
69
117
|
declare const entityTypeField: z.ZodEnum<typeof EntityType>;
|
|
70
118
|
declare const entityIdField: z.ZodString;
|
|
71
119
|
declare const entityNameField: z.ZodString;
|
|
@@ -872,6 +920,229 @@ declare const listScoresResponseSchema: z.ZodObject<{
|
|
|
872
920
|
}, z.core.$strip>;
|
|
873
921
|
/** Response containing paginated scores */
|
|
874
922
|
type ListScoresResponse = z.infer<typeof listScoresResponseSchema>;
|
|
923
|
+
declare const getScoreAggregateArgsSchema: z.ZodObject<{
|
|
924
|
+
scorerId: z.ZodString;
|
|
925
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
926
|
+
aggregation: z.ZodEnum<{
|
|
927
|
+
sum: "sum";
|
|
928
|
+
avg: "avg";
|
|
929
|
+
min: "min";
|
|
930
|
+
max: "max";
|
|
931
|
+
count: "count";
|
|
932
|
+
last: "last";
|
|
933
|
+
}>;
|
|
934
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
935
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
936
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
937
|
+
source: z.ZodOptional<z.ZodString>;
|
|
938
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
939
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
940
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
941
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
942
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
943
|
+
}, z.core.$strip>>;
|
|
944
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
945
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
946
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
947
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
948
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
949
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
950
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
951
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
952
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
953
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
954
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
955
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
956
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
957
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
958
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
959
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
960
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
961
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
962
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
963
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
964
|
+
}, z.core.$strip>>;
|
|
965
|
+
comparePeriod: z.ZodOptional<z.ZodEnum<{
|
|
966
|
+
previous_period: "previous_period";
|
|
967
|
+
previous_day: "previous_day";
|
|
968
|
+
previous_week: "previous_week";
|
|
969
|
+
}>>;
|
|
970
|
+
}, z.core.$strip>;
|
|
971
|
+
type GetScoreAggregateArgs = z.infer<typeof getScoreAggregateArgsSchema>;
|
|
972
|
+
declare const getScoreAggregateResponseSchema: z.ZodObject<{
|
|
973
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
974
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
975
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
976
|
+
}, z.core.$strip>;
|
|
977
|
+
type GetScoreAggregateResponse = z.infer<typeof getScoreAggregateResponseSchema>;
|
|
978
|
+
declare const getScoreBreakdownArgsSchema: z.ZodObject<{
|
|
979
|
+
scorerId: z.ZodString;
|
|
980
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
981
|
+
groupBy: z.ZodArray<z.ZodString>;
|
|
982
|
+
aggregation: z.ZodEnum<{
|
|
983
|
+
sum: "sum";
|
|
984
|
+
avg: "avg";
|
|
985
|
+
min: "min";
|
|
986
|
+
max: "max";
|
|
987
|
+
count: "count";
|
|
988
|
+
last: "last";
|
|
989
|
+
}>;
|
|
990
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
991
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
992
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
993
|
+
source: z.ZodOptional<z.ZodString>;
|
|
994
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
995
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
996
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
997
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
998
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
999
|
+
}, z.core.$strip>>;
|
|
1000
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1003
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1007
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1010
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1012
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1016
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1020
|
+
}, z.core.$strip>>;
|
|
1021
|
+
}, z.core.$strip>;
|
|
1022
|
+
type GetScoreBreakdownArgs = z.infer<typeof getScoreBreakdownArgsSchema>;
|
|
1023
|
+
declare const getScoreBreakdownResponseSchema: z.ZodObject<{
|
|
1024
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
1025
|
+
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1026
|
+
value: z.ZodNumber;
|
|
1027
|
+
}, z.core.$strip>>;
|
|
1028
|
+
}, z.core.$strip>;
|
|
1029
|
+
type GetScoreBreakdownResponse = z.infer<typeof getScoreBreakdownResponseSchema>;
|
|
1030
|
+
declare const getScoreTimeSeriesArgsSchema: z.ZodObject<{
|
|
1031
|
+
scorerId: z.ZodString;
|
|
1032
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
interval: z.ZodEnum<{
|
|
1034
|
+
"1m": "1m";
|
|
1035
|
+
"5m": "5m";
|
|
1036
|
+
"15m": "15m";
|
|
1037
|
+
"1h": "1h";
|
|
1038
|
+
"1d": "1d";
|
|
1039
|
+
}>;
|
|
1040
|
+
aggregation: z.ZodEnum<{
|
|
1041
|
+
sum: "sum";
|
|
1042
|
+
avg: "avg";
|
|
1043
|
+
min: "min";
|
|
1044
|
+
max: "max";
|
|
1045
|
+
count: "count";
|
|
1046
|
+
last: "last";
|
|
1047
|
+
}>;
|
|
1048
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1049
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1050
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1052
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1053
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1054
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1055
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1057
|
+
}, z.core.$strip>>;
|
|
1058
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1061
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1068
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1070
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1077
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1078
|
+
}, z.core.$strip>>;
|
|
1079
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1080
|
+
}, z.core.$strip>;
|
|
1081
|
+
type GetScoreTimeSeriesArgs = z.infer<typeof getScoreTimeSeriesArgsSchema>;
|
|
1082
|
+
declare const getScoreTimeSeriesResponseSchema: z.ZodObject<{
|
|
1083
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1084
|
+
name: z.ZodString;
|
|
1085
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1086
|
+
timestamp: z.ZodDate;
|
|
1087
|
+
value: z.ZodNumber;
|
|
1088
|
+
}, z.core.$strip>>;
|
|
1089
|
+
}, z.core.$strip>>;
|
|
1090
|
+
}, z.core.$strip>;
|
|
1091
|
+
type GetScoreTimeSeriesResponse = z.infer<typeof getScoreTimeSeriesResponseSchema>;
|
|
1092
|
+
declare const getScorePercentilesArgsSchema: z.ZodObject<{
|
|
1093
|
+
scorerId: z.ZodString;
|
|
1094
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
1095
|
+
percentiles: z.ZodArray<z.ZodNumber>;
|
|
1096
|
+
interval: z.ZodEnum<{
|
|
1097
|
+
"1m": "1m";
|
|
1098
|
+
"5m": "5m";
|
|
1099
|
+
"15m": "15m";
|
|
1100
|
+
"1h": "1h";
|
|
1101
|
+
"1d": "1d";
|
|
1102
|
+
}>;
|
|
1103
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1104
|
+
scorerId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1105
|
+
scoreSource: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1108
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1109
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1110
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1111
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1112
|
+
}, z.core.$strip>>;
|
|
1113
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1116
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1123
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1125
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1129
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1133
|
+
}, z.core.$strip>>;
|
|
1134
|
+
}, z.core.$strip>;
|
|
1135
|
+
type GetScorePercentilesArgs = z.infer<typeof getScorePercentilesArgsSchema>;
|
|
1136
|
+
declare const getScorePercentilesResponseSchema: z.ZodObject<{
|
|
1137
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1138
|
+
percentile: z.ZodNumber;
|
|
1139
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1140
|
+
timestamp: z.ZodDate;
|
|
1141
|
+
value: z.ZodNumber;
|
|
1142
|
+
}, z.core.$strip>>;
|
|
1143
|
+
}, z.core.$strip>>;
|
|
1144
|
+
}, z.core.$strip>;
|
|
1145
|
+
type GetScorePercentilesResponse = z.infer<typeof getScorePercentilesResponseSchema>;
|
|
875
1146
|
|
|
876
1147
|
declare const feedbackRecordSchema: z.ZodObject<{
|
|
877
1148
|
sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1231,6 +1502,233 @@ declare const listFeedbackResponseSchema: z.ZodObject<{
|
|
|
1231
1502
|
}, z.core.$strip>;
|
|
1232
1503
|
/** Response containing paginated feedback */
|
|
1233
1504
|
type ListFeedbackResponse = z.infer<typeof listFeedbackResponseSchema>;
|
|
1505
|
+
declare const getFeedbackAggregateArgsSchema: z.ZodObject<{
|
|
1506
|
+
feedbackType: z.ZodString;
|
|
1507
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
aggregation: z.ZodEnum<{
|
|
1509
|
+
sum: "sum";
|
|
1510
|
+
avg: "avg";
|
|
1511
|
+
min: "min";
|
|
1512
|
+
max: "max";
|
|
1513
|
+
count: "count";
|
|
1514
|
+
last: "last";
|
|
1515
|
+
}>;
|
|
1516
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1517
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1518
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1522
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1523
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1524
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1525
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1526
|
+
}, z.core.$strip>>;
|
|
1527
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1530
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1531
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1532
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1533
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1534
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1535
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1537
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1538
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1539
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1540
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1542
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1543
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1544
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1545
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1546
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1547
|
+
}, z.core.$strip>>;
|
|
1548
|
+
comparePeriod: z.ZodOptional<z.ZodEnum<{
|
|
1549
|
+
previous_period: "previous_period";
|
|
1550
|
+
previous_day: "previous_day";
|
|
1551
|
+
previous_week: "previous_week";
|
|
1552
|
+
}>>;
|
|
1553
|
+
}, z.core.$strip>;
|
|
1554
|
+
type GetFeedbackAggregateArgs = z.infer<typeof getFeedbackAggregateArgsSchema>;
|
|
1555
|
+
declare const getFeedbackAggregateResponseSchema: z.ZodObject<{
|
|
1556
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
1557
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1558
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1559
|
+
}, z.core.$strip>;
|
|
1560
|
+
type GetFeedbackAggregateResponse = z.infer<typeof getFeedbackAggregateResponseSchema>;
|
|
1561
|
+
declare const getFeedbackBreakdownArgsSchema: z.ZodObject<{
|
|
1562
|
+
feedbackType: z.ZodString;
|
|
1563
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
groupBy: z.ZodArray<z.ZodString>;
|
|
1565
|
+
aggregation: z.ZodEnum<{
|
|
1566
|
+
sum: "sum";
|
|
1567
|
+
avg: "avg";
|
|
1568
|
+
min: "min";
|
|
1569
|
+
max: "max";
|
|
1570
|
+
count: "count";
|
|
1571
|
+
last: "last";
|
|
1572
|
+
}>;
|
|
1573
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1574
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1575
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1577
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1579
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1580
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1581
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1583
|
+
}, z.core.$strip>>;
|
|
1584
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1587
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1588
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1589
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1594
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1596
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1600
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1601
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1602
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1604
|
+
}, z.core.$strip>>;
|
|
1605
|
+
}, z.core.$strip>;
|
|
1606
|
+
type GetFeedbackBreakdownArgs = z.infer<typeof getFeedbackBreakdownArgsSchema>;
|
|
1607
|
+
declare const getFeedbackBreakdownResponseSchema: z.ZodObject<{
|
|
1608
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
1609
|
+
dimensions: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1610
|
+
value: z.ZodNumber;
|
|
1611
|
+
}, z.core.$strip>>;
|
|
1612
|
+
}, z.core.$strip>;
|
|
1613
|
+
type GetFeedbackBreakdownResponse = z.infer<typeof getFeedbackBreakdownResponseSchema>;
|
|
1614
|
+
declare const getFeedbackTimeSeriesArgsSchema: z.ZodObject<{
|
|
1615
|
+
feedbackType: z.ZodString;
|
|
1616
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
interval: z.ZodEnum<{
|
|
1618
|
+
"1m": "1m";
|
|
1619
|
+
"5m": "5m";
|
|
1620
|
+
"15m": "15m";
|
|
1621
|
+
"1h": "1h";
|
|
1622
|
+
"1d": "1d";
|
|
1623
|
+
}>;
|
|
1624
|
+
aggregation: z.ZodEnum<{
|
|
1625
|
+
sum: "sum";
|
|
1626
|
+
avg: "avg";
|
|
1627
|
+
min: "min";
|
|
1628
|
+
max: "max";
|
|
1629
|
+
count: "count";
|
|
1630
|
+
last: "last";
|
|
1631
|
+
}>;
|
|
1632
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1633
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1634
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1635
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
1637
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1638
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1639
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1640
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1641
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1642
|
+
}, z.core.$strip>>;
|
|
1643
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1646
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1647
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1648
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1651
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1653
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1655
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1657
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1663
|
+
}, z.core.$strip>>;
|
|
1664
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1665
|
+
}, z.core.$strip>;
|
|
1666
|
+
type GetFeedbackTimeSeriesArgs = z.infer<typeof getFeedbackTimeSeriesArgsSchema>;
|
|
1667
|
+
declare const getFeedbackTimeSeriesResponseSchema: z.ZodObject<{
|
|
1668
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1669
|
+
name: z.ZodString;
|
|
1670
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1671
|
+
timestamp: z.ZodDate;
|
|
1672
|
+
value: z.ZodNumber;
|
|
1673
|
+
}, z.core.$strip>>;
|
|
1674
|
+
}, z.core.$strip>>;
|
|
1675
|
+
}, z.core.$strip>;
|
|
1676
|
+
type GetFeedbackTimeSeriesResponse = z.infer<typeof getFeedbackTimeSeriesResponseSchema>;
|
|
1677
|
+
declare const getFeedbackPercentilesArgsSchema: z.ZodObject<{
|
|
1678
|
+
feedbackType: z.ZodString;
|
|
1679
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
percentiles: z.ZodArray<z.ZodNumber>;
|
|
1681
|
+
interval: z.ZodEnum<{
|
|
1682
|
+
"1m": "1m";
|
|
1683
|
+
"5m": "5m";
|
|
1684
|
+
"15m": "15m";
|
|
1685
|
+
"1h": "1h";
|
|
1686
|
+
"1d": "1d";
|
|
1687
|
+
}>;
|
|
1688
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
1689
|
+
feedbackType: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1690
|
+
feedbackSource: z.ZodOptional<z.ZodString>;
|
|
1691
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1692
|
+
feedbackUserId: z.ZodOptional<z.ZodString>;
|
|
1693
|
+
timestamp: z.ZodOptional<z.ZodObject<{
|
|
1694
|
+
start: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1695
|
+
end: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1696
|
+
startExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1697
|
+
endExclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1698
|
+
}, z.core.$strip>>;
|
|
1699
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
1700
|
+
spanId: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
entityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1702
|
+
entityName: z.ZodOptional<z.ZodString>;
|
|
1703
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
organizationId: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
experimentId: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
serviceName: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
parentEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1709
|
+
parentEntityName: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
rootEntityType: z.ZodOptional<z.ZodEnum<typeof EntityType>>;
|
|
1711
|
+
rootEntityName: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1714
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1715
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
executionSource: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1719
|
+
}, z.core.$strip>>;
|
|
1720
|
+
}, z.core.$strip>;
|
|
1721
|
+
type GetFeedbackPercentilesArgs = z.infer<typeof getFeedbackPercentilesArgsSchema>;
|
|
1722
|
+
declare const getFeedbackPercentilesResponseSchema: z.ZodObject<{
|
|
1723
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1724
|
+
percentile: z.ZodNumber;
|
|
1725
|
+
points: z.ZodArray<z.ZodObject<{
|
|
1726
|
+
timestamp: z.ZodDate;
|
|
1727
|
+
value: z.ZodNumber;
|
|
1728
|
+
}, z.core.$strip>>;
|
|
1729
|
+
}, z.core.$strip>>;
|
|
1730
|
+
}, z.core.$strip>;
|
|
1731
|
+
type GetFeedbackPercentilesResponse = z.infer<typeof getFeedbackPercentilesResponseSchema>;
|
|
1234
1732
|
|
|
1235
1733
|
/**
|
|
1236
1734
|
* @deprecated MetricType is no longer stored. All metrics are raw events
|
|
@@ -1377,25 +1875,6 @@ declare const batchCreateMetricsArgsSchema: z.ZodObject<{
|
|
|
1377
1875
|
}, z.core.$strip>;
|
|
1378
1876
|
/** Arguments for batch recording metrics */
|
|
1379
1877
|
type BatchCreateMetricsArgs = z.infer<typeof batchCreateMetricsArgsSchema>;
|
|
1380
|
-
/** Aggregation type schema */
|
|
1381
|
-
declare const aggregationTypeSchema: z.ZodEnum<{
|
|
1382
|
-
sum: "sum";
|
|
1383
|
-
avg: "avg";
|
|
1384
|
-
min: "min";
|
|
1385
|
-
max: "max";
|
|
1386
|
-
count: "count";
|
|
1387
|
-
last: "last";
|
|
1388
|
-
}>;
|
|
1389
|
-
type AggregationType = z.infer<typeof aggregationTypeSchema>;
|
|
1390
|
-
/** Aggregation interval schema */
|
|
1391
|
-
declare const aggregationIntervalSchema: z.ZodEnum<{
|
|
1392
|
-
"1m": "1m";
|
|
1393
|
-
"5m": "5m";
|
|
1394
|
-
"15m": "15m";
|
|
1395
|
-
"1h": "1h";
|
|
1396
|
-
"1d": "1d";
|
|
1397
|
-
}>;
|
|
1398
|
-
type AggregationInterval = z.infer<typeof aggregationIntervalSchema>;
|
|
1399
1878
|
/** Schema for metric aggregation configuration */
|
|
1400
1879
|
declare const metricsAggregationSchema: z.ZodObject<{
|
|
1401
1880
|
type: z.ZodEnum<{
|
|
@@ -1568,12 +2047,6 @@ declare const listMetricsResponseSchema: z.ZodObject<{
|
|
|
1568
2047
|
}, z.core.$strip>;
|
|
1569
2048
|
/** Response containing paginated metrics */
|
|
1570
2049
|
type ListMetricsResponse = z.infer<typeof listMetricsResponseSchema>;
|
|
1571
|
-
/** Compare period for aggregate queries with period-over-period comparison */
|
|
1572
|
-
declare const comparePeriodSchema: z.ZodEnum<{
|
|
1573
|
-
previous_period: "previous_period";
|
|
1574
|
-
previous_day: "previous_day";
|
|
1575
|
-
previous_week: "previous_week";
|
|
1576
|
-
}>;
|
|
1577
2050
|
declare const getMetricAggregateArgsSchema: z.ZodObject<{
|
|
1578
2051
|
name: z.ZodArray<z.ZodString>;
|
|
1579
2052
|
aggregation: z.ZodEnum<{
|
|
@@ -1626,13 +2099,13 @@ declare const getMetricAggregateArgsSchema: z.ZodObject<{
|
|
|
1626
2099
|
}, z.core.$strip>;
|
|
1627
2100
|
type GetMetricAggregateArgs = z.infer<typeof getMetricAggregateArgsSchema>;
|
|
1628
2101
|
declare const getMetricAggregateResponseSchema: z.ZodObject<{
|
|
1629
|
-
value: z.ZodNullable<z.ZodNumber>;
|
|
1630
2102
|
estimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1631
2103
|
costUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
-
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1633
2104
|
previousEstimatedCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1634
|
-
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1635
2105
|
costChangePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2106
|
+
value: z.ZodNullable<z.ZodNumber>;
|
|
2107
|
+
previousValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2108
|
+
changePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1636
2109
|
}, z.core.$strip>;
|
|
1637
2110
|
type GetMetricAggregateResponse = z.infer<typeof getMetricAggregateResponseSchema>;
|
|
1638
2111
|
declare const getMetricBreakdownArgsSchema: z.ZodObject<{
|
|
@@ -1877,4 +2350,4 @@ declare const getTagsResponseSchema: z.ZodObject<{
|
|
|
1877
2350
|
}, z.core.$strip>;
|
|
1878
2351
|
type GetTagsResponse = z.infer<typeof getTagsResponseSchema>;
|
|
1879
2352
|
|
|
1880
|
-
export { type AggregationInterval, type AggregationType, type BatchCreateFeedbackArgs, type BatchCreateLogsArgs, type BatchCreateMetricsArgs, type BatchCreateScoresArgs, type CreateFeedbackArgs, type CreateFeedbackBody, type CreateFeedbackRecord, type CreateFeedbackResponse, type CreateLogRecord, type CreateMetricRecord, type CreateScoreArgs, type CreateScoreBody, type CreateScoreRecord, type CreateScoreResponse, type DateRange, EntityType, type FeedbackFilter, type FeedbackInput, type FeedbackRecord, type GetEntityNamesArgs, type GetEntityNamesResponse, type GetEntityTypesArgs, type GetEntityTypesResponse, type GetEnvironmentsArgs, type GetEnvironmentsResponse, type GetMetricAggregateArgs, type GetMetricAggregateResponse, type GetMetricBreakdownArgs, type GetMetricBreakdownResponse, type GetMetricLabelKeysArgs, type GetMetricLabelKeysResponse, type GetMetricLabelValuesArgs, type GetMetricLabelValuesResponse, type GetMetricNamesArgs, type GetMetricNamesResponse, type GetMetricPercentilesArgs, type GetMetricPercentilesResponse, type GetMetricTimeSeriesArgs, type GetMetricTimeSeriesResponse, type GetServiceNamesArgs, type GetServiceNamesResponse, type GetTagsArgs, type GetTagsResponse, type ListFeedbackArgs, type ListFeedbackResponse, type ListLogsArgs, type ListLogsResponse, type ListMetricsArgs, type ListMetricsResponse, type ListScoresArgs, type ListScoresResponse, type LogRecord, type LogRecordInput, type LogsFilter, type MetricInput, type MetricRecord, type MetricsAggregation, type MetricsFilter, type PaginationArgs, type ScoreInput, type ScoreRecord, type ScoresFilter, aggregationIntervalSchema, aggregationTypeSchema, batchCreateFeedbackArgsSchema, batchCreateLogsArgsSchema, batchCreateMetricsArgsSchema, batchCreateScoresArgsSchema, commonFilterFields, comparePeriodSchema, contextFields, createFeedbackArgsSchema, createFeedbackBodySchema, createFeedbackRecordSchema, createFeedbackResponseSchema, createLogRecordSchema, createMetricRecordSchema, createScoreArgsSchema, createScoreBodySchema, createScoreRecordSchema, createScoreResponseSchema, createdAtField, dateRangeSchema, dbTimestamps, entityIdField, entityNameField, entityTypeField, environmentField, executionSourceField, experimentIdField, feedbackFilterSchema, feedbackInputSchema, feedbackOrderByFieldSchema, feedbackOrderBySchema, feedbackRecordSchema, getEntityNamesArgsSchema, getEntityNamesResponseSchema, getEntityTypesArgsSchema, getEntityTypesResponseSchema, getEnvironmentsArgsSchema, getEnvironmentsResponseSchema, getMetricAggregateArgsSchema, getMetricAggregateResponseSchema, getMetricBreakdownArgsSchema, getMetricBreakdownResponseSchema, getMetricLabelKeysArgsSchema, getMetricLabelKeysResponseSchema, getMetricLabelValuesArgsSchema, getMetricLabelValuesResponseSchema, getMetricNamesArgsSchema, getMetricNamesResponseSchema, getMetricPercentilesArgsSchema, getMetricPercentilesResponseSchema, getMetricTimeSeriesArgsSchema, getMetricTimeSeriesResponseSchema, getServiceNamesArgsSchema, getServiceNamesResponseSchema, getTagsArgsSchema, getTagsResponseSchema, listFeedbackArgsSchema, listFeedbackResponseSchema, listLogsArgsSchema, listLogsResponseSchema, listMetricsArgsSchema, listMetricsResponseSchema, listScoresArgsSchema, listScoresResponseSchema, logLevelSchema, logRecordInputSchema, logRecordSchema, logsFilterSchema, logsOrderByFieldSchema, logsOrderBySchema, metadataField, metricInputSchema, metricRecordSchema, metricTypeSchema, metricsAggregationSchema, metricsFilterSchema, metricsOrderByFieldSchema, metricsOrderBySchema, organizationIdField, paginationArgsSchema, paginationInfoSchema, parentEntityIdField, parentEntityNameField, parentEntityTypeField, requestIdField, resourceIdField, rootEntityIdField, rootEntityNameField, rootEntityTypeField, runIdField, scopeField, scoreInputSchema, scoreRecordSchema, scoresFilterSchema, scoresOrderByFieldSchema, scoresOrderBySchema, serviceNameField, sessionIdField, sortDirectionSchema, sourceField, spanContextFields, spanIdField, tagsField, threadIdField, traceIdField, updatedAtField, userIdField };
|
|
2353
|
+
export { type AggregationInterval, type AggregationType, type BatchCreateFeedbackArgs, type BatchCreateLogsArgs, type BatchCreateMetricsArgs, type BatchCreateScoresArgs, type ComparePeriod, type CreateFeedbackArgs, type CreateFeedbackBody, type CreateFeedbackRecord, type CreateFeedbackResponse, type CreateLogRecord, type CreateMetricRecord, type CreateScoreArgs, type CreateScoreBody, type CreateScoreRecord, type CreateScoreResponse, type DateRange, EntityType, type FeedbackFilter, type FeedbackInput, type FeedbackRecord, type GetEntityNamesArgs, type GetEntityNamesResponse, type GetEntityTypesArgs, type GetEntityTypesResponse, type GetEnvironmentsArgs, type GetEnvironmentsResponse, type GetFeedbackAggregateArgs, type GetFeedbackAggregateResponse, type GetFeedbackBreakdownArgs, type GetFeedbackBreakdownResponse, type GetFeedbackPercentilesArgs, type GetFeedbackPercentilesResponse, type GetFeedbackTimeSeriesArgs, type GetFeedbackTimeSeriesResponse, type GetMetricAggregateArgs, type GetMetricAggregateResponse, type GetMetricBreakdownArgs, type GetMetricBreakdownResponse, type GetMetricLabelKeysArgs, type GetMetricLabelKeysResponse, type GetMetricLabelValuesArgs, type GetMetricLabelValuesResponse, type GetMetricNamesArgs, type GetMetricNamesResponse, type GetMetricPercentilesArgs, type GetMetricPercentilesResponse, type GetMetricTimeSeriesArgs, type GetMetricTimeSeriesResponse, type GetScoreAggregateArgs, type GetScoreAggregateResponse, type GetScoreBreakdownArgs, type GetScoreBreakdownResponse, type GetScorePercentilesArgs, type GetScorePercentilesResponse, type GetScoreTimeSeriesArgs, type GetScoreTimeSeriesResponse, type GetServiceNamesArgs, type GetServiceNamesResponse, type GetTagsArgs, type GetTagsResponse, type GroupBy, type ListFeedbackArgs, type ListFeedbackResponse, type ListLogsArgs, type ListLogsResponse, type ListMetricsArgs, type ListMetricsResponse, type ListScoresArgs, type ListScoresResponse, type LogRecord, type LogRecordInput, type LogsFilter, type MetricInput, type MetricRecord, type MetricsAggregation, type MetricsFilter, type PaginationArgs, type Percentiles, type ScoreInput, type ScoreRecord, type ScoresFilter, aggregateResponseFields, aggregatedValueField, aggregationIntervalSchema, aggregationTypeSchema, batchCreateFeedbackArgsSchema, batchCreateLogsArgsSchema, batchCreateMetricsArgsSchema, batchCreateScoresArgsSchema, bucketTimestampField, commonFilterFields, comparePeriodSchema, contextFields, createFeedbackArgsSchema, createFeedbackBodySchema, createFeedbackRecordSchema, createFeedbackResponseSchema, createLogRecordSchema, createMetricRecordSchema, createScoreArgsSchema, createScoreBodySchema, createScoreRecordSchema, createScoreResponseSchema, createdAtField, dateRangeSchema, dbTimestamps, dimensionsField, entityIdField, entityNameField, entityTypeField, environmentField, executionSourceField, experimentIdField, feedbackFilterSchema, feedbackInputSchema, feedbackOrderByFieldSchema, feedbackOrderBySchema, feedbackRecordSchema, getEntityNamesArgsSchema, getEntityNamesResponseSchema, getEntityTypesArgsSchema, getEntityTypesResponseSchema, getEnvironmentsArgsSchema, getEnvironmentsResponseSchema, getFeedbackAggregateArgsSchema, getFeedbackAggregateResponseSchema, getFeedbackBreakdownArgsSchema, getFeedbackBreakdownResponseSchema, getFeedbackPercentilesArgsSchema, getFeedbackPercentilesResponseSchema, getFeedbackTimeSeriesArgsSchema, getFeedbackTimeSeriesResponseSchema, getMetricAggregateArgsSchema, getMetricAggregateResponseSchema, getMetricBreakdownArgsSchema, getMetricBreakdownResponseSchema, getMetricLabelKeysArgsSchema, getMetricLabelKeysResponseSchema, getMetricLabelValuesArgsSchema, getMetricLabelValuesResponseSchema, getMetricNamesArgsSchema, getMetricNamesResponseSchema, getMetricPercentilesArgsSchema, getMetricPercentilesResponseSchema, getMetricTimeSeriesArgsSchema, getMetricTimeSeriesResponseSchema, getScoreAggregateArgsSchema, getScoreAggregateResponseSchema, getScoreBreakdownArgsSchema, getScoreBreakdownResponseSchema, getScorePercentilesArgsSchema, getScorePercentilesResponseSchema, getScoreTimeSeriesArgsSchema, getScoreTimeSeriesResponseSchema, getServiceNamesArgsSchema, getServiceNamesResponseSchema, getTagsArgsSchema, getTagsResponseSchema, groupBySchema, listFeedbackArgsSchema, listFeedbackResponseSchema, listLogsArgsSchema, listLogsResponseSchema, listMetricsArgsSchema, listMetricsResponseSchema, listScoresArgsSchema, listScoresResponseSchema, logLevelSchema, logRecordInputSchema, logRecordSchema, logsFilterSchema, logsOrderByFieldSchema, logsOrderBySchema, metadataField, metricInputSchema, metricRecordSchema, metricTypeSchema, metricsAggregationSchema, metricsFilterSchema, metricsOrderByFieldSchema, metricsOrderBySchema, organizationIdField, paginationArgsSchema, paginationInfoSchema, parentEntityIdField, parentEntityNameField, parentEntityTypeField, percentileBucketValueField, percentileField, percentilesSchema, requestIdField, resourceIdField, rootEntityIdField, rootEntityNameField, rootEntityTypeField, runIdField, scopeField, scoreInputSchema, scoreRecordSchema, scoresFilterSchema, scoresOrderByFieldSchema, scoresOrderBySchema, serviceNameField, sessionIdField, sortDirectionSchema, sourceField, spanContextFields, spanIdField, tagsField, threadIdField, traceIdField, updatedAtField, userIdField };
|
|
@@ -128,6 +128,8 @@ export interface AgentLegacyCapabilities {
|
|
|
128
128
|
convertInstructionsToString(instructions: AgentInstructions): string;
|
|
129
129
|
/** Options for tracing policy */
|
|
130
130
|
tracingPolicy?: any;
|
|
131
|
+
/** Resolved version ID from stored config */
|
|
132
|
+
resolvedVersionId?: string;
|
|
131
133
|
/** Agent network append flag */
|
|
132
134
|
_agentNetworkAppend?: boolean;
|
|
133
135
|
/** List resolved output processors */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-legacy.d.ts","sourceRoot":"","sources":["../../src/agent/agent-legacy.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAe,SAAS,EAAQ,MAAM,qBAAqB,CAAC;AAExE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EACV,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAMjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,2BAA2B,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,E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