@lambdacurry/arbor 0.4.31 → 0.4.32

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.
Files changed (2) hide show
  1. package/dist/arbor.js +9 -3
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -16958,7 +16958,8 @@ function buildInput(inputSchema, flags) {
16958
16958
  break;
16959
16959
  }
16960
16960
  case "array": {
16961
- const tokens = Array.isArray(raw) ? raw : [String(raw)];
16961
+ const repeated = Array.isArray(raw);
16962
+ const tokens = repeated ? raw : [String(raw)];
16962
16963
  const out = [];
16963
16964
  for (const token of tokens) {
16964
16965
  const text3 = String(token).trim();
@@ -16973,8 +16974,13 @@ function buildInput(inputSchema, flags) {
16973
16974
  throw new UsageError(`--${spec.flag} looks like JSON but failed to parse — check the quoting`);
16974
16975
  }
16975
16976
  }
16976
- for (const part of text3.split(",").map((s) => s.trim()).filter(Boolean))
16977
- out.push(part);
16977
+ if (repeated) {
16978
+ if (text3)
16979
+ out.push(text3);
16980
+ } else {
16981
+ for (const part of text3.split(",").map((s) => s.trim()).filter(Boolean))
16982
+ out.push(part);
16983
+ }
16978
16984
  }
16979
16985
  input[spec.field] = out;
16980
16986
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.4.31",
3
+ "version": "0.4.32",
4
4
  "description": "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
5
5
  "type": "module",
6
6
  "bin": {