@zuplo/lint-darwin-x64 7.11.1 → 7.11.3
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.
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
"throwOnFailure": {
|
|
669
669
|
"type": "boolean",
|
|
670
670
|
"default": false,
|
|
671
|
-
"description": "
|
|
671
|
+
"description": "Fail the request instead of logging the error when recording usage with the metering service fails."
|
|
672
672
|
},
|
|
673
673
|
"budgetRules": {
|
|
674
674
|
"type": "array",
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
"doNotSuggest": true,
|
|
685
685
|
"x-show-example": false,
|
|
686
686
|
"x-advanced": true,
|
|
687
|
-
"description": "
|
|
687
|
+
"description": "Deprecated and not enforced. Declare budgets with budgetRules.",
|
|
688
688
|
"additionalProperties": false,
|
|
689
689
|
"properties": {
|
|
690
690
|
"costs": {
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
"classifier": {
|
|
1233
1233
|
"type": "object",
|
|
1234
1234
|
"title": "Classifier",
|
|
1235
|
-
"description": "Where the prompt is classified. Set `app.
|
|
1235
|
+
"description": "Where the prompt is classified. Set `app.dialect` to select the API that classifier app exposes.",
|
|
1236
1236
|
"additionalProperties": false,
|
|
1237
1237
|
"minProperties": 1,
|
|
1238
1238
|
"maxProperties": 1,
|
|
@@ -1243,6 +1243,9 @@
|
|
|
1243
1243
|
"description": "Classify with another AI Gateway app in this project. The call runs in-process and never leaves the gateway, so the classifier uses that app's providers, routing, and quotas.",
|
|
1244
1244
|
"additionalProperties": false,
|
|
1245
1245
|
"required": ["appId", "model"],
|
|
1246
|
+
"not": {
|
|
1247
|
+
"required": ["dialect", "adapter"]
|
|
1248
|
+
},
|
|
1246
1249
|
"properties": {
|
|
1247
1250
|
"appId": {
|
|
1248
1251
|
"type": "string",
|
|
@@ -1253,7 +1256,7 @@
|
|
|
1253
1256
|
"model": {
|
|
1254
1257
|
"type": "string",
|
|
1255
1258
|
"title": "Classifier Model",
|
|
1256
|
-
"description": "The model (`providerName/model`) the classifier app uses to evaluate the user's request. `providerName` is the name of the provider as configured on the classifier app, not a fixed vendor id. E.g. `openai/gpt-4o-mini`, `anthropic/claude-haiku-4-5` with the `messages`
|
|
1259
|
+
"description": "The model (`providerName/model`) the classifier app uses to evaluate the user's request. `providerName` is the name of the provider as configured on the classifier app, not a fixed vendor id. E.g. `openai/gpt-4o-mini`, `anthropic/claude-haiku-4-5` with the `messages` dialect, or `jev/jev-latest` when the Jev provider is named `jev`.",
|
|
1257
1260
|
"pattern": "^[^/\\s]+/.+$",
|
|
1258
1261
|
"examples": ["openai/gpt-4o-mini"]
|
|
1259
1262
|
},
|
|
@@ -1264,7 +1267,7 @@
|
|
|
1264
1267
|
"examples": ["$env(CLASSIFIER_APP_API_KEY)"],
|
|
1265
1268
|
"x-advanced": true
|
|
1266
1269
|
},
|
|
1267
|
-
"
|
|
1270
|
+
"dialect": {
|
|
1268
1271
|
"type": "string",
|
|
1269
1272
|
"enum": [
|
|
1270
1273
|
"chat-completions",
|
|
@@ -1272,8 +1275,22 @@
|
|
|
1272
1275
|
"system-one"
|
|
1273
1276
|
],
|
|
1274
1277
|
"default": "chat-completions",
|
|
1275
|
-
"title": "Classifier App
|
|
1278
|
+
"title": "Classifier App Dialect",
|
|
1276
1279
|
"description": "API contract exposed by the classifier app. `chat-completions` calls /v1/chat/completions; `messages` calls /v1/messages for Claude models that support structured outputs (`output_config.format`), such as `claude-haiku-4-5`, on a provider whose Messages endpoint accepts them (not Amazon Bedrock Mantle); `system-one` calls /v1/systemone for models such as Jev. The app owns provider credentials, pricing, metering and analytics."
|
|
1280
|
+
},
|
|
1281
|
+
"adapter": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"enum": [
|
|
1284
|
+
"chat-completions",
|
|
1285
|
+
"messages",
|
|
1286
|
+
"system-one"
|
|
1287
|
+
],
|
|
1288
|
+
"title": "Classifier App Adapter (Deprecated)",
|
|
1289
|
+
"description": "**Deprecated**: use `classifier.app.dialect` instead. Still honored when `dialect` is not set; setting both is a configuration error.",
|
|
1290
|
+
"deprecated": true,
|
|
1291
|
+
"doNotSuggest": true,
|
|
1292
|
+
"x-show-example": false,
|
|
1293
|
+
"x-advanced": true
|
|
1277
1294
|
}
|
|
1278
1295
|
}
|
|
1279
1296
|
},
|
|
@@ -1310,7 +1327,7 @@
|
|
|
1310
1327
|
"jev": {
|
|
1311
1328
|
"type": "object",
|
|
1312
1329
|
"title": "Jev (TypeSafe)",
|
|
1313
|
-
"description": "Deprecated: use `classifier.app` with `
|
|
1330
|
+
"description": "Deprecated: use `classifier.app` with `dialect` `system-one` instead. Classify with Jev, TypeSafe's classification model, by calling a System One API directly: TypeSafe's by default, or another host such as OpenRouter through `baseUrl`. Jev answers typed questions instead of generating text, so it takes no `classifierPrompt`.",
|
|
1314
1331
|
"additionalProperties": false,
|
|
1315
1332
|
"required": ["apiKey"],
|
|
1316
1333
|
"properties": {
|
|
@@ -1408,7 +1425,7 @@
|
|
|
1408
1425
|
},
|
|
1409
1426
|
"classifierPrompt": {
|
|
1410
1427
|
"title": "Classifier Prompt",
|
|
1411
|
-
"description": "Prompt for classifier.app (its default `chat-completions`
|
|
1428
|
+
"description": "Prompt for classifier.app (its default `chat-completions` dialect or the `messages` dialect, where it is sent as the system prompt) and classifier.chatCompletions. Omit to use the built-in prompt. classifier.app.dialect `system-one` and classifier.jev take no prompt; combining them with classifierPrompt is a configuration error.",
|
|
1412
1429
|
"oneOf": [
|
|
1413
1430
|
{
|
|
1414
1431
|
"type": "string",
|
|
@@ -1486,12 +1503,27 @@
|
|
|
1486
1503
|
"required": ["app"],
|
|
1487
1504
|
"properties": {
|
|
1488
1505
|
"app": {
|
|
1489
|
-
"
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
"
|
|
1506
|
+
"anyOf": [
|
|
1507
|
+
{
|
|
1508
|
+
"required": ["dialect"],
|
|
1509
|
+
"properties": {
|
|
1510
|
+
"dialect": {
|
|
1511
|
+
"const": "system-one"
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"not": {
|
|
1517
|
+
"required": ["dialect"]
|
|
1518
|
+
},
|
|
1519
|
+
"required": ["adapter"],
|
|
1520
|
+
"properties": {
|
|
1521
|
+
"adapter": {
|
|
1522
|
+
"const": "system-one"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1493
1525
|
}
|
|
1494
|
-
|
|
1526
|
+
]
|
|
1495
1527
|
}
|
|
1496
1528
|
}
|
|
1497
1529
|
}
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.11.
|
|
1
|
+
7.11.3
|
package/package.json
CHANGED