pi-openai-toolkit 0.20.7 → 0.21.0
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/LICENSE +21 -21
- package/NOTICE +83 -83
- package/README.md +8 -26
- package/README.zh.md +8 -26
- package/config.schema.json +278 -366
- package/docs/configuration.md +294 -310
- package/docs/internals.md +166 -175
- package/package.json +3 -13
- package/src/compact-client.ts +412 -389
- package/src/compaction-errors.ts +96 -0
- package/src/compaction-projection.ts +35 -35
- package/src/config/legacy.ts +519 -717
- package/src/config/migration.ts +103 -100
- package/src/config/notifications.ts +36 -28
- package/src/config/policy.ts +10 -18
- package/src/config/v2.ts +1167 -1380
- package/src/config.ts +310 -319
- package/src/context-management/codex-provider.ts +270 -270
- package/src/context-management/history-notes.ts +357 -357
- package/src/context-management/manual-compact.ts +0 -11
- package/src/context-management/tools.ts +371 -371
- package/src/context-management/types.ts +168 -168
- package/src/context-management/window-manager.ts +801 -801
- package/src/debug.ts +238 -237
- package/src/deferred-tool-carryover.ts +282 -282
- package/src/details-store.ts +151 -151
- package/src/extension-runtime.ts +1662 -1623
- package/src/image-generation/extension.ts +189 -189
- package/src/image-generation/protocol.ts +579 -579
- package/src/image-generation/types.ts +300 -300
- package/src/native-fallback.ts +4 -132
- package/src/payload-rewrite.ts +515 -518
- package/src/pi-context-hook.ts +117 -117
- package/src/remote-v2-client.ts +811 -814
- package/src/request-context-cache.ts +155 -155
- package/src/responses-headers.ts +180 -180
- package/src/runtime.ts +865 -832
- package/src/serializer.ts +882 -882
- package/src/supported-environment.ts +27 -27
- package/src/types.ts +565 -648
- package/src/web-search/alpha-client.ts +876 -876
- package/src/web-search/extension.ts +530 -530
- package/src/web-search/payload.ts +299 -299
- package/src/web-search/prompt.ts +60 -60
- package/src/web-search/types.ts +166 -166
- package/tsconfig.check.json +50 -54
- package/src/auto-mode/classifier.ts +0 -161
- package/src/auto-mode/extension.ts +0 -691
- package/src/auto-mode/model-selection-guard.ts +0 -52
- package/src/auto-mode/policy.ts +0 -146
- package/src/auto-mode/prompt.ts +0 -279
- package/src/auto-mode/reviewer.ts +0 -325
- package/src/auto-mode/tool-review-tui.ts +0 -211
- package/src/auto-mode/transcript.ts +0 -135
- package/src/auto-mode/types.ts +0 -137
package/config.schema.json
CHANGED
|
@@ -1,366 +1,278 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/awoaCrim/pi-openai-toolkit/blob/main/config.schema.json",
|
|
4
|
-
"title": "Pi OpenAI Toolkit global configuration v2",
|
|
5
|
-
"description": "Strict schema for the canonical global Toolkit configuration. Runtime validation additionally enforces normalized exact keys and image default membership.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": [
|
|
9
|
-
"schemaVersion"
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"$schema": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "Optional schema metadata URI. It does not select a runtime schema."
|
|
15
|
-
},
|
|
16
|
-
"schemaVersion": {
|
|
17
|
-
"const": 2
|
|
18
|
-
},
|
|
19
|
-
"defaults": {
|
|
20
|
-
"$ref": "#/$defs/defaults"
|
|
21
|
-
},
|
|
22
|
-
"models": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"propertyNames": {
|
|
25
|
-
"pattern": "^[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+/[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+$"
|
|
26
|
-
},
|
|
27
|
-
"additionalProperties": {
|
|
28
|
-
"$ref": "#/$defs/modelOverride"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"diagnostics": {
|
|
32
|
-
"$ref": "#/$defs/diagnostics"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"$defs": {
|
|
36
|
-
"modelRef": {
|
|
37
|
-
"description": "Exact provider/model reference; model ids may contain additional slashes.",
|
|
38
|
-
"anyOf": [
|
|
39
|
-
{
|
|
40
|
-
"type": "null"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"type": "string",
|
|
44
|
-
"minLength": 1,
|
|
45
|
-
"pattern": "^[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+/[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+$"
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"
|
|
50
|
-
"type": "array",
|
|
51
|
-
"items": {
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
"
|
|
77
|
-
"$ref": "#/$defs/
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
},
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
"
|
|
168
|
-
},
|
|
169
|
-
"
|
|
170
|
-
"type": "
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
"
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
"$ref": "#/$defs/
|
|
234
|
-
},
|
|
235
|
-
"
|
|
236
|
-
"$ref": "#/$defs/
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
"
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
"maximum": 200
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"compatibility": {
|
|
284
|
-
"type": "object",
|
|
285
|
-
"additionalProperties": false,
|
|
286
|
-
"properties": {
|
|
287
|
-
"transport": {
|
|
288
|
-
"enum": [
|
|
289
|
-
"standard",
|
|
290
|
-
"codex-gateway"
|
|
291
|
-
]
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"defaults": {
|
|
296
|
-
"type": "object",
|
|
297
|
-
"additionalProperties": false,
|
|
298
|
-
"properties": {
|
|
299
|
-
"context": {
|
|
300
|
-
"$ref": "#/$defs/context"
|
|
301
|
-
},
|
|
302
|
-
"webSearch": {
|
|
303
|
-
"$ref": "#/$defs/webSearch"
|
|
304
|
-
},
|
|
305
|
-
"imageGeneration": {
|
|
306
|
-
"$ref": "#/$defs/imageGeneration"
|
|
307
|
-
},
|
|
308
|
-
"responsesWebSocket": {
|
|
309
|
-
"$ref": "#/$defs/responsesWebSocket"
|
|
310
|
-
},
|
|
311
|
-
"autoMode": {
|
|
312
|
-
"$ref": "#/$defs/autoMode"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
"modelOverride": {
|
|
317
|
-
"type": "object",
|
|
318
|
-
"additionalProperties": false,
|
|
319
|
-
"properties": {
|
|
320
|
-
"context": {
|
|
321
|
-
"$ref": "#/$defs/context"
|
|
322
|
-
},
|
|
323
|
-
"webSearch": {
|
|
324
|
-
"$ref": "#/$defs/webSearch"
|
|
325
|
-
},
|
|
326
|
-
"autoMode": {
|
|
327
|
-
"$ref": "#/$defs/autoMode"
|
|
328
|
-
},
|
|
329
|
-
"compatibility": {
|
|
330
|
-
"$ref": "#/$defs/compatibility"
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
"diagnostics": {
|
|
335
|
-
"type": "object",
|
|
336
|
-
"additionalProperties": false,
|
|
337
|
-
"properties": {
|
|
338
|
-
"level": {
|
|
339
|
-
"enum": [
|
|
340
|
-
"error",
|
|
341
|
-
"warn",
|
|
342
|
-
"info",
|
|
343
|
-
"debug"
|
|
344
|
-
]
|
|
345
|
-
},
|
|
346
|
-
"notifyOnLoad": {
|
|
347
|
-
"type": "boolean"
|
|
348
|
-
},
|
|
349
|
-
"captureRequests": {
|
|
350
|
-
"type": "boolean"
|
|
351
|
-
},
|
|
352
|
-
"captureResponses": {
|
|
353
|
-
"type": "boolean"
|
|
354
|
-
},
|
|
355
|
-
"redactSensitiveData": {
|
|
356
|
-
"type": "boolean"
|
|
357
|
-
},
|
|
358
|
-
"artifactRoot": {
|
|
359
|
-
"type": "string",
|
|
360
|
-
"minLength": 1,
|
|
361
|
-
"pattern": "\\S"
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/awoaCrim/pi-openai-toolkit/blob/main/config.schema.json",
|
|
4
|
+
"title": "Pi OpenAI Toolkit global configuration v2",
|
|
5
|
+
"description": "Strict schema for the canonical global Toolkit configuration. Runtime validation additionally enforces normalized exact keys and image default membership.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"schemaVersion"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"$schema": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Optional schema metadata URI. It does not select a runtime schema."
|
|
15
|
+
},
|
|
16
|
+
"schemaVersion": {
|
|
17
|
+
"const": 2
|
|
18
|
+
},
|
|
19
|
+
"defaults": {
|
|
20
|
+
"$ref": "#/$defs/defaults"
|
|
21
|
+
},
|
|
22
|
+
"models": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"propertyNames": {
|
|
25
|
+
"pattern": "^[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+/[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+$"
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": {
|
|
28
|
+
"$ref": "#/$defs/modelOverride"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"diagnostics": {
|
|
32
|
+
"$ref": "#/$defs/diagnostics"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"$defs": {
|
|
36
|
+
"modelRef": {
|
|
37
|
+
"description": "Exact provider/model reference; model ids may contain additional slashes.",
|
|
38
|
+
"anyOf": [
|
|
39
|
+
{
|
|
40
|
+
"type": "null"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "string",
|
|
44
|
+
"minLength": 1,
|
|
45
|
+
"pattern": "^[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+/[^\\s*?\\[\\]{}\\u0000-\\u001f\\u007f]+$"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"responsesApis": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {
|
|
52
|
+
"enum": [
|
|
53
|
+
"openai-responses",
|
|
54
|
+
"openai-codex-responses",
|
|
55
|
+
"azure-openai-responses"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"context": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"properties": {
|
|
63
|
+
"mode": {
|
|
64
|
+
"enum": [
|
|
65
|
+
"pi",
|
|
66
|
+
"remote-compaction",
|
|
67
|
+
"remote-windows"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"remoteCompaction": {
|
|
71
|
+
"$ref": "#/$defs/remoteCompaction"
|
|
72
|
+
},
|
|
73
|
+
"nativeFallback": {
|
|
74
|
+
"$ref": "#/$defs/nativeFallback"
|
|
75
|
+
},
|
|
76
|
+
"remoteWindows": {
|
|
77
|
+
"$ref": "#/$defs/remoteWindows"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"remoteCompaction": {
|
|
82
|
+
"type": "object",
|
|
83
|
+
"additionalProperties": false,
|
|
84
|
+
"properties": {
|
|
85
|
+
"model": {
|
|
86
|
+
"$ref": "#/$defs/modelRef"
|
|
87
|
+
},
|
|
88
|
+
"inputSource": {
|
|
89
|
+
"enum": [
|
|
90
|
+
"legacy",
|
|
91
|
+
"pi-context-hook"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"allowContinuityBreak": {
|
|
95
|
+
"type": "boolean"
|
|
96
|
+
},
|
|
97
|
+
"apis": {
|
|
98
|
+
"$ref": "#/$defs/responsesApis"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"nativeFallback": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"properties": {
|
|
106
|
+
"enabled": {
|
|
107
|
+
"type": "boolean"
|
|
108
|
+
},
|
|
109
|
+
"model": {
|
|
110
|
+
"$ref": "#/$defs/modelRef"
|
|
111
|
+
},
|
|
112
|
+
"thinkingLevel": {
|
|
113
|
+
"enum": [
|
|
114
|
+
"off",
|
|
115
|
+
"minimal",
|
|
116
|
+
"low",
|
|
117
|
+
"medium",
|
|
118
|
+
"high",
|
|
119
|
+
"xhigh",
|
|
120
|
+
"max"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"remoteWindows": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"additionalProperties": false,
|
|
128
|
+
"properties": {
|
|
129
|
+
"leaveManagedMode": {
|
|
130
|
+
"enum": [
|
|
131
|
+
"warn",
|
|
132
|
+
"compact"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"reminderThresholdPercent": {
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"minimum": 0,
|
|
138
|
+
"maximum": 100
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"webSearch": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"additionalProperties": false,
|
|
145
|
+
"properties": {
|
|
146
|
+
"route": {
|
|
147
|
+
"enum": [
|
|
148
|
+
"unmanaged",
|
|
149
|
+
"local",
|
|
150
|
+
"hosted",
|
|
151
|
+
"standalone-alpha"
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"imageGeneration": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"properties": {
|
|
160
|
+
"enabled": {
|
|
161
|
+
"type": "boolean"
|
|
162
|
+
},
|
|
163
|
+
"defaultModel": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"minLength": 1,
|
|
166
|
+
"maxLength": 256,
|
|
167
|
+
"pattern": "\\S"
|
|
168
|
+
},
|
|
169
|
+
"allowedModels": {
|
|
170
|
+
"type": "array",
|
|
171
|
+
"minItems": 1,
|
|
172
|
+
"items": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"minLength": 1,
|
|
175
|
+
"maxLength": 256,
|
|
176
|
+
"pattern": "\\S"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"responsesWebSocket": {
|
|
182
|
+
"type": "object",
|
|
183
|
+
"additionalProperties": false,
|
|
184
|
+
"properties": {
|
|
185
|
+
"enabled": {
|
|
186
|
+
"type": "boolean",
|
|
187
|
+
"default": false
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"retiredAutoMode": {
|
|
192
|
+
"deprecated": true,
|
|
193
|
+
"description": "Auto Mode has been removed. This value is ignored with a warning; tool calls are no longer reviewed by it. Remove this section from your configuration."
|
|
194
|
+
},
|
|
195
|
+
"compatibility": {
|
|
196
|
+
"type": "object",
|
|
197
|
+
"additionalProperties": false,
|
|
198
|
+
"properties": {
|
|
199
|
+
"transport": {
|
|
200
|
+
"enum": [
|
|
201
|
+
"standard",
|
|
202
|
+
"codex-gateway"
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"defaults": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"additionalProperties": false,
|
|
210
|
+
"properties": {
|
|
211
|
+
"context": {
|
|
212
|
+
"$ref": "#/$defs/context"
|
|
213
|
+
},
|
|
214
|
+
"webSearch": {
|
|
215
|
+
"$ref": "#/$defs/webSearch"
|
|
216
|
+
},
|
|
217
|
+
"imageGeneration": {
|
|
218
|
+
"$ref": "#/$defs/imageGeneration"
|
|
219
|
+
},
|
|
220
|
+
"responsesWebSocket": {
|
|
221
|
+
"$ref": "#/$defs/responsesWebSocket"
|
|
222
|
+
},
|
|
223
|
+
"autoMode": {
|
|
224
|
+
"$ref": "#/$defs/retiredAutoMode"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"modelOverride": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"additionalProperties": false,
|
|
231
|
+
"properties": {
|
|
232
|
+
"context": {
|
|
233
|
+
"$ref": "#/$defs/context"
|
|
234
|
+
},
|
|
235
|
+
"webSearch": {
|
|
236
|
+
"$ref": "#/$defs/webSearch"
|
|
237
|
+
},
|
|
238
|
+
"autoMode": {
|
|
239
|
+
"$ref": "#/$defs/retiredAutoMode"
|
|
240
|
+
},
|
|
241
|
+
"compatibility": {
|
|
242
|
+
"$ref": "#/$defs/compatibility"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"diagnostics": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"additionalProperties": false,
|
|
249
|
+
"properties": {
|
|
250
|
+
"level": {
|
|
251
|
+
"enum": [
|
|
252
|
+
"error",
|
|
253
|
+
"warn",
|
|
254
|
+
"info",
|
|
255
|
+
"debug"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"notifyOnLoad": {
|
|
259
|
+
"type": "boolean"
|
|
260
|
+
},
|
|
261
|
+
"captureRequests": {
|
|
262
|
+
"type": "boolean"
|
|
263
|
+
},
|
|
264
|
+
"captureResponses": {
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
},
|
|
267
|
+
"redactSensitiveData": {
|
|
268
|
+
"type": "boolean"
|
|
269
|
+
},
|
|
270
|
+
"artifactRoot": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"minLength": 1,
|
|
273
|
+
"pattern": "\\S"
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|