openmates 0.12.0-alpha.13 → 0.12.0-alpha.15
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/README.md +2 -1
- package/dist/{chunk-YHOUQRWZ.js → chunk-LVAKDI4C.js} +6 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,10 +26,11 @@ openmates apps code run --language python --code 'print("Hello")'
|
|
|
26
26
|
openmates settings account export data --json
|
|
27
27
|
openmates settings memories list --json
|
|
28
28
|
openmates docs list
|
|
29
|
+
openmates benchmark model google/gemini-3.5-flash --dry-run --json
|
|
29
30
|
openmates server install
|
|
30
31
|
```
|
|
31
32
|
|
|
32
|
-
Run `openmates --help` or `openmates <command> --help` for the full command surface.
|
|
33
|
+
Run `openmates --help` or `openmates <command> --help` for the full command surface. Benchmark commands also support `openmates benchmark --help` for suite, comparison, judge, and spend-confirmation options.
|
|
33
34
|
|
|
34
35
|
## Environments
|
|
35
36
|
|
|
@@ -41485,7 +41485,12 @@ function isInteractiveQuestionPayload(value) {
|
|
|
41485
41485
|
if (!isQuestionType(payload.type)) return false;
|
|
41486
41486
|
if (typeof payload.id !== "string" || payload.id.trim().length === 0) return false;
|
|
41487
41487
|
if (payload.type === "choice") {
|
|
41488
|
-
|
|
41488
|
+
if (typeof payload.question !== "string" || payload.question.trim().length === 0) return false;
|
|
41489
|
+
if (!Array.isArray(payload.options) || payload.options.length === 0) return false;
|
|
41490
|
+
if (payload.custom_option_id !== void 0) {
|
|
41491
|
+
return typeof payload.custom_option_id === "string" && payload.options.some((option) => option.id === payload.custom_option_id);
|
|
41492
|
+
}
|
|
41493
|
+
return true;
|
|
41489
41494
|
}
|
|
41490
41495
|
if (payload.type === "input") return Array.isArray(payload.fields) && payload.fields.length > 0;
|
|
41491
41496
|
if (payload.type === "slider") {
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED