@monoclaw/machine 1.0.15 → 1.0.16

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/cli.js CHANGED
@@ -1287,7 +1287,7 @@ function toolShape(params, capability = "image") {
1287
1287
  t = n;
1288
1288
  } else if (p.type === "boolean") t = z5.boolean();
1289
1289
  else t = z5.string().max(2e3);
1290
- const choices = p.type === "select" && p.choices?.length ? `One of: ${p.choices.map((c) => `${c.value} (${c.label})`).join(", ")}` : "";
1290
+ const choices = p.type === "select" && p.choices?.length ? `One of: ${p.choices.map((c) => `${c.value} (${c.label}${c.description ? `: ${c.description}` : ""})`).join(", ")}` : "";
1291
1291
  const range = p.type === "number" && (p.min !== void 0 || p.max !== void 0) ? `From ${p.min ?? "any"} to ${p.max ?? "any"}` : "";
1292
1292
  const dflt = p.default !== void 0 ? `Default ${String(p.default)}` : "";
1293
1293
  t = t.optional().describe([p.label, p.help, choices, range, dflt].filter(Boolean).join(". "));
@@ -1728,11 +1728,11 @@ var IMAGE_SIZES = {
1728
1728
  landscape_16_9: { label: "Landscape 16:9", aspect: "16:9", mp: 0.59 }
1729
1729
  };
1730
1730
  var FAL_FIELDS = [
1731
- { key: "model", label: "Model", type: "select", choices: FAL_MODELS.map((m) => ({ value: m.id, label: m.label, description: m.description })), default: "fal-ai/flux/schnell", required: true },
1731
+ { key: "model", label: "Model", type: "select", choices: FAL_MODELS.map((m) => ({ value: m.id, label: m.label, description: m.description })), default: "fal-ai/flux/schnell", required: true, agentSettable: true },
1732
1732
  { key: "image_size", label: "Size", type: "select", choices: Object.entries(IMAGE_SIZES).map(([value, s]) => ({ value, label: s.label })), default: "landscape_4_3", required: false, agentSettable: true },
1733
- { key: "num_images", label: "Images per call", type: "number", min: 1, max: 4, step: 1, default: 1, required: false },
1734
- { key: "output_format", label: "Format", type: "select", choices: [{ value: "jpeg", label: "JPEG" }, { value: "png", label: "PNG" }], default: "jpeg", required: false },
1735
- { key: "enable_safety_checker", label: "Safety checker", type: "boolean", default: true, required: false }
1733
+ { key: "num_images", label: "Images per call", type: "number", min: 1, max: 4, step: 1, default: 1, required: false, agentSettable: true },
1734
+ { key: "output_format", label: "Format", type: "select", choices: [{ value: "jpeg", label: "JPEG" }, { value: "png", label: "PNG" }], default: "jpeg", required: false, agentSettable: true },
1735
+ { key: "enable_safety_checker", label: "Safety checker", type: "boolean", default: true, required: false, agentSettable: true }
1736
1736
  ];
1737
1737
  function falInput(model, prompt, o) {
1738
1738
  const size = str(o.image_size, "landscape_4_3");
@@ -4531,7 +4531,7 @@ function guessMime(name) {
4531
4531
  }
4532
4532
 
4533
4533
  // src/version.ts
4534
- var APP_VERSION = true ? "1.0.15" : fromPackage();
4534
+ var APP_VERSION = true ? "1.0.16" : fromPackage();
4535
4535
 
4536
4536
  // src/diag.ts
4537
4537
  var MAX_HELD = 200;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@monoclaw/machine",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@monoclaw/machine",
9
- "version": "1.0.15",
9
+ "version": "1.0.16",
10
10
  "license": "UNLICENSED",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/claude-agent-sdk": "0.3.302",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoclaw/machine",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "Monoclaw host app: runs agents on your machine and connects them to your Monoclaw account (command.monoclaw.ai).",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {