toolcraft 0.0.96 → 0.0.97
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/composition.json +1 -1
- package/dist/cli.js +6 -0
- package/dist/composition.json +1 -1
- package/package.json +2 -2
package/composition.json
CHANGED
package/dist/cli.js
CHANGED
|
@@ -830,6 +830,12 @@ function appendHelpMetadata(description, metadata) {
|
|
|
830
830
|
function formatHelpFieldDescription(field) {
|
|
831
831
|
const description = field.description ?? field.displayPath;
|
|
832
832
|
const metadata = [];
|
|
833
|
+
if (field.schema.kind === "enum" && field.schema.values.length <= 8) {
|
|
834
|
+
const values = field.schema.values.map((value) => String(value)).join(", ");
|
|
835
|
+
if (values.length <= 120) {
|
|
836
|
+
metadata.push(`values: ${values}`);
|
|
837
|
+
}
|
|
838
|
+
}
|
|
833
839
|
if (!field.optional && !field.hasDefault) {
|
|
834
840
|
metadata.push("required");
|
|
835
841
|
}
|
package/dist/composition.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolcraft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.97",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"postpack": "node ../../scripts/manage-bundled-workspace-deps.mjs cleanup . toolcraft-design @poe-code/frontmatter @poe-code/agent-mcp-config @poe-code/agent-human-in-loop @poe-code/task-list @poe-code/agent-defs @poe-code/config-mutations @poe-code/process-runner tiny-mcp-client auth-store"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"toolcraft-schema": "0.0.
|
|
103
|
+
"toolcraft-schema": "0.0.97",
|
|
104
104
|
"commander": "^13.1.0",
|
|
105
105
|
"fast-string-width": "^3.0.2",
|
|
106
106
|
"fast-wrap-ansi": "^0.2.0",
|