ovr 7.0.0-next.22 → 7.0.0-next.23

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # ovr
2
2
 
3
+ ## 7.0.0-next.23
4
+
5
+ ### Patch Changes
6
+
7
+ - 07985dd: A tool's form with more than 20 choices given as the page renders lists the first five and how many there are, such as `options: 5 of 70`, so a page with a select of every record stays short for an agent. A form an agent submits itself still lists every choice.
8
+
3
9
  ## 7.0.0-next.22
4
10
 
5
11
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/markdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEN,KAAK,MAAM,EAKX,MAAM,oBAAoB,CAAC;AAyC5B,kFAAkF;AAClF,eAAO,MAAM,KAAK,eAAkB,CAAC;AAErC,yBAAiB,QAAQ,CAAC;IACzB,kCAAkC;IAClC,KAAY,OAAO,GAAG;QACrB,wEAAwE;QACxE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS,CAAC;QAEzC;;;;;;;;;;;;WAYG;QACH,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,EACd,CAAC,CACD,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,GAAG,KAET;YACA,IAAI,EAAE,MAAM,CAAC;YACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;YAC7B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;SAC1B,GACD,SAAS,CAAC,GACZ,SAAS,CAAC;KACb,CAAC;CACF;AAq1CD;;;;;;;;;GASG;AACH,qBAAa,QAAQ;;IAOpB;;;;;OAKG;IACH,YAAY,OAA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C7B,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;SAC1B,GACD,SAAS,CAAC,GACZ,SAAS,CAAC;KACb,CAAC;CACF;AAy1CD;;;;;;;;;GASG;AACH,qBAAa,QAAQ;;IAOpB;;;;;OAKG;IACH,YAAY,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,EAG3D;IAED,+CAA+C;IACxC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAWrE;IAED;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,+CAE7D;IAED;;;;;;OAMG;IACH,OAAa,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,mBAcnE;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,KAAK,CAEzD;CACD"}
@@ -756,7 +756,11 @@ class Writer {
756
756
  let line = `- ${Writer.#code(f.name)}`;
757
757
  if (f.value.length)
758
758
  line += `: ${Writer.#codes(f.value)}`;
759
- if (f.options.length)
759
+ // many choices, such as every record a person has, are a
760
+ // few of them and how many: another tool lists them all
761
+ if (f.options.length > 20)
762
+ line += `, options: 5 of ${f.options.length}, ${Writer.#codes(f.options.slice(0, 5))}`;
763
+ else if (f.options.length)
760
764
  line += `, options: ${Writer.#codes(f.options)}`;
761
765
  return Writer.#notes(f, line);
762
766
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ovr",
3
3
  "description": "Web apps anyone can use. Each route serves people a page and agents Markdown and MCP tools, with forms, Postgres, and passkey sign-in built in.",
4
- "version": "7.0.0-next.22",
4
+ "version": "7.0.0-next.23",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -888,7 +888,11 @@ class Writer {
888
888
  .map((f) => {
889
889
  let line = `- ${Writer.#code(f.name)}`;
890
890
  if (f.value.length) line += `: ${Writer.#codes(f.value)}`;
891
- if (f.options.length)
891
+ // many choices, such as every record a person has, are a
892
+ // few of them and how many: another tool lists them all
893
+ if (f.options.length > 20)
894
+ line += `, options: 5 of ${f.options.length}, ${Writer.#codes(f.options.slice(0, 5))}`;
895
+ else if (f.options.length)
892
896
  line += `, options: ${Writer.#codes(f.options)}`;
893
897
  return Writer.#notes(f, line);
894
898
  })