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
|
@@ -6161,6 +6161,12 @@ function appendHelpMetadata(description, metadata) {
|
|
|
6161
6161
|
function formatHelpFieldDescription(field) {
|
|
6162
6162
|
const description = field.description ?? field.displayPath;
|
|
6163
6163
|
const metadata = [];
|
|
6164
|
+
if (field.schema.kind === "enum" && field.schema.values.length <= 8) {
|
|
6165
|
+
const values = field.schema.values.map((value) => String(value)).join(", ");
|
|
6166
|
+
if (values.length <= 120) {
|
|
6167
|
+
metadata.push(`values: ${values}`);
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6164
6170
|
if (!field.optional && !field.hasDefault) {
|
|
6165
6171
|
metadata.push("required");
|
|
6166
6172
|
}
|