@remnic/bench 10.0.50 → 10.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -6857,26 +6857,19 @@ declare const H6_FROZEN_EVIDENCE_PATHS: readonly ["decision-rule-timing.json", "
|
|
|
6857
6857
|
declare function isFrozenEvidencePath(fixturePath: string): boolean;
|
|
6858
6858
|
declare const TrapFingerprintV1Schema: z.ZodObject<{
|
|
6859
6859
|
version: z.ZodLiteral<1>;
|
|
6860
|
-
trapId: z.ZodEnum<
|
|
6860
|
+
trapId: z.ZodEnum<{
|
|
6861
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
6862
|
+
"misleading-error-message": "misleading-error-message";
|
|
6863
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
6864
|
+
"hidden-invariant": "hidden-invariant";
|
|
6865
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
6866
|
+
"config-shadowing": "config-shadowing";
|
|
6867
|
+
}>;
|
|
6861
6868
|
symbol: z.ZodString;
|
|
6862
6869
|
file: z.ZodString;
|
|
6863
6870
|
pattern: z.ZodString;
|
|
6864
6871
|
strategyId: z.ZodString;
|
|
6865
|
-
},
|
|
6866
|
-
symbol: string;
|
|
6867
|
-
pattern: string;
|
|
6868
|
-
version: 1;
|
|
6869
|
-
file: string;
|
|
6870
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
6871
|
-
strategyId: string;
|
|
6872
|
-
}, {
|
|
6873
|
-
symbol: string;
|
|
6874
|
-
pattern: string;
|
|
6875
|
-
version: 1;
|
|
6876
|
-
file: string;
|
|
6877
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
6878
|
-
strategyId: string;
|
|
6879
|
-
}>;
|
|
6872
|
+
}, z.core.$strip>;
|
|
6880
6873
|
type TrapFingerprintV1 = z.infer<typeof TrapFingerprintV1Schema>;
|
|
6881
6874
|
declare const ActionIntentV1Schema: z.ZodObject<{
|
|
6882
6875
|
version: z.ZodLiteral<1>;
|
|
@@ -6884,33 +6877,13 @@ declare const ActionIntentV1Schema: z.ZodObject<{
|
|
|
6884
6877
|
targetSymbol: z.ZodString;
|
|
6885
6878
|
filePath: z.ZodString;
|
|
6886
6879
|
contextHash: z.ZodString;
|
|
6887
|
-
},
|
|
6888
|
-
version: 1;
|
|
6889
|
-
actionType: string;
|
|
6890
|
-
targetSymbol: string;
|
|
6891
|
-
filePath: string;
|
|
6892
|
-
contextHash: string;
|
|
6893
|
-
}, {
|
|
6894
|
-
version: 1;
|
|
6895
|
-
actionType: string;
|
|
6896
|
-
targetSymbol: string;
|
|
6897
|
-
filePath: string;
|
|
6898
|
-
contextHash: string;
|
|
6899
|
-
}>;
|
|
6880
|
+
}, z.core.$strip>;
|
|
6900
6881
|
type ActionIntentV1 = z.infer<typeof ActionIntentV1Schema>;
|
|
6901
6882
|
declare const SyntheticFileSchema: z.ZodObject<{
|
|
6902
6883
|
path: z.ZodString;
|
|
6903
6884
|
content: z.ZodString;
|
|
6904
6885
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
6905
|
-
},
|
|
6906
|
-
path: string;
|
|
6907
|
-
content: string;
|
|
6908
|
-
isExecutable?: boolean | undefined;
|
|
6909
|
-
}, {
|
|
6910
|
-
path: string;
|
|
6911
|
-
content: string;
|
|
6912
|
-
isExecutable?: boolean | undefined;
|
|
6913
|
-
}>;
|
|
6886
|
+
}, z.core.$strip>;
|
|
6914
6887
|
type SyntheticFile = z.infer<typeof SyntheticFileSchema>;
|
|
6915
6888
|
declare const StrategyPatchSchema: z.ZodObject<{
|
|
6916
6889
|
id: z.ZodString;
|
|
@@ -6919,32 +6892,8 @@ declare const StrategyPatchSchema: z.ZodObject<{
|
|
|
6919
6892
|
path: z.ZodString;
|
|
6920
6893
|
content: z.ZodString;
|
|
6921
6894
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
6922
|
-
},
|
|
6923
|
-
|
|
6924
|
-
content: string;
|
|
6925
|
-
isExecutable?: boolean | undefined;
|
|
6926
|
-
}, {
|
|
6927
|
-
path: string;
|
|
6928
|
-
content: string;
|
|
6929
|
-
isExecutable?: boolean | undefined;
|
|
6930
|
-
}>, "many">;
|
|
6931
|
-
}, "strip", z.ZodTypeAny, {
|
|
6932
|
-
id: string;
|
|
6933
|
-
files: {
|
|
6934
|
-
path: string;
|
|
6935
|
-
content: string;
|
|
6936
|
-
isExecutable?: boolean | undefined;
|
|
6937
|
-
}[];
|
|
6938
|
-
description: string;
|
|
6939
|
-
}, {
|
|
6940
|
-
id: string;
|
|
6941
|
-
files: {
|
|
6942
|
-
path: string;
|
|
6943
|
-
content: string;
|
|
6944
|
-
isExecutable?: boolean | undefined;
|
|
6945
|
-
}[];
|
|
6946
|
-
description: string;
|
|
6947
|
-
}>;
|
|
6895
|
+
}, z.core.$strip>>;
|
|
6896
|
+
}, z.core.$strip>;
|
|
6948
6897
|
type StrategyPatch = z.infer<typeof StrategyPatchSchema>;
|
|
6949
6898
|
declare const TaskVariantSchema: z.ZodObject<{
|
|
6950
6899
|
variantId: z.ZodString;
|
|
@@ -6956,15 +6905,7 @@ declare const TaskVariantSchema: z.ZodObject<{
|
|
|
6956
6905
|
path: z.ZodString;
|
|
6957
6906
|
content: z.ZodString;
|
|
6958
6907
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
6959
|
-
},
|
|
6960
|
-
path: string;
|
|
6961
|
-
content: string;
|
|
6962
|
-
isExecutable?: boolean | undefined;
|
|
6963
|
-
}, {
|
|
6964
|
-
path: string;
|
|
6965
|
-
content: string;
|
|
6966
|
-
isExecutable?: boolean | undefined;
|
|
6967
|
-
}>, "many">;
|
|
6908
|
+
}, z.core.$strip>>;
|
|
6968
6909
|
strategyCandidates: z.ZodTuple<[z.ZodObject<{
|
|
6969
6910
|
id: z.ZodString;
|
|
6970
6911
|
description: z.ZodString;
|
|
@@ -6972,64 +6913,16 @@ declare const TaskVariantSchema: z.ZodObject<{
|
|
|
6972
6913
|
path: z.ZodString;
|
|
6973
6914
|
content: z.ZodString;
|
|
6974
6915
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
6975
|
-
},
|
|
6976
|
-
|
|
6977
|
-
content: string;
|
|
6978
|
-
isExecutable?: boolean | undefined;
|
|
6979
|
-
}, {
|
|
6980
|
-
path: string;
|
|
6981
|
-
content: string;
|
|
6982
|
-
isExecutable?: boolean | undefined;
|
|
6983
|
-
}>, "many">;
|
|
6984
|
-
}, "strip", z.ZodTypeAny, {
|
|
6985
|
-
id: string;
|
|
6986
|
-
files: {
|
|
6987
|
-
path: string;
|
|
6988
|
-
content: string;
|
|
6989
|
-
isExecutable?: boolean | undefined;
|
|
6990
|
-
}[];
|
|
6991
|
-
description: string;
|
|
6992
|
-
}, {
|
|
6993
|
-
id: string;
|
|
6994
|
-
files: {
|
|
6995
|
-
path: string;
|
|
6996
|
-
content: string;
|
|
6997
|
-
isExecutable?: boolean | undefined;
|
|
6998
|
-
}[];
|
|
6999
|
-
description: string;
|
|
7000
|
-
}>, z.ZodObject<{
|
|
6916
|
+
}, z.core.$strip>>;
|
|
6917
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7001
6918
|
id: z.ZodString;
|
|
7002
6919
|
description: z.ZodString;
|
|
7003
6920
|
files: z.ZodArray<z.ZodObject<{
|
|
7004
6921
|
path: z.ZodString;
|
|
7005
6922
|
content: z.ZodString;
|
|
7006
6923
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7007
|
-
},
|
|
7008
|
-
|
|
7009
|
-
content: string;
|
|
7010
|
-
isExecutable?: boolean | undefined;
|
|
7011
|
-
}, {
|
|
7012
|
-
path: string;
|
|
7013
|
-
content: string;
|
|
7014
|
-
isExecutable?: boolean | undefined;
|
|
7015
|
-
}>, "many">;
|
|
7016
|
-
}, "strip", z.ZodTypeAny, {
|
|
7017
|
-
id: string;
|
|
7018
|
-
files: {
|
|
7019
|
-
path: string;
|
|
7020
|
-
content: string;
|
|
7021
|
-
isExecutable?: boolean | undefined;
|
|
7022
|
-
}[];
|
|
7023
|
-
description: string;
|
|
7024
|
-
}, {
|
|
7025
|
-
id: string;
|
|
7026
|
-
files: {
|
|
7027
|
-
path: string;
|
|
7028
|
-
content: string;
|
|
7029
|
-
isExecutable?: boolean | undefined;
|
|
7030
|
-
}[];
|
|
7031
|
-
description: string;
|
|
7032
|
-
}>], null>;
|
|
6924
|
+
}, z.core.$strip>>;
|
|
6925
|
+
}, z.core.$strip>], null>;
|
|
7033
6926
|
badStrategyPatch: z.ZodObject<{
|
|
7034
6927
|
id: z.ZodString;
|
|
7035
6928
|
description: z.ZodString;
|
|
@@ -7037,32 +6930,8 @@ declare const TaskVariantSchema: z.ZodObject<{
|
|
|
7037
6930
|
path: z.ZodString;
|
|
7038
6931
|
content: z.ZodString;
|
|
7039
6932
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7040
|
-
},
|
|
7041
|
-
|
|
7042
|
-
content: string;
|
|
7043
|
-
isExecutable?: boolean | undefined;
|
|
7044
|
-
}, {
|
|
7045
|
-
path: string;
|
|
7046
|
-
content: string;
|
|
7047
|
-
isExecutable?: boolean | undefined;
|
|
7048
|
-
}>, "many">;
|
|
7049
|
-
}, "strip", z.ZodTypeAny, {
|
|
7050
|
-
id: string;
|
|
7051
|
-
files: {
|
|
7052
|
-
path: string;
|
|
7053
|
-
content: string;
|
|
7054
|
-
isExecutable?: boolean | undefined;
|
|
7055
|
-
}[];
|
|
7056
|
-
description: string;
|
|
7057
|
-
}, {
|
|
7058
|
-
id: string;
|
|
7059
|
-
files: {
|
|
7060
|
-
path: string;
|
|
7061
|
-
content: string;
|
|
7062
|
-
isExecutable?: boolean | undefined;
|
|
7063
|
-
}[];
|
|
7064
|
-
description: string;
|
|
7065
|
-
}>;
|
|
6933
|
+
}, z.core.$strip>>;
|
|
6934
|
+
}, z.core.$strip>;
|
|
7066
6935
|
goodStrategyPatch: z.ZodObject<{
|
|
7067
6936
|
id: z.ZodString;
|
|
7068
6937
|
description: z.ZodString;
|
|
@@ -7070,164 +6939,29 @@ declare const TaskVariantSchema: z.ZodObject<{
|
|
|
7070
6939
|
path: z.ZodString;
|
|
7071
6940
|
content: z.ZodString;
|
|
7072
6941
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7073
|
-
},
|
|
7074
|
-
|
|
7075
|
-
content: string;
|
|
7076
|
-
isExecutable?: boolean | undefined;
|
|
7077
|
-
}, {
|
|
7078
|
-
path: string;
|
|
7079
|
-
content: string;
|
|
7080
|
-
isExecutable?: boolean | undefined;
|
|
7081
|
-
}>, "many">;
|
|
7082
|
-
}, "strip", z.ZodTypeAny, {
|
|
7083
|
-
id: string;
|
|
7084
|
-
files: {
|
|
7085
|
-
path: string;
|
|
7086
|
-
content: string;
|
|
7087
|
-
isExecutable?: boolean | undefined;
|
|
7088
|
-
}[];
|
|
7089
|
-
description: string;
|
|
7090
|
-
}, {
|
|
7091
|
-
id: string;
|
|
7092
|
-
files: {
|
|
7093
|
-
path: string;
|
|
7094
|
-
content: string;
|
|
7095
|
-
isExecutable?: boolean | undefined;
|
|
7096
|
-
}[];
|
|
7097
|
-
description: string;
|
|
7098
|
-
}>;
|
|
6942
|
+
}, z.core.$strip>>;
|
|
6943
|
+
}, z.core.$strip>;
|
|
7099
6944
|
noTrapControlFiles: z.ZodArray<z.ZodObject<{
|
|
7100
6945
|
path: z.ZodString;
|
|
7101
6946
|
content: z.ZodString;
|
|
7102
6947
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7103
|
-
},
|
|
7104
|
-
path: string;
|
|
7105
|
-
content: string;
|
|
7106
|
-
isExecutable?: boolean | undefined;
|
|
7107
|
-
}, {
|
|
7108
|
-
path: string;
|
|
7109
|
-
content: string;
|
|
7110
|
-
isExecutable?: boolean | undefined;
|
|
7111
|
-
}>, "many">;
|
|
6948
|
+
}, z.core.$strip>>;
|
|
7112
6949
|
cleanRevisionSha: z.ZodString;
|
|
7113
6950
|
trapRevisionSha: z.ZodString;
|
|
7114
6951
|
rightRevisionSha: z.ZodString;
|
|
7115
6952
|
noTrapRevisionSha: z.ZodString;
|
|
7116
|
-
},
|
|
7117
|
-
files: {
|
|
7118
|
-
path: string;
|
|
7119
|
-
content: string;
|
|
7120
|
-
isExecutable?: boolean | undefined;
|
|
7121
|
-
}[];
|
|
7122
|
-
domain: string;
|
|
7123
|
-
distance: number;
|
|
7124
|
-
variantId: string;
|
|
7125
|
-
baseTaskId: string;
|
|
7126
|
-
variantIndex: number;
|
|
7127
|
-
strategyCandidates: [{
|
|
7128
|
-
id: string;
|
|
7129
|
-
files: {
|
|
7130
|
-
path: string;
|
|
7131
|
-
content: string;
|
|
7132
|
-
isExecutable?: boolean | undefined;
|
|
7133
|
-
}[];
|
|
7134
|
-
description: string;
|
|
7135
|
-
}, {
|
|
7136
|
-
id: string;
|
|
7137
|
-
files: {
|
|
7138
|
-
path: string;
|
|
7139
|
-
content: string;
|
|
7140
|
-
isExecutable?: boolean | undefined;
|
|
7141
|
-
}[];
|
|
7142
|
-
description: string;
|
|
7143
|
-
}];
|
|
7144
|
-
badStrategyPatch: {
|
|
7145
|
-
id: string;
|
|
7146
|
-
files: {
|
|
7147
|
-
path: string;
|
|
7148
|
-
content: string;
|
|
7149
|
-
isExecutable?: boolean | undefined;
|
|
7150
|
-
}[];
|
|
7151
|
-
description: string;
|
|
7152
|
-
};
|
|
7153
|
-
goodStrategyPatch: {
|
|
7154
|
-
id: string;
|
|
7155
|
-
files: {
|
|
7156
|
-
path: string;
|
|
7157
|
-
content: string;
|
|
7158
|
-
isExecutable?: boolean | undefined;
|
|
7159
|
-
}[];
|
|
7160
|
-
description: string;
|
|
7161
|
-
};
|
|
7162
|
-
noTrapControlFiles: {
|
|
7163
|
-
path: string;
|
|
7164
|
-
content: string;
|
|
7165
|
-
isExecutable?: boolean | undefined;
|
|
7166
|
-
}[];
|
|
7167
|
-
cleanRevisionSha: string;
|
|
7168
|
-
trapRevisionSha: string;
|
|
7169
|
-
rightRevisionSha: string;
|
|
7170
|
-
noTrapRevisionSha: string;
|
|
7171
|
-
}, {
|
|
7172
|
-
files: {
|
|
7173
|
-
path: string;
|
|
7174
|
-
content: string;
|
|
7175
|
-
isExecutable?: boolean | undefined;
|
|
7176
|
-
}[];
|
|
7177
|
-
domain: string;
|
|
7178
|
-
distance: number;
|
|
7179
|
-
variantId: string;
|
|
7180
|
-
baseTaskId: string;
|
|
7181
|
-
variantIndex: number;
|
|
7182
|
-
strategyCandidates: [{
|
|
7183
|
-
id: string;
|
|
7184
|
-
files: {
|
|
7185
|
-
path: string;
|
|
7186
|
-
content: string;
|
|
7187
|
-
isExecutable?: boolean | undefined;
|
|
7188
|
-
}[];
|
|
7189
|
-
description: string;
|
|
7190
|
-
}, {
|
|
7191
|
-
id: string;
|
|
7192
|
-
files: {
|
|
7193
|
-
path: string;
|
|
7194
|
-
content: string;
|
|
7195
|
-
isExecutable?: boolean | undefined;
|
|
7196
|
-
}[];
|
|
7197
|
-
description: string;
|
|
7198
|
-
}];
|
|
7199
|
-
badStrategyPatch: {
|
|
7200
|
-
id: string;
|
|
7201
|
-
files: {
|
|
7202
|
-
path: string;
|
|
7203
|
-
content: string;
|
|
7204
|
-
isExecutable?: boolean | undefined;
|
|
7205
|
-
}[];
|
|
7206
|
-
description: string;
|
|
7207
|
-
};
|
|
7208
|
-
goodStrategyPatch: {
|
|
7209
|
-
id: string;
|
|
7210
|
-
files: {
|
|
7211
|
-
path: string;
|
|
7212
|
-
content: string;
|
|
7213
|
-
isExecutable?: boolean | undefined;
|
|
7214
|
-
}[];
|
|
7215
|
-
description: string;
|
|
7216
|
-
};
|
|
7217
|
-
noTrapControlFiles: {
|
|
7218
|
-
path: string;
|
|
7219
|
-
content: string;
|
|
7220
|
-
isExecutable?: boolean | undefined;
|
|
7221
|
-
}[];
|
|
7222
|
-
cleanRevisionSha: string;
|
|
7223
|
-
trapRevisionSha: string;
|
|
7224
|
-
rightRevisionSha: string;
|
|
7225
|
-
noTrapRevisionSha: string;
|
|
7226
|
-
}>;
|
|
6953
|
+
}, z.core.$strip>;
|
|
7227
6954
|
type TaskVariant = z.infer<typeof TaskVariantSchema>;
|
|
7228
6955
|
declare const BaseTaskSchema: z.ZodObject<{
|
|
7229
6956
|
id: z.ZodString;
|
|
7230
|
-
trapId: z.ZodEnum<
|
|
6957
|
+
trapId: z.ZodEnum<{
|
|
6958
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
6959
|
+
"misleading-error-message": "misleading-error-message";
|
|
6960
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
6961
|
+
"hidden-invariant": "hidden-invariant";
|
|
6962
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
6963
|
+
"config-shadowing": "config-shadowing";
|
|
6964
|
+
}>;
|
|
7231
6965
|
domain: z.ZodString;
|
|
7232
6966
|
title: z.ZodString;
|
|
7233
6967
|
description: z.ZodString;
|
|
@@ -7235,64 +6969,41 @@ declare const BaseTaskSchema: z.ZodObject<{
|
|
|
7235
6969
|
path: z.ZodString;
|
|
7236
6970
|
content: z.ZodString;
|
|
7237
6971
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7238
|
-
},
|
|
7239
|
-
path: string;
|
|
7240
|
-
content: string;
|
|
7241
|
-
isExecutable?: boolean | undefined;
|
|
7242
|
-
}, {
|
|
7243
|
-
path: string;
|
|
7244
|
-
content: string;
|
|
7245
|
-
isExecutable?: boolean | undefined;
|
|
7246
|
-
}>, "many">;
|
|
6972
|
+
}, z.core.$strip>>;
|
|
7247
6973
|
checkCommand: z.ZodString;
|
|
7248
6974
|
fileCount: z.ZodNumber;
|
|
7249
6975
|
lineCount: z.ZodNumber;
|
|
7250
6976
|
fingerprint: z.ZodObject<{
|
|
7251
6977
|
version: z.ZodLiteral<1>;
|
|
7252
|
-
trapId: z.ZodEnum<
|
|
6978
|
+
trapId: z.ZodEnum<{
|
|
6979
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
6980
|
+
"misleading-error-message": "misleading-error-message";
|
|
6981
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
6982
|
+
"hidden-invariant": "hidden-invariant";
|
|
6983
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
6984
|
+
"config-shadowing": "config-shadowing";
|
|
6985
|
+
}>;
|
|
7253
6986
|
symbol: z.ZodString;
|
|
7254
6987
|
file: z.ZodString;
|
|
7255
6988
|
pattern: z.ZodString;
|
|
7256
6989
|
strategyId: z.ZodString;
|
|
7257
|
-
},
|
|
7258
|
-
symbol: string;
|
|
7259
|
-
pattern: string;
|
|
7260
|
-
version: 1;
|
|
7261
|
-
file: string;
|
|
7262
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7263
|
-
strategyId: string;
|
|
7264
|
-
}, {
|
|
7265
|
-
symbol: string;
|
|
7266
|
-
pattern: string;
|
|
7267
|
-
version: 1;
|
|
7268
|
-
file: string;
|
|
7269
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7270
|
-
strategyId: string;
|
|
7271
|
-
}>;
|
|
6990
|
+
}, z.core.$strip>;
|
|
7272
6991
|
normalizedActionIntent: z.ZodObject<{
|
|
7273
6992
|
version: z.ZodLiteral<1>;
|
|
7274
6993
|
actionType: z.ZodString;
|
|
7275
6994
|
targetSymbol: z.ZodString;
|
|
7276
6995
|
filePath: z.ZodString;
|
|
7277
6996
|
contextHash: z.ZodString;
|
|
7278
|
-
},
|
|
7279
|
-
version: 1;
|
|
7280
|
-
actionType: string;
|
|
7281
|
-
targetSymbol: string;
|
|
7282
|
-
filePath: string;
|
|
7283
|
-
contextHash: string;
|
|
7284
|
-
}, {
|
|
7285
|
-
version: 1;
|
|
7286
|
-
actionType: string;
|
|
7287
|
-
targetSymbol: string;
|
|
7288
|
-
filePath: string;
|
|
7289
|
-
contextHash: string;
|
|
7290
|
-
}>;
|
|
6997
|
+
}, z.core.$strip>;
|
|
7291
6998
|
offlineCheckMark: z.ZodString;
|
|
7292
6999
|
offlineFailureMark: z.ZodString;
|
|
7293
7000
|
maxTokenCap: z.ZodNumber;
|
|
7294
7001
|
maxAttemptCap: z.ZodNumber;
|
|
7295
|
-
split: z.ZodEnum<
|
|
7002
|
+
split: z.ZodEnum<{
|
|
7003
|
+
dev: "dev";
|
|
7004
|
+
main: "main";
|
|
7005
|
+
pilot: "pilot";
|
|
7006
|
+
}>;
|
|
7296
7007
|
variants: z.ZodArray<z.ZodObject<{
|
|
7297
7008
|
variantId: z.ZodString;
|
|
7298
7009
|
baseTaskId: z.ZodString;
|
|
@@ -7303,15 +7014,7 @@ declare const BaseTaskSchema: z.ZodObject<{
|
|
|
7303
7014
|
path: z.ZodString;
|
|
7304
7015
|
content: z.ZodString;
|
|
7305
7016
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7306
|
-
},
|
|
7307
|
-
path: string;
|
|
7308
|
-
content: string;
|
|
7309
|
-
isExecutable?: boolean | undefined;
|
|
7310
|
-
}, {
|
|
7311
|
-
path: string;
|
|
7312
|
-
content: string;
|
|
7313
|
-
isExecutable?: boolean | undefined;
|
|
7314
|
-
}>, "many">;
|
|
7017
|
+
}, z.core.$strip>>;
|
|
7315
7018
|
strategyCandidates: z.ZodTuple<[z.ZodObject<{
|
|
7316
7019
|
id: z.ZodString;
|
|
7317
7020
|
description: z.ZodString;
|
|
@@ -7319,64 +7022,16 @@ declare const BaseTaskSchema: z.ZodObject<{
|
|
|
7319
7022
|
path: z.ZodString;
|
|
7320
7023
|
content: z.ZodString;
|
|
7321
7024
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7322
|
-
},
|
|
7323
|
-
|
|
7324
|
-
content: string;
|
|
7325
|
-
isExecutable?: boolean | undefined;
|
|
7326
|
-
}, {
|
|
7327
|
-
path: string;
|
|
7328
|
-
content: string;
|
|
7329
|
-
isExecutable?: boolean | undefined;
|
|
7330
|
-
}>, "many">;
|
|
7331
|
-
}, "strip", z.ZodTypeAny, {
|
|
7332
|
-
id: string;
|
|
7333
|
-
files: {
|
|
7334
|
-
path: string;
|
|
7335
|
-
content: string;
|
|
7336
|
-
isExecutable?: boolean | undefined;
|
|
7337
|
-
}[];
|
|
7338
|
-
description: string;
|
|
7339
|
-
}, {
|
|
7340
|
-
id: string;
|
|
7341
|
-
files: {
|
|
7342
|
-
path: string;
|
|
7343
|
-
content: string;
|
|
7344
|
-
isExecutable?: boolean | undefined;
|
|
7345
|
-
}[];
|
|
7346
|
-
description: string;
|
|
7347
|
-
}>, z.ZodObject<{
|
|
7025
|
+
}, z.core.$strip>>;
|
|
7026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7348
7027
|
id: z.ZodString;
|
|
7349
7028
|
description: z.ZodString;
|
|
7350
7029
|
files: z.ZodArray<z.ZodObject<{
|
|
7351
7030
|
path: z.ZodString;
|
|
7352
7031
|
content: z.ZodString;
|
|
7353
7032
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7354
|
-
},
|
|
7355
|
-
|
|
7356
|
-
content: string;
|
|
7357
|
-
isExecutable?: boolean | undefined;
|
|
7358
|
-
}, {
|
|
7359
|
-
path: string;
|
|
7360
|
-
content: string;
|
|
7361
|
-
isExecutable?: boolean | undefined;
|
|
7362
|
-
}>, "many">;
|
|
7363
|
-
}, "strip", z.ZodTypeAny, {
|
|
7364
|
-
id: string;
|
|
7365
|
-
files: {
|
|
7366
|
-
path: string;
|
|
7367
|
-
content: string;
|
|
7368
|
-
isExecutable?: boolean | undefined;
|
|
7369
|
-
}[];
|
|
7370
|
-
description: string;
|
|
7371
|
-
}, {
|
|
7372
|
-
id: string;
|
|
7373
|
-
files: {
|
|
7374
|
-
path: string;
|
|
7375
|
-
content: string;
|
|
7376
|
-
isExecutable?: boolean | undefined;
|
|
7377
|
-
}[];
|
|
7378
|
-
description: string;
|
|
7379
|
-
}>], null>;
|
|
7033
|
+
}, z.core.$strip>>;
|
|
7034
|
+
}, z.core.$strip>], null>;
|
|
7380
7035
|
badStrategyPatch: z.ZodObject<{
|
|
7381
7036
|
id: z.ZodString;
|
|
7382
7037
|
description: z.ZodString;
|
|
@@ -7384,32 +7039,8 @@ declare const BaseTaskSchema: z.ZodObject<{
|
|
|
7384
7039
|
path: z.ZodString;
|
|
7385
7040
|
content: z.ZodString;
|
|
7386
7041
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7387
|
-
},
|
|
7388
|
-
|
|
7389
|
-
content: string;
|
|
7390
|
-
isExecutable?: boolean | undefined;
|
|
7391
|
-
}, {
|
|
7392
|
-
path: string;
|
|
7393
|
-
content: string;
|
|
7394
|
-
isExecutable?: boolean | undefined;
|
|
7395
|
-
}>, "many">;
|
|
7396
|
-
}, "strip", z.ZodTypeAny, {
|
|
7397
|
-
id: string;
|
|
7398
|
-
files: {
|
|
7399
|
-
path: string;
|
|
7400
|
-
content: string;
|
|
7401
|
-
isExecutable?: boolean | undefined;
|
|
7402
|
-
}[];
|
|
7403
|
-
description: string;
|
|
7404
|
-
}, {
|
|
7405
|
-
id: string;
|
|
7406
|
-
files: {
|
|
7407
|
-
path: string;
|
|
7408
|
-
content: string;
|
|
7409
|
-
isExecutable?: boolean | undefined;
|
|
7410
|
-
}[];
|
|
7411
|
-
description: string;
|
|
7412
|
-
}>;
|
|
7042
|
+
}, z.core.$strip>>;
|
|
7043
|
+
}, z.core.$strip>;
|
|
7413
7044
|
goodStrategyPatch: z.ZodObject<{
|
|
7414
7045
|
id: z.ZodString;
|
|
7415
7046
|
description: z.ZodString;
|
|
@@ -7417,364 +7048,35 @@ declare const BaseTaskSchema: z.ZodObject<{
|
|
|
7417
7048
|
path: z.ZodString;
|
|
7418
7049
|
content: z.ZodString;
|
|
7419
7050
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7420
|
-
},
|
|
7421
|
-
|
|
7422
|
-
content: string;
|
|
7423
|
-
isExecutable?: boolean | undefined;
|
|
7424
|
-
}, {
|
|
7425
|
-
path: string;
|
|
7426
|
-
content: string;
|
|
7427
|
-
isExecutable?: boolean | undefined;
|
|
7428
|
-
}>, "many">;
|
|
7429
|
-
}, "strip", z.ZodTypeAny, {
|
|
7430
|
-
id: string;
|
|
7431
|
-
files: {
|
|
7432
|
-
path: string;
|
|
7433
|
-
content: string;
|
|
7434
|
-
isExecutable?: boolean | undefined;
|
|
7435
|
-
}[];
|
|
7436
|
-
description: string;
|
|
7437
|
-
}, {
|
|
7438
|
-
id: string;
|
|
7439
|
-
files: {
|
|
7440
|
-
path: string;
|
|
7441
|
-
content: string;
|
|
7442
|
-
isExecutable?: boolean | undefined;
|
|
7443
|
-
}[];
|
|
7444
|
-
description: string;
|
|
7445
|
-
}>;
|
|
7051
|
+
}, z.core.$strip>>;
|
|
7052
|
+
}, z.core.$strip>;
|
|
7446
7053
|
noTrapControlFiles: z.ZodArray<z.ZodObject<{
|
|
7447
7054
|
path: z.ZodString;
|
|
7448
7055
|
content: z.ZodString;
|
|
7449
7056
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7450
|
-
},
|
|
7451
|
-
path: string;
|
|
7452
|
-
content: string;
|
|
7453
|
-
isExecutable?: boolean | undefined;
|
|
7454
|
-
}, {
|
|
7455
|
-
path: string;
|
|
7456
|
-
content: string;
|
|
7457
|
-
isExecutable?: boolean | undefined;
|
|
7458
|
-
}>, "many">;
|
|
7057
|
+
}, z.core.$strip>>;
|
|
7459
7058
|
cleanRevisionSha: z.ZodString;
|
|
7460
7059
|
trapRevisionSha: z.ZodString;
|
|
7461
7060
|
rightRevisionSha: z.ZodString;
|
|
7462
7061
|
noTrapRevisionSha: z.ZodString;
|
|
7463
|
-
},
|
|
7464
|
-
|
|
7465
|
-
path: string;
|
|
7466
|
-
content: string;
|
|
7467
|
-
isExecutable?: boolean | undefined;
|
|
7468
|
-
}[];
|
|
7469
|
-
domain: string;
|
|
7470
|
-
distance: number;
|
|
7471
|
-
variantId: string;
|
|
7472
|
-
baseTaskId: string;
|
|
7473
|
-
variantIndex: number;
|
|
7474
|
-
strategyCandidates: [{
|
|
7475
|
-
id: string;
|
|
7476
|
-
files: {
|
|
7477
|
-
path: string;
|
|
7478
|
-
content: string;
|
|
7479
|
-
isExecutable?: boolean | undefined;
|
|
7480
|
-
}[];
|
|
7481
|
-
description: string;
|
|
7482
|
-
}, {
|
|
7483
|
-
id: string;
|
|
7484
|
-
files: {
|
|
7485
|
-
path: string;
|
|
7486
|
-
content: string;
|
|
7487
|
-
isExecutable?: boolean | undefined;
|
|
7488
|
-
}[];
|
|
7489
|
-
description: string;
|
|
7490
|
-
}];
|
|
7491
|
-
badStrategyPatch: {
|
|
7492
|
-
id: string;
|
|
7493
|
-
files: {
|
|
7494
|
-
path: string;
|
|
7495
|
-
content: string;
|
|
7496
|
-
isExecutable?: boolean | undefined;
|
|
7497
|
-
}[];
|
|
7498
|
-
description: string;
|
|
7499
|
-
};
|
|
7500
|
-
goodStrategyPatch: {
|
|
7501
|
-
id: string;
|
|
7502
|
-
files: {
|
|
7503
|
-
path: string;
|
|
7504
|
-
content: string;
|
|
7505
|
-
isExecutable?: boolean | undefined;
|
|
7506
|
-
}[];
|
|
7507
|
-
description: string;
|
|
7508
|
-
};
|
|
7509
|
-
noTrapControlFiles: {
|
|
7510
|
-
path: string;
|
|
7511
|
-
content: string;
|
|
7512
|
-
isExecutable?: boolean | undefined;
|
|
7513
|
-
}[];
|
|
7514
|
-
cleanRevisionSha: string;
|
|
7515
|
-
trapRevisionSha: string;
|
|
7516
|
-
rightRevisionSha: string;
|
|
7517
|
-
noTrapRevisionSha: string;
|
|
7518
|
-
}, {
|
|
7519
|
-
files: {
|
|
7520
|
-
path: string;
|
|
7521
|
-
content: string;
|
|
7522
|
-
isExecutable?: boolean | undefined;
|
|
7523
|
-
}[];
|
|
7524
|
-
domain: string;
|
|
7525
|
-
distance: number;
|
|
7526
|
-
variantId: string;
|
|
7527
|
-
baseTaskId: string;
|
|
7528
|
-
variantIndex: number;
|
|
7529
|
-
strategyCandidates: [{
|
|
7530
|
-
id: string;
|
|
7531
|
-
files: {
|
|
7532
|
-
path: string;
|
|
7533
|
-
content: string;
|
|
7534
|
-
isExecutable?: boolean | undefined;
|
|
7535
|
-
}[];
|
|
7536
|
-
description: string;
|
|
7537
|
-
}, {
|
|
7538
|
-
id: string;
|
|
7539
|
-
files: {
|
|
7540
|
-
path: string;
|
|
7541
|
-
content: string;
|
|
7542
|
-
isExecutable?: boolean | undefined;
|
|
7543
|
-
}[];
|
|
7544
|
-
description: string;
|
|
7545
|
-
}];
|
|
7546
|
-
badStrategyPatch: {
|
|
7547
|
-
id: string;
|
|
7548
|
-
files: {
|
|
7549
|
-
path: string;
|
|
7550
|
-
content: string;
|
|
7551
|
-
isExecutable?: boolean | undefined;
|
|
7552
|
-
}[];
|
|
7553
|
-
description: string;
|
|
7554
|
-
};
|
|
7555
|
-
goodStrategyPatch: {
|
|
7556
|
-
id: string;
|
|
7557
|
-
files: {
|
|
7558
|
-
path: string;
|
|
7559
|
-
content: string;
|
|
7560
|
-
isExecutable?: boolean | undefined;
|
|
7561
|
-
}[];
|
|
7562
|
-
description: string;
|
|
7563
|
-
};
|
|
7564
|
-
noTrapControlFiles: {
|
|
7565
|
-
path: string;
|
|
7566
|
-
content: string;
|
|
7567
|
-
isExecutable?: boolean | undefined;
|
|
7568
|
-
}[];
|
|
7569
|
-
cleanRevisionSha: string;
|
|
7570
|
-
trapRevisionSha: string;
|
|
7571
|
-
rightRevisionSha: string;
|
|
7572
|
-
noTrapRevisionSha: string;
|
|
7573
|
-
}>, "many">;
|
|
7574
|
-
}, "strip", z.ZodTypeAny, {
|
|
7575
|
-
title: string;
|
|
7576
|
-
split: "dev" | "main" | "pilot";
|
|
7577
|
-
id: string;
|
|
7578
|
-
fileCount: number;
|
|
7579
|
-
description: string;
|
|
7580
|
-
domain: string;
|
|
7581
|
-
lineCount: number;
|
|
7582
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7583
|
-
canonicalBaseFiles: {
|
|
7584
|
-
path: string;
|
|
7585
|
-
content: string;
|
|
7586
|
-
isExecutable?: boolean | undefined;
|
|
7587
|
-
}[];
|
|
7588
|
-
checkCommand: string;
|
|
7589
|
-
fingerprint: {
|
|
7590
|
-
symbol: string;
|
|
7591
|
-
pattern: string;
|
|
7592
|
-
version: 1;
|
|
7593
|
-
file: string;
|
|
7594
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7595
|
-
strategyId: string;
|
|
7596
|
-
};
|
|
7597
|
-
normalizedActionIntent: {
|
|
7598
|
-
version: 1;
|
|
7599
|
-
actionType: string;
|
|
7600
|
-
targetSymbol: string;
|
|
7601
|
-
filePath: string;
|
|
7602
|
-
contextHash: string;
|
|
7603
|
-
};
|
|
7604
|
-
offlineCheckMark: string;
|
|
7605
|
-
offlineFailureMark: string;
|
|
7606
|
-
maxTokenCap: number;
|
|
7607
|
-
maxAttemptCap: number;
|
|
7608
|
-
variants: {
|
|
7609
|
-
files: {
|
|
7610
|
-
path: string;
|
|
7611
|
-
content: string;
|
|
7612
|
-
isExecutable?: boolean | undefined;
|
|
7613
|
-
}[];
|
|
7614
|
-
domain: string;
|
|
7615
|
-
distance: number;
|
|
7616
|
-
variantId: string;
|
|
7617
|
-
baseTaskId: string;
|
|
7618
|
-
variantIndex: number;
|
|
7619
|
-
strategyCandidates: [{
|
|
7620
|
-
id: string;
|
|
7621
|
-
files: {
|
|
7622
|
-
path: string;
|
|
7623
|
-
content: string;
|
|
7624
|
-
isExecutable?: boolean | undefined;
|
|
7625
|
-
}[];
|
|
7626
|
-
description: string;
|
|
7627
|
-
}, {
|
|
7628
|
-
id: string;
|
|
7629
|
-
files: {
|
|
7630
|
-
path: string;
|
|
7631
|
-
content: string;
|
|
7632
|
-
isExecutable?: boolean | undefined;
|
|
7633
|
-
}[];
|
|
7634
|
-
description: string;
|
|
7635
|
-
}];
|
|
7636
|
-
badStrategyPatch: {
|
|
7637
|
-
id: string;
|
|
7638
|
-
files: {
|
|
7639
|
-
path: string;
|
|
7640
|
-
content: string;
|
|
7641
|
-
isExecutable?: boolean | undefined;
|
|
7642
|
-
}[];
|
|
7643
|
-
description: string;
|
|
7644
|
-
};
|
|
7645
|
-
goodStrategyPatch: {
|
|
7646
|
-
id: string;
|
|
7647
|
-
files: {
|
|
7648
|
-
path: string;
|
|
7649
|
-
content: string;
|
|
7650
|
-
isExecutable?: boolean | undefined;
|
|
7651
|
-
}[];
|
|
7652
|
-
description: string;
|
|
7653
|
-
};
|
|
7654
|
-
noTrapControlFiles: {
|
|
7655
|
-
path: string;
|
|
7656
|
-
content: string;
|
|
7657
|
-
isExecutable?: boolean | undefined;
|
|
7658
|
-
}[];
|
|
7659
|
-
cleanRevisionSha: string;
|
|
7660
|
-
trapRevisionSha: string;
|
|
7661
|
-
rightRevisionSha: string;
|
|
7662
|
-
noTrapRevisionSha: string;
|
|
7663
|
-
}[];
|
|
7664
|
-
}, {
|
|
7665
|
-
title: string;
|
|
7666
|
-
split: "dev" | "main" | "pilot";
|
|
7667
|
-
id: string;
|
|
7668
|
-
fileCount: number;
|
|
7669
|
-
description: string;
|
|
7670
|
-
domain: string;
|
|
7671
|
-
lineCount: number;
|
|
7672
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7673
|
-
canonicalBaseFiles: {
|
|
7674
|
-
path: string;
|
|
7675
|
-
content: string;
|
|
7676
|
-
isExecutable?: boolean | undefined;
|
|
7677
|
-
}[];
|
|
7678
|
-
checkCommand: string;
|
|
7679
|
-
fingerprint: {
|
|
7680
|
-
symbol: string;
|
|
7681
|
-
pattern: string;
|
|
7682
|
-
version: 1;
|
|
7683
|
-
file: string;
|
|
7684
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7685
|
-
strategyId: string;
|
|
7686
|
-
};
|
|
7687
|
-
normalizedActionIntent: {
|
|
7688
|
-
version: 1;
|
|
7689
|
-
actionType: string;
|
|
7690
|
-
targetSymbol: string;
|
|
7691
|
-
filePath: string;
|
|
7692
|
-
contextHash: string;
|
|
7693
|
-
};
|
|
7694
|
-
offlineCheckMark: string;
|
|
7695
|
-
offlineFailureMark: string;
|
|
7696
|
-
maxTokenCap: number;
|
|
7697
|
-
maxAttemptCap: number;
|
|
7698
|
-
variants: {
|
|
7699
|
-
files: {
|
|
7700
|
-
path: string;
|
|
7701
|
-
content: string;
|
|
7702
|
-
isExecutable?: boolean | undefined;
|
|
7703
|
-
}[];
|
|
7704
|
-
domain: string;
|
|
7705
|
-
distance: number;
|
|
7706
|
-
variantId: string;
|
|
7707
|
-
baseTaskId: string;
|
|
7708
|
-
variantIndex: number;
|
|
7709
|
-
strategyCandidates: [{
|
|
7710
|
-
id: string;
|
|
7711
|
-
files: {
|
|
7712
|
-
path: string;
|
|
7713
|
-
content: string;
|
|
7714
|
-
isExecutable?: boolean | undefined;
|
|
7715
|
-
}[];
|
|
7716
|
-
description: string;
|
|
7717
|
-
}, {
|
|
7718
|
-
id: string;
|
|
7719
|
-
files: {
|
|
7720
|
-
path: string;
|
|
7721
|
-
content: string;
|
|
7722
|
-
isExecutable?: boolean | undefined;
|
|
7723
|
-
}[];
|
|
7724
|
-
description: string;
|
|
7725
|
-
}];
|
|
7726
|
-
badStrategyPatch: {
|
|
7727
|
-
id: string;
|
|
7728
|
-
files: {
|
|
7729
|
-
path: string;
|
|
7730
|
-
content: string;
|
|
7731
|
-
isExecutable?: boolean | undefined;
|
|
7732
|
-
}[];
|
|
7733
|
-
description: string;
|
|
7734
|
-
};
|
|
7735
|
-
goodStrategyPatch: {
|
|
7736
|
-
id: string;
|
|
7737
|
-
files: {
|
|
7738
|
-
path: string;
|
|
7739
|
-
content: string;
|
|
7740
|
-
isExecutable?: boolean | undefined;
|
|
7741
|
-
}[];
|
|
7742
|
-
description: string;
|
|
7743
|
-
};
|
|
7744
|
-
noTrapControlFiles: {
|
|
7745
|
-
path: string;
|
|
7746
|
-
content: string;
|
|
7747
|
-
isExecutable?: boolean | undefined;
|
|
7748
|
-
}[];
|
|
7749
|
-
cleanRevisionSha: string;
|
|
7750
|
-
trapRevisionSha: string;
|
|
7751
|
-
rightRevisionSha: string;
|
|
7752
|
-
noTrapRevisionSha: string;
|
|
7753
|
-
}[];
|
|
7754
|
-
}>;
|
|
7062
|
+
}, z.core.$strip>>;
|
|
7063
|
+
}, z.core.$strip>;
|
|
7755
7064
|
type BaseTask = z.infer<typeof BaseTaskSchema>;
|
|
7756
7065
|
declare const TrapTaxonomyItemSchema: z.ZodObject<{
|
|
7757
|
-
trapId: z.ZodEnum<
|
|
7066
|
+
trapId: z.ZodEnum<{
|
|
7067
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
7068
|
+
"misleading-error-message": "misleading-error-message";
|
|
7069
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
7070
|
+
"hidden-invariant": "hidden-invariant";
|
|
7071
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
7072
|
+
"config-shadowing": "config-shadowing";
|
|
7073
|
+
}>;
|
|
7758
7074
|
name: z.ZodString;
|
|
7759
7075
|
description: z.ZodString;
|
|
7760
7076
|
trapMechanism: z.ZodString;
|
|
7761
7077
|
correctFix: z.ZodString;
|
|
7762
7078
|
inspiredBy: z.ZodString;
|
|
7763
|
-
},
|
|
7764
|
-
name: string;
|
|
7765
|
-
description: string;
|
|
7766
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7767
|
-
trapMechanism: string;
|
|
7768
|
-
correctFix: string;
|
|
7769
|
-
inspiredBy: string;
|
|
7770
|
-
}, {
|
|
7771
|
-
name: string;
|
|
7772
|
-
description: string;
|
|
7773
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7774
|
-
trapMechanism: string;
|
|
7775
|
-
correctFix: string;
|
|
7776
|
-
inspiredBy: string;
|
|
7777
|
-
}>;
|
|
7079
|
+
}, z.core.$strip>;
|
|
7778
7080
|
type TrapTaxonomyItem = z.infer<typeof TrapTaxonomyItemSchema>;
|
|
7779
7081
|
declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
7780
7082
|
version: z.ZodLiteral<1>;
|
|
@@ -7788,46 +7090,32 @@ declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
|
7788
7090
|
"schema/dataset.schema.json": z.ZodString;
|
|
7789
7091
|
"schema/task.schema.json": z.ZodString;
|
|
7790
7092
|
"schema/trap-fingerprint.schema.json": z.ZodString;
|
|
7791
|
-
},
|
|
7792
|
-
"trap-taxonomy.json": string;
|
|
7793
|
-
"arms/arms.json": string;
|
|
7794
|
-
"schema/action-intent.schema.json": string;
|
|
7795
|
-
"schema/dataset.schema.json": string;
|
|
7796
|
-
"schema/task.schema.json": string;
|
|
7797
|
-
"schema/trap-fingerprint.schema.json": string;
|
|
7798
|
-
}, {
|
|
7799
|
-
"trap-taxonomy.json": string;
|
|
7800
|
-
"arms/arms.json": string;
|
|
7801
|
-
"schema/action-intent.schema.json": string;
|
|
7802
|
-
"schema/dataset.schema.json": string;
|
|
7803
|
-
"schema/task.schema.json": string;
|
|
7804
|
-
"schema/trap-fingerprint.schema.json": string;
|
|
7805
|
-
}>;
|
|
7093
|
+
}, z.core.$strip>;
|
|
7806
7094
|
taxonomy: z.ZodArray<z.ZodObject<{
|
|
7807
|
-
trapId: z.ZodEnum<
|
|
7095
|
+
trapId: z.ZodEnum<{
|
|
7096
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
7097
|
+
"misleading-error-message": "misleading-error-message";
|
|
7098
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
7099
|
+
"hidden-invariant": "hidden-invariant";
|
|
7100
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
7101
|
+
"config-shadowing": "config-shadowing";
|
|
7102
|
+
}>;
|
|
7808
7103
|
name: z.ZodString;
|
|
7809
7104
|
description: z.ZodString;
|
|
7810
7105
|
trapMechanism: z.ZodString;
|
|
7811
7106
|
correctFix: z.ZodString;
|
|
7812
7107
|
inspiredBy: z.ZodString;
|
|
7813
|
-
},
|
|
7814
|
-
name: string;
|
|
7815
|
-
description: string;
|
|
7816
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7817
|
-
trapMechanism: string;
|
|
7818
|
-
correctFix: string;
|
|
7819
|
-
inspiredBy: string;
|
|
7820
|
-
}, {
|
|
7821
|
-
name: string;
|
|
7822
|
-
description: string;
|
|
7823
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7824
|
-
trapMechanism: string;
|
|
7825
|
-
correctFix: string;
|
|
7826
|
-
inspiredBy: string;
|
|
7827
|
-
}>, "many">;
|
|
7108
|
+
}, z.core.$strip>>;
|
|
7828
7109
|
tasks: z.ZodArray<z.ZodObject<{
|
|
7829
7110
|
id: z.ZodString;
|
|
7830
|
-
trapId: z.ZodEnum<
|
|
7111
|
+
trapId: z.ZodEnum<{
|
|
7112
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
7113
|
+
"misleading-error-message": "misleading-error-message";
|
|
7114
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
7115
|
+
"hidden-invariant": "hidden-invariant";
|
|
7116
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
7117
|
+
"config-shadowing": "config-shadowing";
|
|
7118
|
+
}>;
|
|
7831
7119
|
domain: z.ZodString;
|
|
7832
7120
|
title: z.ZodString;
|
|
7833
7121
|
description: z.ZodString;
|
|
@@ -7835,64 +7123,41 @@ declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
|
7835
7123
|
path: z.ZodString;
|
|
7836
7124
|
content: z.ZodString;
|
|
7837
7125
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7838
|
-
},
|
|
7839
|
-
path: string;
|
|
7840
|
-
content: string;
|
|
7841
|
-
isExecutable?: boolean | undefined;
|
|
7842
|
-
}, {
|
|
7843
|
-
path: string;
|
|
7844
|
-
content: string;
|
|
7845
|
-
isExecutable?: boolean | undefined;
|
|
7846
|
-
}>, "many">;
|
|
7126
|
+
}, z.core.$strip>>;
|
|
7847
7127
|
checkCommand: z.ZodString;
|
|
7848
7128
|
fileCount: z.ZodNumber;
|
|
7849
7129
|
lineCount: z.ZodNumber;
|
|
7850
7130
|
fingerprint: z.ZodObject<{
|
|
7851
7131
|
version: z.ZodLiteral<1>;
|
|
7852
|
-
trapId: z.ZodEnum<
|
|
7132
|
+
trapId: z.ZodEnum<{
|
|
7133
|
+
"flaky-looking-test": "flaky-looking-test";
|
|
7134
|
+
"misleading-error-message": "misleading-error-message";
|
|
7135
|
+
"wrong-layer-fix": "wrong-layer-fix";
|
|
7136
|
+
"hidden-invariant": "hidden-invariant";
|
|
7137
|
+
"stale-cache-illusion": "stale-cache-illusion";
|
|
7138
|
+
"config-shadowing": "config-shadowing";
|
|
7139
|
+
}>;
|
|
7853
7140
|
symbol: z.ZodString;
|
|
7854
7141
|
file: z.ZodString;
|
|
7855
7142
|
pattern: z.ZodString;
|
|
7856
7143
|
strategyId: z.ZodString;
|
|
7857
|
-
},
|
|
7858
|
-
symbol: string;
|
|
7859
|
-
pattern: string;
|
|
7860
|
-
version: 1;
|
|
7861
|
-
file: string;
|
|
7862
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7863
|
-
strategyId: string;
|
|
7864
|
-
}, {
|
|
7865
|
-
symbol: string;
|
|
7866
|
-
pattern: string;
|
|
7867
|
-
version: 1;
|
|
7868
|
-
file: string;
|
|
7869
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
7870
|
-
strategyId: string;
|
|
7871
|
-
}>;
|
|
7144
|
+
}, z.core.$strip>;
|
|
7872
7145
|
normalizedActionIntent: z.ZodObject<{
|
|
7873
7146
|
version: z.ZodLiteral<1>;
|
|
7874
7147
|
actionType: z.ZodString;
|
|
7875
7148
|
targetSymbol: z.ZodString;
|
|
7876
7149
|
filePath: z.ZodString;
|
|
7877
7150
|
contextHash: z.ZodString;
|
|
7878
|
-
},
|
|
7879
|
-
version: 1;
|
|
7880
|
-
actionType: string;
|
|
7881
|
-
targetSymbol: string;
|
|
7882
|
-
filePath: string;
|
|
7883
|
-
contextHash: string;
|
|
7884
|
-
}, {
|
|
7885
|
-
version: 1;
|
|
7886
|
-
actionType: string;
|
|
7887
|
-
targetSymbol: string;
|
|
7888
|
-
filePath: string;
|
|
7889
|
-
contextHash: string;
|
|
7890
|
-
}>;
|
|
7151
|
+
}, z.core.$strip>;
|
|
7891
7152
|
offlineCheckMark: z.ZodString;
|
|
7892
7153
|
offlineFailureMark: z.ZodString;
|
|
7893
7154
|
maxTokenCap: z.ZodNumber;
|
|
7894
7155
|
maxAttemptCap: z.ZodNumber;
|
|
7895
|
-
split: z.ZodEnum<
|
|
7156
|
+
split: z.ZodEnum<{
|
|
7157
|
+
dev: "dev";
|
|
7158
|
+
main: "main";
|
|
7159
|
+
pilot: "pilot";
|
|
7160
|
+
}>;
|
|
7896
7161
|
variants: z.ZodArray<z.ZodObject<{
|
|
7897
7162
|
variantId: z.ZodString;
|
|
7898
7163
|
baseTaskId: z.ZodString;
|
|
@@ -7903,15 +7168,7 @@ declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
|
7903
7168
|
path: z.ZodString;
|
|
7904
7169
|
content: z.ZodString;
|
|
7905
7170
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7906
|
-
},
|
|
7907
|
-
path: string;
|
|
7908
|
-
content: string;
|
|
7909
|
-
isExecutable?: boolean | undefined;
|
|
7910
|
-
}, {
|
|
7911
|
-
path: string;
|
|
7912
|
-
content: string;
|
|
7913
|
-
isExecutable?: boolean | undefined;
|
|
7914
|
-
}>, "many">;
|
|
7171
|
+
}, z.core.$strip>>;
|
|
7915
7172
|
strategyCandidates: z.ZodTuple<[z.ZodObject<{
|
|
7916
7173
|
id: z.ZodString;
|
|
7917
7174
|
description: z.ZodString;
|
|
@@ -7919,64 +7176,16 @@ declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
|
7919
7176
|
path: z.ZodString;
|
|
7920
7177
|
content: z.ZodString;
|
|
7921
7178
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7922
|
-
},
|
|
7923
|
-
|
|
7924
|
-
content: string;
|
|
7925
|
-
isExecutable?: boolean | undefined;
|
|
7926
|
-
}, {
|
|
7927
|
-
path: string;
|
|
7928
|
-
content: string;
|
|
7929
|
-
isExecutable?: boolean | undefined;
|
|
7930
|
-
}>, "many">;
|
|
7931
|
-
}, "strip", z.ZodTypeAny, {
|
|
7932
|
-
id: string;
|
|
7933
|
-
files: {
|
|
7934
|
-
path: string;
|
|
7935
|
-
content: string;
|
|
7936
|
-
isExecutable?: boolean | undefined;
|
|
7937
|
-
}[];
|
|
7938
|
-
description: string;
|
|
7939
|
-
}, {
|
|
7940
|
-
id: string;
|
|
7941
|
-
files: {
|
|
7942
|
-
path: string;
|
|
7943
|
-
content: string;
|
|
7944
|
-
isExecutable?: boolean | undefined;
|
|
7945
|
-
}[];
|
|
7946
|
-
description: string;
|
|
7947
|
-
}>, z.ZodObject<{
|
|
7179
|
+
}, z.core.$strip>>;
|
|
7180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7948
7181
|
id: z.ZodString;
|
|
7949
7182
|
description: z.ZodString;
|
|
7950
7183
|
files: z.ZodArray<z.ZodObject<{
|
|
7951
7184
|
path: z.ZodString;
|
|
7952
7185
|
content: z.ZodString;
|
|
7953
7186
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7954
|
-
},
|
|
7955
|
-
|
|
7956
|
-
content: string;
|
|
7957
|
-
isExecutable?: boolean | undefined;
|
|
7958
|
-
}, {
|
|
7959
|
-
path: string;
|
|
7960
|
-
content: string;
|
|
7961
|
-
isExecutable?: boolean | undefined;
|
|
7962
|
-
}>, "many">;
|
|
7963
|
-
}, "strip", z.ZodTypeAny, {
|
|
7964
|
-
id: string;
|
|
7965
|
-
files: {
|
|
7966
|
-
path: string;
|
|
7967
|
-
content: string;
|
|
7968
|
-
isExecutable?: boolean | undefined;
|
|
7969
|
-
}[];
|
|
7970
|
-
description: string;
|
|
7971
|
-
}, {
|
|
7972
|
-
id: string;
|
|
7973
|
-
files: {
|
|
7974
|
-
path: string;
|
|
7975
|
-
content: string;
|
|
7976
|
-
isExecutable?: boolean | undefined;
|
|
7977
|
-
}[];
|
|
7978
|
-
description: string;
|
|
7979
|
-
}>], null>;
|
|
7187
|
+
}, z.core.$strip>>;
|
|
7188
|
+
}, z.core.$strip>], null>;
|
|
7980
7189
|
badStrategyPatch: z.ZodObject<{
|
|
7981
7190
|
id: z.ZodString;
|
|
7982
7191
|
description: z.ZodString;
|
|
@@ -7984,32 +7193,8 @@ declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
|
7984
7193
|
path: z.ZodString;
|
|
7985
7194
|
content: z.ZodString;
|
|
7986
7195
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
7987
|
-
},
|
|
7988
|
-
|
|
7989
|
-
content: string;
|
|
7990
|
-
isExecutable?: boolean | undefined;
|
|
7991
|
-
}, {
|
|
7992
|
-
path: string;
|
|
7993
|
-
content: string;
|
|
7994
|
-
isExecutable?: boolean | undefined;
|
|
7995
|
-
}>, "many">;
|
|
7996
|
-
}, "strip", z.ZodTypeAny, {
|
|
7997
|
-
id: string;
|
|
7998
|
-
files: {
|
|
7999
|
-
path: string;
|
|
8000
|
-
content: string;
|
|
8001
|
-
isExecutable?: boolean | undefined;
|
|
8002
|
-
}[];
|
|
8003
|
-
description: string;
|
|
8004
|
-
}, {
|
|
8005
|
-
id: string;
|
|
8006
|
-
files: {
|
|
8007
|
-
path: string;
|
|
8008
|
-
content: string;
|
|
8009
|
-
isExecutable?: boolean | undefined;
|
|
8010
|
-
}[];
|
|
8011
|
-
description: string;
|
|
8012
|
-
}>;
|
|
7196
|
+
}, z.core.$strip>>;
|
|
7197
|
+
}, z.core.$strip>;
|
|
8013
7198
|
goodStrategyPatch: z.ZodObject<{
|
|
8014
7199
|
id: z.ZodString;
|
|
8015
7200
|
description: z.ZodString;
|
|
@@ -8017,589 +7202,25 @@ declare const H6BenchmarkDatasetSchema: z.ZodObject<{
|
|
|
8017
7202
|
path: z.ZodString;
|
|
8018
7203
|
content: z.ZodString;
|
|
8019
7204
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
8020
|
-
},
|
|
8021
|
-
|
|
8022
|
-
content: string;
|
|
8023
|
-
isExecutable?: boolean | undefined;
|
|
8024
|
-
}, {
|
|
8025
|
-
path: string;
|
|
8026
|
-
content: string;
|
|
8027
|
-
isExecutable?: boolean | undefined;
|
|
8028
|
-
}>, "many">;
|
|
8029
|
-
}, "strip", z.ZodTypeAny, {
|
|
8030
|
-
id: string;
|
|
8031
|
-
files: {
|
|
8032
|
-
path: string;
|
|
8033
|
-
content: string;
|
|
8034
|
-
isExecutable?: boolean | undefined;
|
|
8035
|
-
}[];
|
|
8036
|
-
description: string;
|
|
8037
|
-
}, {
|
|
8038
|
-
id: string;
|
|
8039
|
-
files: {
|
|
8040
|
-
path: string;
|
|
8041
|
-
content: string;
|
|
8042
|
-
isExecutable?: boolean | undefined;
|
|
8043
|
-
}[];
|
|
8044
|
-
description: string;
|
|
8045
|
-
}>;
|
|
7205
|
+
}, z.core.$strip>>;
|
|
7206
|
+
}, z.core.$strip>;
|
|
8046
7207
|
noTrapControlFiles: z.ZodArray<z.ZodObject<{
|
|
8047
7208
|
path: z.ZodString;
|
|
8048
7209
|
content: z.ZodString;
|
|
8049
7210
|
isExecutable: z.ZodOptional<z.ZodBoolean>;
|
|
8050
|
-
},
|
|
8051
|
-
path: string;
|
|
8052
|
-
content: string;
|
|
8053
|
-
isExecutable?: boolean | undefined;
|
|
8054
|
-
}, {
|
|
8055
|
-
path: string;
|
|
8056
|
-
content: string;
|
|
8057
|
-
isExecutable?: boolean | undefined;
|
|
8058
|
-
}>, "many">;
|
|
7211
|
+
}, z.core.$strip>>;
|
|
8059
7212
|
cleanRevisionSha: z.ZodString;
|
|
8060
7213
|
trapRevisionSha: z.ZodString;
|
|
8061
7214
|
rightRevisionSha: z.ZodString;
|
|
8062
7215
|
noTrapRevisionSha: z.ZodString;
|
|
8063
|
-
},
|
|
8064
|
-
|
|
8065
|
-
path: string;
|
|
8066
|
-
content: string;
|
|
8067
|
-
isExecutable?: boolean | undefined;
|
|
8068
|
-
}[];
|
|
8069
|
-
domain: string;
|
|
8070
|
-
distance: number;
|
|
8071
|
-
variantId: string;
|
|
8072
|
-
baseTaskId: string;
|
|
8073
|
-
variantIndex: number;
|
|
8074
|
-
strategyCandidates: [{
|
|
8075
|
-
id: string;
|
|
8076
|
-
files: {
|
|
8077
|
-
path: string;
|
|
8078
|
-
content: string;
|
|
8079
|
-
isExecutable?: boolean | undefined;
|
|
8080
|
-
}[];
|
|
8081
|
-
description: string;
|
|
8082
|
-
}, {
|
|
8083
|
-
id: string;
|
|
8084
|
-
files: {
|
|
8085
|
-
path: string;
|
|
8086
|
-
content: string;
|
|
8087
|
-
isExecutable?: boolean | undefined;
|
|
8088
|
-
}[];
|
|
8089
|
-
description: string;
|
|
8090
|
-
}];
|
|
8091
|
-
badStrategyPatch: {
|
|
8092
|
-
id: string;
|
|
8093
|
-
files: {
|
|
8094
|
-
path: string;
|
|
8095
|
-
content: string;
|
|
8096
|
-
isExecutable?: boolean | undefined;
|
|
8097
|
-
}[];
|
|
8098
|
-
description: string;
|
|
8099
|
-
};
|
|
8100
|
-
goodStrategyPatch: {
|
|
8101
|
-
id: string;
|
|
8102
|
-
files: {
|
|
8103
|
-
path: string;
|
|
8104
|
-
content: string;
|
|
8105
|
-
isExecutable?: boolean | undefined;
|
|
8106
|
-
}[];
|
|
8107
|
-
description: string;
|
|
8108
|
-
};
|
|
8109
|
-
noTrapControlFiles: {
|
|
8110
|
-
path: string;
|
|
8111
|
-
content: string;
|
|
8112
|
-
isExecutable?: boolean | undefined;
|
|
8113
|
-
}[];
|
|
8114
|
-
cleanRevisionSha: string;
|
|
8115
|
-
trapRevisionSha: string;
|
|
8116
|
-
rightRevisionSha: string;
|
|
8117
|
-
noTrapRevisionSha: string;
|
|
8118
|
-
}, {
|
|
8119
|
-
files: {
|
|
8120
|
-
path: string;
|
|
8121
|
-
content: string;
|
|
8122
|
-
isExecutable?: boolean | undefined;
|
|
8123
|
-
}[];
|
|
8124
|
-
domain: string;
|
|
8125
|
-
distance: number;
|
|
8126
|
-
variantId: string;
|
|
8127
|
-
baseTaskId: string;
|
|
8128
|
-
variantIndex: number;
|
|
8129
|
-
strategyCandidates: [{
|
|
8130
|
-
id: string;
|
|
8131
|
-
files: {
|
|
8132
|
-
path: string;
|
|
8133
|
-
content: string;
|
|
8134
|
-
isExecutable?: boolean | undefined;
|
|
8135
|
-
}[];
|
|
8136
|
-
description: string;
|
|
8137
|
-
}, {
|
|
8138
|
-
id: string;
|
|
8139
|
-
files: {
|
|
8140
|
-
path: string;
|
|
8141
|
-
content: string;
|
|
8142
|
-
isExecutable?: boolean | undefined;
|
|
8143
|
-
}[];
|
|
8144
|
-
description: string;
|
|
8145
|
-
}];
|
|
8146
|
-
badStrategyPatch: {
|
|
8147
|
-
id: string;
|
|
8148
|
-
files: {
|
|
8149
|
-
path: string;
|
|
8150
|
-
content: string;
|
|
8151
|
-
isExecutable?: boolean | undefined;
|
|
8152
|
-
}[];
|
|
8153
|
-
description: string;
|
|
8154
|
-
};
|
|
8155
|
-
goodStrategyPatch: {
|
|
8156
|
-
id: string;
|
|
8157
|
-
files: {
|
|
8158
|
-
path: string;
|
|
8159
|
-
content: string;
|
|
8160
|
-
isExecutable?: boolean | undefined;
|
|
8161
|
-
}[];
|
|
8162
|
-
description: string;
|
|
8163
|
-
};
|
|
8164
|
-
noTrapControlFiles: {
|
|
8165
|
-
path: string;
|
|
8166
|
-
content: string;
|
|
8167
|
-
isExecutable?: boolean | undefined;
|
|
8168
|
-
}[];
|
|
8169
|
-
cleanRevisionSha: string;
|
|
8170
|
-
trapRevisionSha: string;
|
|
8171
|
-
rightRevisionSha: string;
|
|
8172
|
-
noTrapRevisionSha: string;
|
|
8173
|
-
}>, "many">;
|
|
8174
|
-
}, "strip", z.ZodTypeAny, {
|
|
8175
|
-
title: string;
|
|
8176
|
-
split: "dev" | "main" | "pilot";
|
|
8177
|
-
id: string;
|
|
8178
|
-
fileCount: number;
|
|
8179
|
-
description: string;
|
|
8180
|
-
domain: string;
|
|
8181
|
-
lineCount: number;
|
|
8182
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8183
|
-
canonicalBaseFiles: {
|
|
8184
|
-
path: string;
|
|
8185
|
-
content: string;
|
|
8186
|
-
isExecutable?: boolean | undefined;
|
|
8187
|
-
}[];
|
|
8188
|
-
checkCommand: string;
|
|
8189
|
-
fingerprint: {
|
|
8190
|
-
symbol: string;
|
|
8191
|
-
pattern: string;
|
|
8192
|
-
version: 1;
|
|
8193
|
-
file: string;
|
|
8194
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8195
|
-
strategyId: string;
|
|
8196
|
-
};
|
|
8197
|
-
normalizedActionIntent: {
|
|
8198
|
-
version: 1;
|
|
8199
|
-
actionType: string;
|
|
8200
|
-
targetSymbol: string;
|
|
8201
|
-
filePath: string;
|
|
8202
|
-
contextHash: string;
|
|
8203
|
-
};
|
|
8204
|
-
offlineCheckMark: string;
|
|
8205
|
-
offlineFailureMark: string;
|
|
8206
|
-
maxTokenCap: number;
|
|
8207
|
-
maxAttemptCap: number;
|
|
8208
|
-
variants: {
|
|
8209
|
-
files: {
|
|
8210
|
-
path: string;
|
|
8211
|
-
content: string;
|
|
8212
|
-
isExecutable?: boolean | undefined;
|
|
8213
|
-
}[];
|
|
8214
|
-
domain: string;
|
|
8215
|
-
distance: number;
|
|
8216
|
-
variantId: string;
|
|
8217
|
-
baseTaskId: string;
|
|
8218
|
-
variantIndex: number;
|
|
8219
|
-
strategyCandidates: [{
|
|
8220
|
-
id: string;
|
|
8221
|
-
files: {
|
|
8222
|
-
path: string;
|
|
8223
|
-
content: string;
|
|
8224
|
-
isExecutable?: boolean | undefined;
|
|
8225
|
-
}[];
|
|
8226
|
-
description: string;
|
|
8227
|
-
}, {
|
|
8228
|
-
id: string;
|
|
8229
|
-
files: {
|
|
8230
|
-
path: string;
|
|
8231
|
-
content: string;
|
|
8232
|
-
isExecutable?: boolean | undefined;
|
|
8233
|
-
}[];
|
|
8234
|
-
description: string;
|
|
8235
|
-
}];
|
|
8236
|
-
badStrategyPatch: {
|
|
8237
|
-
id: string;
|
|
8238
|
-
files: {
|
|
8239
|
-
path: string;
|
|
8240
|
-
content: string;
|
|
8241
|
-
isExecutable?: boolean | undefined;
|
|
8242
|
-
}[];
|
|
8243
|
-
description: string;
|
|
8244
|
-
};
|
|
8245
|
-
goodStrategyPatch: {
|
|
8246
|
-
id: string;
|
|
8247
|
-
files: {
|
|
8248
|
-
path: string;
|
|
8249
|
-
content: string;
|
|
8250
|
-
isExecutable?: boolean | undefined;
|
|
8251
|
-
}[];
|
|
8252
|
-
description: string;
|
|
8253
|
-
};
|
|
8254
|
-
noTrapControlFiles: {
|
|
8255
|
-
path: string;
|
|
8256
|
-
content: string;
|
|
8257
|
-
isExecutable?: boolean | undefined;
|
|
8258
|
-
}[];
|
|
8259
|
-
cleanRevisionSha: string;
|
|
8260
|
-
trapRevisionSha: string;
|
|
8261
|
-
rightRevisionSha: string;
|
|
8262
|
-
noTrapRevisionSha: string;
|
|
8263
|
-
}[];
|
|
8264
|
-
}, {
|
|
8265
|
-
title: string;
|
|
8266
|
-
split: "dev" | "main" | "pilot";
|
|
8267
|
-
id: string;
|
|
8268
|
-
fileCount: number;
|
|
8269
|
-
description: string;
|
|
8270
|
-
domain: string;
|
|
8271
|
-
lineCount: number;
|
|
8272
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8273
|
-
canonicalBaseFiles: {
|
|
8274
|
-
path: string;
|
|
8275
|
-
content: string;
|
|
8276
|
-
isExecutable?: boolean | undefined;
|
|
8277
|
-
}[];
|
|
8278
|
-
checkCommand: string;
|
|
8279
|
-
fingerprint: {
|
|
8280
|
-
symbol: string;
|
|
8281
|
-
pattern: string;
|
|
8282
|
-
version: 1;
|
|
8283
|
-
file: string;
|
|
8284
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8285
|
-
strategyId: string;
|
|
8286
|
-
};
|
|
8287
|
-
normalizedActionIntent: {
|
|
8288
|
-
version: 1;
|
|
8289
|
-
actionType: string;
|
|
8290
|
-
targetSymbol: string;
|
|
8291
|
-
filePath: string;
|
|
8292
|
-
contextHash: string;
|
|
8293
|
-
};
|
|
8294
|
-
offlineCheckMark: string;
|
|
8295
|
-
offlineFailureMark: string;
|
|
8296
|
-
maxTokenCap: number;
|
|
8297
|
-
maxAttemptCap: number;
|
|
8298
|
-
variants: {
|
|
8299
|
-
files: {
|
|
8300
|
-
path: string;
|
|
8301
|
-
content: string;
|
|
8302
|
-
isExecutable?: boolean | undefined;
|
|
8303
|
-
}[];
|
|
8304
|
-
domain: string;
|
|
8305
|
-
distance: number;
|
|
8306
|
-
variantId: string;
|
|
8307
|
-
baseTaskId: string;
|
|
8308
|
-
variantIndex: number;
|
|
8309
|
-
strategyCandidates: [{
|
|
8310
|
-
id: string;
|
|
8311
|
-
files: {
|
|
8312
|
-
path: string;
|
|
8313
|
-
content: string;
|
|
8314
|
-
isExecutable?: boolean | undefined;
|
|
8315
|
-
}[];
|
|
8316
|
-
description: string;
|
|
8317
|
-
}, {
|
|
8318
|
-
id: string;
|
|
8319
|
-
files: {
|
|
8320
|
-
path: string;
|
|
8321
|
-
content: string;
|
|
8322
|
-
isExecutable?: boolean | undefined;
|
|
8323
|
-
}[];
|
|
8324
|
-
description: string;
|
|
8325
|
-
}];
|
|
8326
|
-
badStrategyPatch: {
|
|
8327
|
-
id: string;
|
|
8328
|
-
files: {
|
|
8329
|
-
path: string;
|
|
8330
|
-
content: string;
|
|
8331
|
-
isExecutable?: boolean | undefined;
|
|
8332
|
-
}[];
|
|
8333
|
-
description: string;
|
|
8334
|
-
};
|
|
8335
|
-
goodStrategyPatch: {
|
|
8336
|
-
id: string;
|
|
8337
|
-
files: {
|
|
8338
|
-
path: string;
|
|
8339
|
-
content: string;
|
|
8340
|
-
isExecutable?: boolean | undefined;
|
|
8341
|
-
}[];
|
|
8342
|
-
description: string;
|
|
8343
|
-
};
|
|
8344
|
-
noTrapControlFiles: {
|
|
8345
|
-
path: string;
|
|
8346
|
-
content: string;
|
|
8347
|
-
isExecutable?: boolean | undefined;
|
|
8348
|
-
}[];
|
|
8349
|
-
cleanRevisionSha: string;
|
|
8350
|
-
trapRevisionSha: string;
|
|
8351
|
-
rightRevisionSha: string;
|
|
8352
|
-
noTrapRevisionSha: string;
|
|
8353
|
-
}[];
|
|
8354
|
-
}>, "many">;
|
|
7216
|
+
}, z.core.$strip>>;
|
|
7217
|
+
}, z.core.$strip>>;
|
|
8355
7218
|
splits: z.ZodObject<{
|
|
8356
|
-
dev: z.ZodArray<z.ZodString
|
|
8357
|
-
pilot: z.ZodArray<z.ZodString
|
|
8358
|
-
main: z.ZodArray<z.ZodString
|
|
8359
|
-
},
|
|
8360
|
-
|
|
8361
|
-
main: string[];
|
|
8362
|
-
pilot: string[];
|
|
8363
|
-
}, {
|
|
8364
|
-
dev: string[];
|
|
8365
|
-
main: string[];
|
|
8366
|
-
pilot: string[];
|
|
8367
|
-
}>;
|
|
8368
|
-
}, "strip", z.ZodTypeAny, {
|
|
8369
|
-
version: 1;
|
|
8370
|
-
seed: number;
|
|
8371
|
-
tasks: {
|
|
8372
|
-
title: string;
|
|
8373
|
-
split: "dev" | "main" | "pilot";
|
|
8374
|
-
id: string;
|
|
8375
|
-
fileCount: number;
|
|
8376
|
-
description: string;
|
|
8377
|
-
domain: string;
|
|
8378
|
-
lineCount: number;
|
|
8379
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8380
|
-
canonicalBaseFiles: {
|
|
8381
|
-
path: string;
|
|
8382
|
-
content: string;
|
|
8383
|
-
isExecutable?: boolean | undefined;
|
|
8384
|
-
}[];
|
|
8385
|
-
checkCommand: string;
|
|
8386
|
-
fingerprint: {
|
|
8387
|
-
symbol: string;
|
|
8388
|
-
pattern: string;
|
|
8389
|
-
version: 1;
|
|
8390
|
-
file: string;
|
|
8391
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8392
|
-
strategyId: string;
|
|
8393
|
-
};
|
|
8394
|
-
normalizedActionIntent: {
|
|
8395
|
-
version: 1;
|
|
8396
|
-
actionType: string;
|
|
8397
|
-
targetSymbol: string;
|
|
8398
|
-
filePath: string;
|
|
8399
|
-
contextHash: string;
|
|
8400
|
-
};
|
|
8401
|
-
offlineCheckMark: string;
|
|
8402
|
-
offlineFailureMark: string;
|
|
8403
|
-
maxTokenCap: number;
|
|
8404
|
-
maxAttemptCap: number;
|
|
8405
|
-
variants: {
|
|
8406
|
-
files: {
|
|
8407
|
-
path: string;
|
|
8408
|
-
content: string;
|
|
8409
|
-
isExecutable?: boolean | undefined;
|
|
8410
|
-
}[];
|
|
8411
|
-
domain: string;
|
|
8412
|
-
distance: number;
|
|
8413
|
-
variantId: string;
|
|
8414
|
-
baseTaskId: string;
|
|
8415
|
-
variantIndex: number;
|
|
8416
|
-
strategyCandidates: [{
|
|
8417
|
-
id: string;
|
|
8418
|
-
files: {
|
|
8419
|
-
path: string;
|
|
8420
|
-
content: string;
|
|
8421
|
-
isExecutable?: boolean | undefined;
|
|
8422
|
-
}[];
|
|
8423
|
-
description: string;
|
|
8424
|
-
}, {
|
|
8425
|
-
id: string;
|
|
8426
|
-
files: {
|
|
8427
|
-
path: string;
|
|
8428
|
-
content: string;
|
|
8429
|
-
isExecutable?: boolean | undefined;
|
|
8430
|
-
}[];
|
|
8431
|
-
description: string;
|
|
8432
|
-
}];
|
|
8433
|
-
badStrategyPatch: {
|
|
8434
|
-
id: string;
|
|
8435
|
-
files: {
|
|
8436
|
-
path: string;
|
|
8437
|
-
content: string;
|
|
8438
|
-
isExecutable?: boolean | undefined;
|
|
8439
|
-
}[];
|
|
8440
|
-
description: string;
|
|
8441
|
-
};
|
|
8442
|
-
goodStrategyPatch: {
|
|
8443
|
-
id: string;
|
|
8444
|
-
files: {
|
|
8445
|
-
path: string;
|
|
8446
|
-
content: string;
|
|
8447
|
-
isExecutable?: boolean | undefined;
|
|
8448
|
-
}[];
|
|
8449
|
-
description: string;
|
|
8450
|
-
};
|
|
8451
|
-
noTrapControlFiles: {
|
|
8452
|
-
path: string;
|
|
8453
|
-
content: string;
|
|
8454
|
-
isExecutable?: boolean | undefined;
|
|
8455
|
-
}[];
|
|
8456
|
-
cleanRevisionSha: string;
|
|
8457
|
-
trapRevisionSha: string;
|
|
8458
|
-
rightRevisionSha: string;
|
|
8459
|
-
noTrapRevisionSha: string;
|
|
8460
|
-
}[];
|
|
8461
|
-
}[];
|
|
8462
|
-
createdAt: string;
|
|
8463
|
-
inventoryHash: string;
|
|
8464
|
-
supportArtifactHashes: {
|
|
8465
|
-
"trap-taxonomy.json": string;
|
|
8466
|
-
"arms/arms.json": string;
|
|
8467
|
-
"schema/action-intent.schema.json": string;
|
|
8468
|
-
"schema/dataset.schema.json": string;
|
|
8469
|
-
"schema/task.schema.json": string;
|
|
8470
|
-
"schema/trap-fingerprint.schema.json": string;
|
|
8471
|
-
};
|
|
8472
|
-
taxonomy: {
|
|
8473
|
-
name: string;
|
|
8474
|
-
description: string;
|
|
8475
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8476
|
-
trapMechanism: string;
|
|
8477
|
-
correctFix: string;
|
|
8478
|
-
inspiredBy: string;
|
|
8479
|
-
}[];
|
|
8480
|
-
splits: {
|
|
8481
|
-
dev: string[];
|
|
8482
|
-
main: string[];
|
|
8483
|
-
pilot: string[];
|
|
8484
|
-
};
|
|
8485
|
-
}, {
|
|
8486
|
-
version: 1;
|
|
8487
|
-
seed: number;
|
|
8488
|
-
tasks: {
|
|
8489
|
-
title: string;
|
|
8490
|
-
split: "dev" | "main" | "pilot";
|
|
8491
|
-
id: string;
|
|
8492
|
-
fileCount: number;
|
|
8493
|
-
description: string;
|
|
8494
|
-
domain: string;
|
|
8495
|
-
lineCount: number;
|
|
8496
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8497
|
-
canonicalBaseFiles: {
|
|
8498
|
-
path: string;
|
|
8499
|
-
content: string;
|
|
8500
|
-
isExecutable?: boolean | undefined;
|
|
8501
|
-
}[];
|
|
8502
|
-
checkCommand: string;
|
|
8503
|
-
fingerprint: {
|
|
8504
|
-
symbol: string;
|
|
8505
|
-
pattern: string;
|
|
8506
|
-
version: 1;
|
|
8507
|
-
file: string;
|
|
8508
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8509
|
-
strategyId: string;
|
|
8510
|
-
};
|
|
8511
|
-
normalizedActionIntent: {
|
|
8512
|
-
version: 1;
|
|
8513
|
-
actionType: string;
|
|
8514
|
-
targetSymbol: string;
|
|
8515
|
-
filePath: string;
|
|
8516
|
-
contextHash: string;
|
|
8517
|
-
};
|
|
8518
|
-
offlineCheckMark: string;
|
|
8519
|
-
offlineFailureMark: string;
|
|
8520
|
-
maxTokenCap: number;
|
|
8521
|
-
maxAttemptCap: number;
|
|
8522
|
-
variants: {
|
|
8523
|
-
files: {
|
|
8524
|
-
path: string;
|
|
8525
|
-
content: string;
|
|
8526
|
-
isExecutable?: boolean | undefined;
|
|
8527
|
-
}[];
|
|
8528
|
-
domain: string;
|
|
8529
|
-
distance: number;
|
|
8530
|
-
variantId: string;
|
|
8531
|
-
baseTaskId: string;
|
|
8532
|
-
variantIndex: number;
|
|
8533
|
-
strategyCandidates: [{
|
|
8534
|
-
id: string;
|
|
8535
|
-
files: {
|
|
8536
|
-
path: string;
|
|
8537
|
-
content: string;
|
|
8538
|
-
isExecutable?: boolean | undefined;
|
|
8539
|
-
}[];
|
|
8540
|
-
description: string;
|
|
8541
|
-
}, {
|
|
8542
|
-
id: string;
|
|
8543
|
-
files: {
|
|
8544
|
-
path: string;
|
|
8545
|
-
content: string;
|
|
8546
|
-
isExecutable?: boolean | undefined;
|
|
8547
|
-
}[];
|
|
8548
|
-
description: string;
|
|
8549
|
-
}];
|
|
8550
|
-
badStrategyPatch: {
|
|
8551
|
-
id: string;
|
|
8552
|
-
files: {
|
|
8553
|
-
path: string;
|
|
8554
|
-
content: string;
|
|
8555
|
-
isExecutable?: boolean | undefined;
|
|
8556
|
-
}[];
|
|
8557
|
-
description: string;
|
|
8558
|
-
};
|
|
8559
|
-
goodStrategyPatch: {
|
|
8560
|
-
id: string;
|
|
8561
|
-
files: {
|
|
8562
|
-
path: string;
|
|
8563
|
-
content: string;
|
|
8564
|
-
isExecutable?: boolean | undefined;
|
|
8565
|
-
}[];
|
|
8566
|
-
description: string;
|
|
8567
|
-
};
|
|
8568
|
-
noTrapControlFiles: {
|
|
8569
|
-
path: string;
|
|
8570
|
-
content: string;
|
|
8571
|
-
isExecutable?: boolean | undefined;
|
|
8572
|
-
}[];
|
|
8573
|
-
cleanRevisionSha: string;
|
|
8574
|
-
trapRevisionSha: string;
|
|
8575
|
-
rightRevisionSha: string;
|
|
8576
|
-
noTrapRevisionSha: string;
|
|
8577
|
-
}[];
|
|
8578
|
-
}[];
|
|
8579
|
-
createdAt: string;
|
|
8580
|
-
inventoryHash: string;
|
|
8581
|
-
supportArtifactHashes: {
|
|
8582
|
-
"trap-taxonomy.json": string;
|
|
8583
|
-
"arms/arms.json": string;
|
|
8584
|
-
"schema/action-intent.schema.json": string;
|
|
8585
|
-
"schema/dataset.schema.json": string;
|
|
8586
|
-
"schema/task.schema.json": string;
|
|
8587
|
-
"schema/trap-fingerprint.schema.json": string;
|
|
8588
|
-
};
|
|
8589
|
-
taxonomy: {
|
|
8590
|
-
name: string;
|
|
8591
|
-
description: string;
|
|
8592
|
-
trapId: "flaky-looking-test" | "misleading-error-message" | "wrong-layer-fix" | "hidden-invariant" | "stale-cache-illusion" | "config-shadowing";
|
|
8593
|
-
trapMechanism: string;
|
|
8594
|
-
correctFix: string;
|
|
8595
|
-
inspiredBy: string;
|
|
8596
|
-
}[];
|
|
8597
|
-
splits: {
|
|
8598
|
-
dev: string[];
|
|
8599
|
-
main: string[];
|
|
8600
|
-
pilot: string[];
|
|
8601
|
-
};
|
|
8602
|
-
}>;
|
|
7219
|
+
dev: z.ZodArray<z.ZodString>;
|
|
7220
|
+
pilot: z.ZodArray<z.ZodString>;
|
|
7221
|
+
main: z.ZodArray<z.ZodString>;
|
|
7222
|
+
}, z.core.$strip>;
|
|
7223
|
+
}, z.core.$strip>;
|
|
8603
7224
|
type H6BenchmarkDataset = z.infer<typeof H6BenchmarkDatasetSchema>;
|
|
8604
7225
|
interface StateEvaluationResult {
|
|
8605
7226
|
state: StateClassification;
|
|
@@ -9539,7 +8160,14 @@ interface RetryFetchOptions {
|
|
|
9539
8160
|
max429WaitMs?: number;
|
|
9540
8161
|
}
|
|
9541
8162
|
|
|
9542
|
-
declare const ResponseStatusSchema: z.ZodEnum<
|
|
8163
|
+
declare const ResponseStatusSchema: z.ZodEnum<{
|
|
8164
|
+
completed: "completed";
|
|
8165
|
+
failed: "failed";
|
|
8166
|
+
cancelled: "cancelled";
|
|
8167
|
+
incomplete: "incomplete";
|
|
8168
|
+
queued: "queued";
|
|
8169
|
+
in_progress: "in_progress";
|
|
8170
|
+
}>;
|
|
9543
8171
|
interface ResponsesApiOutputItem {
|
|
9544
8172
|
type?: string;
|
|
9545
8173
|
id?: string;
|
|
@@ -9744,162 +8372,16 @@ declare const OllamaChatResponseSchema: z.ZodObject<{
|
|
|
9744
8372
|
tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9745
8373
|
function: z.ZodObject<{
|
|
9746
8374
|
name: z.ZodString;
|
|
9747
|
-
arguments: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
9748
|
-
},
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
}, {
|
|
9752
|
-
name: string;
|
|
9753
|
-
arguments: string | Record<string, unknown>;
|
|
9754
|
-
}>;
|
|
9755
|
-
}, "strip", z.ZodTypeAny, {
|
|
9756
|
-
function: {
|
|
9757
|
-
name: string;
|
|
9758
|
-
arguments: string | Record<string, unknown>;
|
|
9759
|
-
};
|
|
9760
|
-
}, {
|
|
9761
|
-
function: {
|
|
9762
|
-
name: string;
|
|
9763
|
-
arguments: string | Record<string, unknown>;
|
|
9764
|
-
};
|
|
9765
|
-
}>, "many">>;
|
|
9766
|
-
}, "strip", z.ZodTypeAny, {
|
|
9767
|
-
role?: string | undefined;
|
|
9768
|
-
content?: string | undefined;
|
|
9769
|
-
thinking?: string | undefined;
|
|
9770
|
-
tool_calls?: {
|
|
9771
|
-
function: {
|
|
9772
|
-
name: string;
|
|
9773
|
-
arguments: string | Record<string, unknown>;
|
|
9774
|
-
};
|
|
9775
|
-
}[] | undefined;
|
|
9776
|
-
}, {
|
|
9777
|
-
role?: string | undefined;
|
|
9778
|
-
content?: string | undefined;
|
|
9779
|
-
thinking?: string | undefined;
|
|
9780
|
-
tool_calls?: {
|
|
9781
|
-
function: {
|
|
9782
|
-
name: string;
|
|
9783
|
-
arguments: string | Record<string, unknown>;
|
|
9784
|
-
};
|
|
9785
|
-
}[] | undefined;
|
|
9786
|
-
}>>;
|
|
9787
|
-
done: z.ZodOptional<z.ZodBoolean>;
|
|
9788
|
-
done_reason: z.ZodOptional<z.ZodString>;
|
|
9789
|
-
prompt_eval_count: z.ZodOptional<z.ZodNumber>;
|
|
9790
|
-
eval_count: z.ZodOptional<z.ZodNumber>;
|
|
9791
|
-
error: z.ZodOptional<z.ZodString>;
|
|
9792
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9793
|
-
model: z.ZodOptional<z.ZodString>;
|
|
9794
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
9795
|
-
message: z.ZodOptional<z.ZodObject<{
|
|
9796
|
-
role: z.ZodOptional<z.ZodString>;
|
|
9797
|
-
content: z.ZodOptional<z.ZodString>;
|
|
9798
|
-
thinking: z.ZodOptional<z.ZodString>;
|
|
9799
|
-
tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9800
|
-
function: z.ZodObject<{
|
|
9801
|
-
name: z.ZodString;
|
|
9802
|
-
arguments: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
9803
|
-
}, "strip", z.ZodTypeAny, {
|
|
9804
|
-
name: string;
|
|
9805
|
-
arguments: string | Record<string, unknown>;
|
|
9806
|
-
}, {
|
|
9807
|
-
name: string;
|
|
9808
|
-
arguments: string | Record<string, unknown>;
|
|
9809
|
-
}>;
|
|
9810
|
-
}, "strip", z.ZodTypeAny, {
|
|
9811
|
-
function: {
|
|
9812
|
-
name: string;
|
|
9813
|
-
arguments: string | Record<string, unknown>;
|
|
9814
|
-
};
|
|
9815
|
-
}, {
|
|
9816
|
-
function: {
|
|
9817
|
-
name: string;
|
|
9818
|
-
arguments: string | Record<string, unknown>;
|
|
9819
|
-
};
|
|
9820
|
-
}>, "many">>;
|
|
9821
|
-
}, "strip", z.ZodTypeAny, {
|
|
9822
|
-
role?: string | undefined;
|
|
9823
|
-
content?: string | undefined;
|
|
9824
|
-
thinking?: string | undefined;
|
|
9825
|
-
tool_calls?: {
|
|
9826
|
-
function: {
|
|
9827
|
-
name: string;
|
|
9828
|
-
arguments: string | Record<string, unknown>;
|
|
9829
|
-
};
|
|
9830
|
-
}[] | undefined;
|
|
9831
|
-
}, {
|
|
9832
|
-
role?: string | undefined;
|
|
9833
|
-
content?: string | undefined;
|
|
9834
|
-
thinking?: string | undefined;
|
|
9835
|
-
tool_calls?: {
|
|
9836
|
-
function: {
|
|
9837
|
-
name: string;
|
|
9838
|
-
arguments: string | Record<string, unknown>;
|
|
9839
|
-
};
|
|
9840
|
-
}[] | undefined;
|
|
9841
|
-
}>>;
|
|
9842
|
-
done: z.ZodOptional<z.ZodBoolean>;
|
|
9843
|
-
done_reason: z.ZodOptional<z.ZodString>;
|
|
9844
|
-
prompt_eval_count: z.ZodOptional<z.ZodNumber>;
|
|
9845
|
-
eval_count: z.ZodOptional<z.ZodNumber>;
|
|
9846
|
-
error: z.ZodOptional<z.ZodString>;
|
|
9847
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9848
|
-
model: z.ZodOptional<z.ZodString>;
|
|
9849
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
9850
|
-
message: z.ZodOptional<z.ZodObject<{
|
|
9851
|
-
role: z.ZodOptional<z.ZodString>;
|
|
9852
|
-
content: z.ZodOptional<z.ZodString>;
|
|
9853
|
-
thinking: z.ZodOptional<z.ZodString>;
|
|
9854
|
-
tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9855
|
-
function: z.ZodObject<{
|
|
9856
|
-
name: z.ZodString;
|
|
9857
|
-
arguments: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
9858
|
-
}, "strip", z.ZodTypeAny, {
|
|
9859
|
-
name: string;
|
|
9860
|
-
arguments: string | Record<string, unknown>;
|
|
9861
|
-
}, {
|
|
9862
|
-
name: string;
|
|
9863
|
-
arguments: string | Record<string, unknown>;
|
|
9864
|
-
}>;
|
|
9865
|
-
}, "strip", z.ZodTypeAny, {
|
|
9866
|
-
function: {
|
|
9867
|
-
name: string;
|
|
9868
|
-
arguments: string | Record<string, unknown>;
|
|
9869
|
-
};
|
|
9870
|
-
}, {
|
|
9871
|
-
function: {
|
|
9872
|
-
name: string;
|
|
9873
|
-
arguments: string | Record<string, unknown>;
|
|
9874
|
-
};
|
|
9875
|
-
}>, "many">>;
|
|
9876
|
-
}, "strip", z.ZodTypeAny, {
|
|
9877
|
-
role?: string | undefined;
|
|
9878
|
-
content?: string | undefined;
|
|
9879
|
-
thinking?: string | undefined;
|
|
9880
|
-
tool_calls?: {
|
|
9881
|
-
function: {
|
|
9882
|
-
name: string;
|
|
9883
|
-
arguments: string | Record<string, unknown>;
|
|
9884
|
-
};
|
|
9885
|
-
}[] | undefined;
|
|
9886
|
-
}, {
|
|
9887
|
-
role?: string | undefined;
|
|
9888
|
-
content?: string | undefined;
|
|
9889
|
-
thinking?: string | undefined;
|
|
9890
|
-
tool_calls?: {
|
|
9891
|
-
function: {
|
|
9892
|
-
name: string;
|
|
9893
|
-
arguments: string | Record<string, unknown>;
|
|
9894
|
-
};
|
|
9895
|
-
}[] | undefined;
|
|
9896
|
-
}>>;
|
|
8375
|
+
arguments: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodString]>;
|
|
8376
|
+
}, z.core.$strip>;
|
|
8377
|
+
}, z.core.$strip>>>;
|
|
8378
|
+
}, z.core.$strip>>;
|
|
9897
8379
|
done: z.ZodOptional<z.ZodBoolean>;
|
|
9898
8380
|
done_reason: z.ZodOptional<z.ZodString>;
|
|
9899
8381
|
prompt_eval_count: z.ZodOptional<z.ZodNumber>;
|
|
9900
8382
|
eval_count: z.ZodOptional<z.ZodNumber>;
|
|
9901
8383
|
error: z.ZodOptional<z.ZodString>;
|
|
9902
|
-
}, z.
|
|
8384
|
+
}, z.core.$loose>;
|
|
9903
8385
|
type ParsedOllamaChatResponse = z.infer<typeof OllamaChatResponseSchema>;
|
|
9904
8386
|
interface OllamaChatMessage {
|
|
9905
8387
|
role: "system" | "user" | "assistant" | "tool";
|