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/dist/index.js +7 -1
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +1 -1
- package/packages/terminal-pilot/dist/cli.js +6 -0
- package/packages/terminal-pilot/dist/cli.js.map +2 -2
- package/packages/terminal-pilot/dist/testing/cli-repl.js +6 -0
- package/packages/terminal-pilot/dist/testing/cli-repl.js.map +2 -2
- package/packages/terminal-pilot/dist/testing/qa-cli.js +6 -0
- package/packages/terminal-pilot/dist/testing/qa-cli.js.map +2 -2
- package/packages/tiny-http-mcp-server/dist/http-transport.d.ts +1 -1
- package/packages/tiny-http-mcp-server/dist/http-transport.js +5 -5
- package/packages/toolcraft/dist/cli.js +6 -0
|
@@ -6154,6 +6154,12 @@ function appendHelpMetadata(description, metadata) {
|
|
|
6154
6154
|
function formatHelpFieldDescription(field) {
|
|
6155
6155
|
const description = field.description ?? field.displayPath;
|
|
6156
6156
|
const metadata = [];
|
|
6157
|
+
if (field.schema.kind === "enum" && field.schema.values.length <= 8) {
|
|
6158
|
+
const values = field.schema.values.map((value) => String(value)).join(", ");
|
|
6159
|
+
if (values.length <= 120) {
|
|
6160
|
+
metadata.push(`values: ${values}`);
|
|
6161
|
+
}
|
|
6162
|
+
}
|
|
6157
6163
|
if (!field.optional && !field.hasDefault) {
|
|
6158
6164
|
metadata.push("required");
|
|
6159
6165
|
}
|