toolcraft 0.0.95 → 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 CHANGED
@@ -48,7 +48,7 @@
48
48
  },
49
49
  {
50
50
  "name": "toolcraft",
51
- "version": "0.0.95",
51
+ "version": "0.0.97",
52
52
  "license": "MIT"
53
53
  },
54
54
  {
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
  }
@@ -48,7 +48,7 @@
48
48
  },
49
49
  {
50
50
  "name": "toolcraft",
51
- "version": "0.0.95",
51
+ "version": "0.0.97",
52
52
  "license": "MIT"
53
53
  },
54
54
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft",
3
- "version": "0.0.95",
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.95",
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",