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
package/package.json
CHANGED
|
@@ -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
|
}
|