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 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
- return typeof payload.question === "string" && payload.question.trim().length > 0 && Array.isArray(payload.options) && payload.options.length > 0;
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
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getExtForLang,
4
4
  serializeToYaml
5
- } from "./chunk-YHOUQRWZ.js";
5
+ } from "./chunk-LVAKDI4C.js";
6
6
  import "./chunk-AXNRPVLE.js";
7
7
  export {
8
8
  getExtForLang,
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  deriveAppUrl,
10
10
  getExtForLang,
11
11
  serializeToYaml
12
- } from "./chunk-YHOUQRWZ.js";
12
+ } from "./chunk-LVAKDI4C.js";
13
13
  import "./chunk-AXNRPVLE.js";
14
14
  export {
15
15
  ASSISTANT_FEEDBACK_REPORT_TITLE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.12.0-alpha.13",
3
+ "version": "0.12.0-alpha.15",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",