poe-code 3.0.423-beta.2 → 3.0.423-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "3.0.423-beta.2",
3
+ "version": "3.0.423-beta.3",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -6078,6 +6078,12 @@ function appendHelpMetadata(description, metadata) {
6078
6078
  function formatHelpFieldDescription(field) {
6079
6079
  const description = field.description ?? field.displayPath;
6080
6080
  const metadata = [];
6081
+ if (field.schema.kind === "enum" && field.schema.values.length <= 8) {
6082
+ const values = field.schema.values.map((value) => String(value)).join(", ");
6083
+ if (values.length <= 120) {
6084
+ metadata.push(`values: ${values}`);
6085
+ }
6086
+ }
6081
6087
  if (!field.optional && !field.hasDefault) {
6082
6088
  metadata.push("required");
6083
6089
  }