monday-cli 0.7.1 → 0.8.0

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 (122) hide show
  1. package/CHANGELOG.md +249 -49
  2. package/README.md +87 -45
  3. package/dist/api/assets.d.ts +3 -3
  4. package/dist/api/column-types.d.ts +14 -7
  5. package/dist/api/column-types.d.ts.map +1 -1
  6. package/dist/api/column-types.js +14 -7
  7. package/dist/api/column-types.js.map +1 -1
  8. package/dist/api/error-decoration.d.ts +124 -0
  9. package/dist/api/error-decoration.d.ts.map +1 -0
  10. package/dist/api/error-decoration.js +161 -0
  11. package/dist/api/error-decoration.js.map +1 -0
  12. package/dist/api/fetch-transport-helpers.d.ts +97 -0
  13. package/dist/api/fetch-transport-helpers.d.ts.map +1 -0
  14. package/dist/api/fetch-transport-helpers.js +175 -0
  15. package/dist/api/fetch-transport-helpers.js.map +1 -0
  16. package/dist/api/file-column-set.d.ts +388 -82
  17. package/dist/api/file-column-set.d.ts.map +1 -1
  18. package/dist/api/file-column-set.js +466 -88
  19. package/dist/api/file-column-set.js.map +1 -1
  20. package/dist/api/multipart-transport.d.ts +95 -60
  21. package/dist/api/multipart-transport.d.ts.map +1 -1
  22. package/dist/api/multipart-transport.js +102 -120
  23. package/dist/api/multipart-transport.js.map +1 -1
  24. package/dist/api/transport.d.ts.map +1 -1
  25. package/dist/api/transport.js +2 -99
  26. package/dist/api/transport.js.map +1 -1
  27. package/dist/cli/program.js +1 -1
  28. package/dist/cli/program.js.map +1 -1
  29. package/dist/commands/auth/login.js +1 -1
  30. package/dist/commands/auth/login.js.map +1 -1
  31. package/dist/commands/auth/logout.js +1 -1
  32. package/dist/commands/auth/logout.js.map +1 -1
  33. package/dist/commands/board/column-create.d.ts +20 -2
  34. package/dist/commands/board/column-create.d.ts.map +1 -1
  35. package/dist/commands/board/column-create.js +191 -20
  36. package/dist/commands/board/column-create.js.map +1 -1
  37. package/dist/commands/completion.js +1 -1
  38. package/dist/commands/completion.js.map +1 -1
  39. package/dist/commands/dev/configure.js +1 -1
  40. package/dist/commands/dev/configure.js.map +1 -1
  41. package/dist/commands/dev/discover.js +1 -1
  42. package/dist/commands/dev/discover.js.map +1 -1
  43. package/dist/commands/dev/doctor.js +1 -1
  44. package/dist/commands/dev/doctor.js.map +1 -1
  45. package/dist/commands/dev/epic/items.js +2 -2
  46. package/dist/commands/dev/epic/items.js.map +1 -1
  47. package/dist/commands/dev/epic/list.js +2 -2
  48. package/dist/commands/dev/epic/list.js.map +1 -1
  49. package/dist/commands/dev/release/list.js +2 -2
  50. package/dist/commands/dev/release/list.js.map +1 -1
  51. package/dist/commands/dev/sprint/current.js +2 -2
  52. package/dist/commands/dev/sprint/current.js.map +1 -1
  53. package/dist/commands/dev/sprint/items.js +2 -2
  54. package/dist/commands/dev/sprint/items.js.map +1 -1
  55. package/dist/commands/dev/sprint/list.js +2 -2
  56. package/dist/commands/dev/sprint/list.js.map +1 -1
  57. package/dist/commands/dev/task/block.js +2 -2
  58. package/dist/commands/dev/task/block.js.map +1 -1
  59. package/dist/commands/dev/task/done.js +2 -2
  60. package/dist/commands/dev/task/done.js.map +1 -1
  61. package/dist/commands/dev/task/list.js +2 -2
  62. package/dist/commands/dev/task/list.js.map +1 -1
  63. package/dist/commands/dev/task/start.js +2 -2
  64. package/dist/commands/dev/task/start.js.map +1 -1
  65. package/dist/commands/doc/get.js +1 -1
  66. package/dist/commands/doc/get.js.map +1 -1
  67. package/dist/commands/doc/list.js +1 -1
  68. package/dist/commands/doc/list.js.map +1 -1
  69. package/dist/commands/item/clear.d.ts.map +1 -1
  70. package/dist/commands/item/clear.js +15 -41
  71. package/dist/commands/item/clear.js.map +1 -1
  72. package/dist/commands/item/create.d.ts +93 -1
  73. package/dist/commands/item/create.d.ts.map +1 -1
  74. package/dist/commands/item/create.js +474 -53
  75. package/dist/commands/item/create.js.map +1 -1
  76. package/dist/commands/item/search.js +7 -7
  77. package/dist/commands/item/search.js.map +1 -1
  78. package/dist/commands/item/set.d.ts +1 -0
  79. package/dist/commands/item/set.d.ts.map +1 -1
  80. package/dist/commands/item/set.js +94 -1
  81. package/dist/commands/item/set.js.map +1 -1
  82. package/dist/commands/item/time-track/start.js +2 -2
  83. package/dist/commands/item/time-track/start.js.map +1 -1
  84. package/dist/commands/item/time-track/stop.js +2 -2
  85. package/dist/commands/item/time-track/stop.js.map +1 -1
  86. package/dist/commands/item/update.d.ts +128 -11
  87. package/dist/commands/item/update.d.ts.map +1 -1
  88. package/dist/commands/item/update.js +784 -82
  89. package/dist/commands/item/update.js.map +1 -1
  90. package/dist/commands/item/upload.js +5 -5
  91. package/dist/commands/item/upload.js.map +1 -1
  92. package/dist/commands/item/watch.js +2 -2
  93. package/dist/commands/item/watch.js.map +1 -1
  94. package/dist/commands/notification/send.js +1 -1
  95. package/dist/commands/notification/send.js.map +1 -1
  96. package/dist/commands/update/body-source.d.ts +38 -0
  97. package/dist/commands/update/body-source.d.ts.map +1 -0
  98. package/dist/commands/update/body-source.js +80 -0
  99. package/dist/commands/update/body-source.js.map +1 -0
  100. package/dist/commands/update/upload.js +3 -3
  101. package/dist/commands/update/upload.js.map +1 -1
  102. package/dist/commands/user/team-add-members.js +1 -1
  103. package/dist/commands/user/team-add-members.js.map +1 -1
  104. package/dist/commands/user/team-create.js +1 -1
  105. package/dist/commands/user/team-create.js.map +1 -1
  106. package/dist/commands/user/team-remove-members.js +1 -1
  107. package/dist/commands/user/team-remove-members.js.map +1 -1
  108. package/dist/commands/webhook/create.js +1 -1
  109. package/dist/commands/webhook/create.js.map +1 -1
  110. package/dist/commands/webhook/delete.js +1 -1
  111. package/dist/commands/webhook/delete.js.map +1 -1
  112. package/dist/commands/webhook/list.js +1 -1
  113. package/dist/commands/webhook/list.js.map +1 -1
  114. package/dist/utils/file-source.d.ts +109 -0
  115. package/dist/utils/file-source.d.ts.map +1 -1
  116. package/dist/utils/file-source.js +123 -0
  117. package/dist/utils/file-source.js.map +1 -1
  118. package/dist/utils/output/table.d.ts +7 -6
  119. package/dist/utils/output/table.d.ts.map +1 -1
  120. package/dist/utils/output/table.js +32 -5
  121. package/dist/utils/output/table.js.map +1 -1
  122. package/package.json +2 -1
@@ -36,12 +36,25 @@
36
36
  * 2. The atomicity contract differs — the 13 existing types
37
37
  * bundle atomically via `change_multiple_column_values` when
38
38
  * ≥2 columns target the same item. File-column writes are
39
- * single-column-per-call only on Monday's wire; mixing a
40
- * file-column `--set` with any value `--set` / `--set-raw` /
41
- * `--name` in the same call would force a multi-leg dispatch
42
- * that breaks the existing atomicity guarantee. M38 enforces
43
- * single-file-only via the mutex rules below (D2 closure) —
44
- * the existing atomicity contract stays intact.
39
+ * single-column-per-wire-call only on Monday's wire (each
40
+ * `add_file_to_column` round-trip targets one file column);
41
+ * mixing a file-column `--set` with any value `--set` /
42
+ * `--set-raw` / `--name` in the same call would force a
43
+ * multi-leg dispatch across the multipart + JSON wire
44
+ * surfaces that breaks the existing atomicity guarantee
45
+ * (M38 enforces the mixed-rule mutex below — D2 closure;
46
+ * universal on non-create callShapes, SUPPRESSED on
47
+ * `'item_create'` per v0.7-M43 D6 asymmetry). Multi-file
48
+ * `--set` CARVED OUT at v0.8-M46 (D2 fold): the CLI now
49
+ * routes multi-leg fan-out for the 3 reachable callShapes
50
+ * (`'item_update_single'` / `'item_update_bulk'` /
51
+ * `'item_create'`), preserving the single-column-per-wire-
52
+ * call invariant by firing N sequential
53
+ * `add_file_to_column` calls per item. The existing
54
+ * atomicity contract on the JSON `column_values` bundle
55
+ * stays intact; the multi-file dispatch's atomicity
56
+ * envelope (partial-failure shape per D2 closure) is
57
+ * separately decorated.
45
58
  * 3. The translator's input contract is "value-string-to-JSON-
46
59
  * payload" — file columns take a file path, not a value
47
60
  * string. Path validation + `fs.stat` + `fs.access(R_OK)` +
@@ -82,20 +95,36 @@
82
95
  * after metadata loads). When any resolved column has `type ===
83
96
  * 'file'`:
84
97
  *
85
- * - Exactly ONE file `--set` entry allowed per call (single-
86
- * file scope; multi-file dispatch defers to v0.7.x Monday's
87
- * `add_file_to_column` is single-column per call on the wire
88
- * regardless of how many items the dispatch fans out across,
89
- * so this rule is universal).
98
+ * - Multi-file `--set` per call — **CARVED OUT at v0.8-M46**
99
+ * (D2 fold). At v0.6-M38 + v0.7 this rejected universally
100
+ * with `'multi_file_set_unsupported'`; v0.8-M46 lifts the
101
+ * CLI mutex for the 3 reachable callShapes
102
+ * (`'item_update_single'` / `'item_update_bulk'` /
103
+ * `'item_create'`) and routes through new `'file_multi'` /
104
+ * `'file_bulk_multi'` / `'file_create_multi'` enforcement
105
+ * kinds for the action body's per-item multi-leg fan-out
106
+ * (sequential within an item × parallel across items for
107
+ * bulk). Monday wire stays single-column-per-wire-call
108
+ * (each `add_file_to_column` round-trip targets one file
109
+ * column); M46 fans N CLI legs per item rather than
110
+ * bundling them on the wire. The throw remains for the
111
+ * `'item_set'` callShape as a defensive type-system
112
+ * ceiling — `monday item set <iid> <col>=<value>` accepts
113
+ * exactly one positional and is argv-incapable of
114
+ * expressing 2+ file `--set` entries; the throw is
115
+ * unreachable from production argv but kept as defense-in-
116
+ * depth.
90
117
  * - NO other value `--set` / `--set-raw` / `--name` flags
91
118
  * allowed (mixing would force non-atomic multi-leg dispatch
92
- * across the multipart + JSON wire surfaces).
119
+ * across the multipart + JSON wire surfaces — universal on
120
+ * `'item_set'` / `'item_update_single'` / `'item_update_bulk'`,
121
+ * SUPPRESSED on `'item_create'` per v0.7-M43 D6 asymmetry).
93
122
  * - Bulk `item update --where ... --set <file-col>=<path>` —
94
123
  * **CARVED OUT at v0.7-M42** (D5 fold). At v0.6-M38 this was
95
124
  * REJECTED with `'file_set_on_bulk_unsupported'`; v0.7-M42's
96
125
  * pre-flight contract diff returns
97
126
  * `{ kind: 'file_bulk', columnId, rawValue }` from
98
- * {@link enforceSingleFileColumnSet} on the clean dispatch
127
+ * {@link routeFileColumnDispatch} on the clean dispatch
99
128
  * path so the action body can branch into the per-item
100
129
  * multipart fan-out. Multi-file / mixed mutex rules STILL
101
130
  * apply on bulk (those are universal).
@@ -104,7 +133,7 @@
104
133
  * `'file_set_on_create_unsupported'`; v0.7-M43's pre-flight
105
134
  * contract diff returns
106
135
  * `{ kind: 'file_create', columnId, rawValue }` from
107
- * {@link enforceSingleFileColumnSet} on the clean dispatch
136
+ * {@link routeFileColumnDispatch} on the clean dispatch
108
137
  * path so the action body can branch into the two-leg
109
138
  * dispatch (`create_item` then `add_file_to_column`).
110
139
  * Multi-file mutex rule STILL applies on create (universal).
@@ -122,9 +151,20 @@
122
151
  * - `'mixed_file_and_value_sets'` — file `--set` + any value
123
152
  * `--set` / `--set-raw` / `--name` in same call. Applies on
124
153
  * single-item AND bulk call shapes (universal mutex rule).
125
- * - `'multi_file_set_unsupported'` — 2+ file `--set` entries
126
- * in same call. Applies on single-item AND bulk call shapes
127
- * (universal mutex rule).
154
+ * - `'multi_file_set_unsupported'` — **NO LONGER SURFACES**
155
+ * from `'item_update_single'` / `'item_update_bulk'` /
156
+ * `'item_create'` callShapes at v0.8-M46 onwards (D2 carve-out
157
+ * fold; multi-file dispatch now routes through new `file_multi`
158
+ * / `file_bulk_multi` / `file_create_multi` enforcement kinds
159
+ * for the action body's per-item multi-leg fan-out). The
160
+ * discriminator literal stays RESERVED across the codebase
161
+ * (do not reuse for a different rejection reason; mirrors
162
+ * M42 / M43 reserved-literal discipline). The throw remains
163
+ * for the `'item_set'` callShape as a defensive type-system
164
+ * ceiling — the single-positional `monday item set <iid>
165
+ * <col>=<value>` shape is argv-incapable of expressing 2+
166
+ * file `--set` entries, so this rejection is argv-unreachable
167
+ * in practice; kept as defense-in-depth.
128
168
  * - `'file_set_on_bulk_unsupported'` — **NO LONGER SURFACES**
129
169
  * at v0.7-M42 onwards. Historical reference only; the
130
170
  * discriminator literal stays reserved across the codebase
@@ -146,13 +186,33 @@
146
186
  * rejection see the full set of working alternatives rather
147
187
  * than just the M38 single-item form.
148
188
  *
149
- * **D7 closure — `<path>='-'` stdin support OUT OF SCOPE.**
150
- * Mirrors M31 `monday item upload`'s rejection rationale — no
151
- * clean `--filename` companion shape pinned for `--set
152
- * <file-col>=-` syntax (stdin reads byte-anonymously; the
153
- * filename is the load-bearing handle for Monday's wire
154
- * `Asset.name` slot). Carry-forward candidate for v0.7.x once a
155
- * `--filename` companion shape is pinned.
189
+ * **D7 closure — `<path>='-'` stdin support CARVED OUT at
190
+ * v0.8-M47.** Deferred from v0.6-M38 (no `--filename` companion
191
+ * shape pinned then); v0.8-M47 pins the OPTIONAL `--filename
192
+ * <name>` companion (default `"blob"`; Monday accepts any non-empty
193
+ * `Asset.name` and `500`s only an empty one — probe-pinned) and
194
+ * accepts a bare `-` file `--set` value as a stdin source. Because
195
+ * stdin is a single non-replayable stream, the carve-out is scoped
196
+ * to single-file, single-target dispatch: exactly one
197
+ * `<file-col>=-` per call, as the SOLE file `--set` entry, on
198
+ * `item set` / single-item `item update` / `item create`.
199
+ * {@link routeFileColumnDispatch}'s stdin scope gate (mutex
200
+ * priority 0) enforces it — `'multiple_stdin_file_sets'` /
201
+ * `'stdin_file_set_not_sole_file'` / `'stdin_file_set_on_bulk_
202
+ * unsupported'` reject with `usage_error` (literals reserved). A
203
+ * clean stdin source routes through the same single-file
204
+ * `kind: 'file'` / `'file_create'` as a path source; the action
205
+ * body sources the Blob from `readStdinFileSource`
206
+ * (`src/utils/file-source.ts`) instead of {@link buildBlobFromPath},
207
+ * then dispatches it through M31's `addFileToColumn` fetcher directly
208
+ * (the path leg builds its Blob inside {@link executeFileColumnSet};
209
+ * the stdin Blob is already in hand). Live read + dispatch shipped at
210
+ * the v0.8-M47 IMPL alongside the size-less dry-run echo (D4 — a
211
+ * stream can't be `fs.stat`'d, so the echo omits `file_size_bytes`);
212
+ * an empty stdin payload rejects `usage_error` with
213
+ * `details.reason: 'stdin_file_empty'` before any wire activity. The
214
+ * verb-shaped `monday item upload` stays path-only (no stdin) —
215
+ * M47 carves out only the friendly `--set` path.
156
216
  *
157
217
  * **No new ERROR_CODE (D8 closure; registry stays at 29).** All
158
218
  * M38-specific rejections route through existing `usage_error`
@@ -169,6 +229,7 @@
169
229
  * canonical cross-link.
170
230
  */
171
231
  import { z } from 'zod';
232
+ import { MondayCliError } from '../utils/errors.js';
172
233
  import { type Asset } from './assets.js';
173
234
  import { type ResolverWarning } from './columns.js';
174
235
  import type { Complexity } from '../utils/output/envelope.js';
@@ -243,6 +304,51 @@ export declare const fileColumnSetOutputSchema: z.ZodObject<{
243
304
  }, z.core.$strict>;
244
305
  }, z.core.$strict>;
245
306
  export type FileColumnSetOutput = z.infer<typeof fileColumnSetOutputSchema>;
307
+ /**
308
+ * Output envelope shape for the v0.8-M46 multi-file `--set` dispatch
309
+ * leg on single-item `monday item update <iid> --set f1=p1 --set
310
+ * f2=p2 ...`. Discriminate from M38's single-file envelope via the
311
+ * new `operation: 'add_files_to_columns'` literal (plural) — agents
312
+ * branch on `data.operation` to handle single vs multi shapes
313
+ * uniformly.
314
+ *
315
+ * Per-file slot mirrors M31's `Asset` shape verbatim wrapped under
316
+ * a `column_id` + `filename` + `file_size_bytes` per-entry context.
317
+ * The `applied_file_columns` slot echoes the file columns that
318
+ * landed on success (length N; always present on multi-file success
319
+ * envelopes).
320
+ *
321
+ * **Status: schema landed at v0.8-M46 pre-flight contract diff;
322
+ * runtime emit shipped at v0.8-M46 IMPL.**
323
+ * `runItemUpdateSingleFileMultiDispatch` (commands/item/update.ts)
324
+ * emits against this schema on the single-item multi-file path.
325
+ */
326
+ export declare const fileColumnSetMultiOutputSchema: z.ZodObject<{
327
+ operation: z.ZodLiteral<"add_files_to_columns">;
328
+ item_id: z.ZodString;
329
+ assets: z.ZodArray<z.ZodObject<{
330
+ column_id: z.ZodString;
331
+ filename: z.ZodString;
332
+ file_size_bytes: z.ZodNumber;
333
+ asset: z.ZodObject<{
334
+ id: z.ZodString;
335
+ name: z.ZodString;
336
+ url: z.ZodString;
337
+ public_url: z.ZodString;
338
+ file_extension: z.ZodString;
339
+ file_size: z.ZodNumber;
340
+ created_at: z.ZodNullable<z.ZodString>;
341
+ uploaded_by: z.ZodObject<{
342
+ id: z.ZodString;
343
+ name: z.ZodString;
344
+ }, z.core.$strict>;
345
+ original_geometry: z.ZodNullable<z.ZodString>;
346
+ url_thumbnail: z.ZodNullable<z.ZodString>;
347
+ }, z.core.$strict>;
348
+ }, z.core.$strict>>;
349
+ applied_file_columns: z.ZodArray<z.ZodString>;
350
+ }, z.core.$strict>;
351
+ export type FileColumnSetMultiOutput = z.infer<typeof fileColumnSetMultiOutputSchema>;
246
352
  /**
247
353
  * Inputs for the M38 file-column dispatch fetcher. Wraps M31's
248
354
  * `addFileToColumn` (`src/api/assets.ts`) verbatim — no new wire
@@ -307,7 +413,7 @@ export interface ExecuteFileColumnSetResult {
307
413
  * 1. Parsing argv + collecting `--set` / `--set-raw` / `--name`
308
414
  * entries.
309
415
  * 2. Resolving columns via `resolveColumnWithRefresh`.
310
- * 3. Calling {@link enforceSingleFileColumnSet} to detect the
416
+ * 3. Calling {@link routeFileColumnDispatch} to detect the
311
417
  * file-column dispatch leg + enforce the mutex rules.
312
418
  * 4. Running {@link precheckLocalFile} from
313
419
  * `src/utils/file-source.ts` on the agent-supplied path to
@@ -320,6 +426,105 @@ export interface ExecuteFileColumnSetResult {
320
426
  * (mirrors M31 `item upload` envelope verbatim).
321
427
  */
322
428
  export declare const executeFileColumnSet: (inputs: ExecuteFileColumnSetInputs) => Promise<ExecuteFileColumnSetResult>;
429
+ /**
430
+ * One resolved + pre-checked file-column dispatch leg for the v0.8-M46
431
+ * multi-file fan-out. Carries the resolved column ID + the
432
+ * {@link precheckLocalFile} outputs (absolute path + basename +
433
+ * fs-stat size) + the argv-derived raw path. Built by each
434
+ * callShape's action body from `precheckLocalFile` results, then
435
+ * fanned through {@link dispatchFileLegsSequentially}.
436
+ */
437
+ export interface MultiFileLegEntry {
438
+ /** Resolved Monday column ID (post-`resolveColumnWithRefresh`). */
439
+ readonly columnId: string;
440
+ /** The argv-derived path token (relative or absolute as typed). */
441
+ readonly rawValue: string;
442
+ /** Resolved absolute path (post `path.resolve(cwd, rawValue)`). */
443
+ readonly filePath: string;
444
+ /** `basename(filePath)` — Monday's wire `Asset.name` source. */
445
+ readonly filename: string;
446
+ /** Local `fs.stat()` size at pre-check time. */
447
+ readonly fileSizeBytes: number;
448
+ }
449
+ /**
450
+ * Per-leg asset projection captured on a successful
451
+ * `add_file_to_column` round-trip. Shared across the three v0.8-M46
452
+ * multi-file envelope shapes (`fileColumnSetMultiOutputSchema` /
453
+ * `bulkFileSetMultiResultSchema` / `itemCreateWithFilesOutputSchema`)
454
+ * — each wraps M31's `Asset` under the same `column_id` + `filename`
455
+ * + `file_size_bytes` per-entry context.
456
+ */
457
+ export interface MultiFileLegAsset {
458
+ readonly column_id: string;
459
+ readonly filename: string;
460
+ readonly file_size_bytes: number;
461
+ readonly asset: Asset;
462
+ }
463
+ /**
464
+ * Result of {@link dispatchFileLegsSequentially}. The accumulator is
465
+ * always populated up to the point of failure (or fully on success):
466
+ *
467
+ * - `appliedColumns` — resolved column IDs that landed
468
+ * successfully, in dispatch order (length N on success; 0..N-1
469
+ * when `failure` is present).
470
+ * - `assets` — per-leg asset projections, same ordering + length
471
+ * as `appliedColumns`.
472
+ * - `lastComplexity` — the complexity block from the most recent
473
+ * successful leg (`null` if zero legs succeeded). Threaded into
474
+ * `meta.complexity` by the single-item / create success paths.
475
+ * - `failure` — present iff a leg threw a `MondayCliError`. Carries
476
+ * the failing column ID + the underlying error. The caller
477
+ * decorates the partial-failure envelope per callShape
478
+ * (single-item `multi_file_update_partial_failure` whole-call
479
+ * throw / bulk per-item record-or-fail-fast / create-time
480
+ * `create_then_file_upload_partial_failure` orphan-warn) and
481
+ * applies {@link foldAndRemap} where the callShape's stable-code
482
+ * rule requires it (bulk + create remap cache-served
483
+ * `validation_failed` → `column_archived`; single-item does not
484
+ * remap, matching the M38 single-item precedent).
485
+ */
486
+ export interface DispatchFileLegsResult {
487
+ readonly appliedColumns: readonly string[];
488
+ readonly assets: readonly MultiFileLegAsset[];
489
+ readonly lastComplexity: Complexity | null;
490
+ readonly failure?: {
491
+ readonly failedColumn: string;
492
+ readonly cause: MondayCliError;
493
+ };
494
+ }
495
+ /**
496
+ * Sequential multi-leg `add_file_to_column` fan-out shared by the
497
+ * three v0.8-M46 multi-file callShape helpers
498
+ * (`runItemUpdateSingleFileMultiDispatch` /
499
+ * `runItemUpdateBulkFileMultiDispatch` per-item worker /
500
+ * `runItemCreateFileMultiDispatch`). R-v0.8-NEW-1 lift — the inner
501
+ * loop + partial-failure accumulator is byte-identical across all 3
502
+ * sites; only the envelope decoration diverges (kept in the caller).
503
+ *
504
+ * **Sequential within an item (D1 closure).** Legs fire in
505
+ * `inputs.entries` order so `appliedColumns` echoes the file columns
506
+ * that landed before a failure in dispatch order. The bulk path
507
+ * achieves cross-item parallelism by invoking this helper inside each
508
+ * per-item `dispatchParallel` worker — parallel ACROSS items ×
509
+ * sequential WITHIN each item.
510
+ *
511
+ * **Failure handling.** A `MondayCliError` from any leg stops the
512
+ * loop and returns the accumulator with `failure` populated (the
513
+ * caller decorates + optionally remaps). A non-`MondayCliError`
514
+ * (programmer bug in the wire layer) re-throws to the runner's
515
+ * catch-all so it surfaces as a whole-call `internal_error` rather
516
+ * than masquerading as a recoverable partial failure — mirrors the
517
+ * non-CliError re-throw arms in M42's bulk + M43's create-time
518
+ * single-file dispatch helpers.
519
+ */
520
+ export declare const dispatchFileLegsSequentially: (inputs: {
521
+ readonly client: MondayClient;
522
+ readonly multipart: MultipartTransport;
523
+ readonly itemId: string;
524
+ readonly entries: readonly MultiFileLegEntry[];
525
+ readonly signal: AbortSignal;
526
+ readonly retries: number;
527
+ }) => Promise<DispatchFileLegsResult>;
323
528
  /**
324
529
  * Mutex enforcement at the column-resolution boundary. Takes the
325
530
  * resolved column-type information for every `--set` / `--set-raw`
@@ -347,22 +552,36 @@ export declare const executeFileColumnSet: (inputs: ExecuteFileColumnSetInputs)
347
552
  * helper.
348
553
  * - Throws `ApiError('usage_error', ...)` with a
349
554
  * `details.reason` discriminator when a mutex violation is
350
- * detected: `'multi_file_set_unsupported'` (D2 multi-file leg
351
- * — universal; applies on single + bulk + create) OR
352
- * `'mixed_file_and_value_sets'` (D2 mixed leg universal on
353
- * non-create callShapes; SUPPRESSED on `'item_create'` per
354
- * the D6 mixed-rule asymmetry since `create_item` natively
355
- * bundles `column_values` atomically + `item_name` is
356
- * required on create).
357
- *
358
- * Both `'file_set_on_bulk_unsupported'` (v0.6-M38 D5) and
359
- * `'file_set_on_create_unsupported'` (v0.6-M38 D6) literals NO
360
- * LONGER SURFACE from this function as of v0.7-M42 / v0.7-M43
361
- * respectively — the carve-out folds return
362
- * `kind: 'file_bulk'` / `kind: 'file_create'` on clean dispatch
363
- * paths instead. The literals stay RESERVED in docstrings as
364
- * historical reference; do not re-introduce as runtime rejections
365
- * without fresh contract decisions.
555
+ * detected: `'multi_file_set_unsupported'` (defensive throw
556
+ * on `'item_set'` callShape only argv-unreachable; v0.8-M46
557
+ * D2 fold lifted the multi-file gate on the 3 reachable
558
+ * callShapes) OR `'duplicate_resolved_file_columns'` (v0.8-
559
+ * M46 multi-file leg 2+ file `--set` entries resolving to
560
+ * the same column ID; mirrors JSON path's cross-token
561
+ * duplicate-resolved-ID contract) OR `'mixed_file_and_value_sets'`
562
+ * (D2 mixed leg — universal on non-create callShapes;
563
+ * SUPPRESSED on `'item_create'` per the D6 mixed-rule
564
+ * asymmetry since `create_item` natively bundles
565
+ * `column_values` atomically + `item_name` is required on
566
+ * create).
567
+ *
568
+ * Three reserved-literal discriminators NO LONGER SURFACE from
569
+ * this function on the reachable callShape paths:
570
+ *
571
+ * - `'file_set_on_bulk_unsupported'` (v0.6-M38 D5) → folded at
572
+ * v0.7-M42; returns `kind: 'file_bulk'` on clean dispatch.
573
+ * - `'file_set_on_create_unsupported'` (v0.6-M38 D6) → folded
574
+ * at v0.7-M43; returns `kind: 'file_create'` on clean
575
+ * dispatch.
576
+ * - `'multi_file_set_unsupported'` (v0.6-M38 D2 universal) →
577
+ * folded at v0.8-M46 for the 3 reachable callShapes; returns
578
+ * `kind: 'file_multi'` / `'file_bulk_multi'` /
579
+ * `'file_create_multi'` on clean multi-file dispatch. Throw
580
+ * remains on `'item_set'` defensively (argv-unreachable).
581
+ *
582
+ * All three literals stay RESERVED in docstrings as historical
583
+ * reference; do not re-introduce as runtime rejections without
584
+ * fresh contract decisions.
366
585
  *
367
586
  * Pure synchronous check — no I/O, no side effects. The caller
368
587
  * resolves columns first (via `resolveColumnWithRefresh` or the
@@ -376,7 +595,7 @@ export declare const executeFileColumnSet: (inputs: ExecuteFileColumnSetInputs)
376
595
  * `usage_error` from the parse boundary (this function itself
377
596
  * runs AFTER argv parse + column resolution).
378
597
  */
379
- export type FileColumnSetEnforcementResult = {
598
+ export type FileColumnDispatchRoute = {
380
599
  readonly kind: 'json';
381
600
  } | {
382
601
  readonly kind: 'file';
@@ -390,8 +609,26 @@ export type FileColumnSetEnforcementResult = {
390
609
  readonly kind: 'file_create';
391
610
  readonly columnId: string;
392
611
  readonly rawValue: string;
612
+ } | {
613
+ readonly kind: 'file_multi';
614
+ readonly entries: readonly {
615
+ readonly columnId: string;
616
+ readonly rawValue: string;
617
+ }[];
618
+ } | {
619
+ readonly kind: 'file_bulk_multi';
620
+ readonly entries: readonly {
621
+ readonly columnId: string;
622
+ readonly rawValue: string;
623
+ }[];
624
+ } | {
625
+ readonly kind: 'file_create_multi';
626
+ readonly entries: readonly {
627
+ readonly columnId: string;
628
+ readonly rawValue: string;
629
+ }[];
393
630
  };
394
- export interface EnforceSingleFileColumnSetInputs {
631
+ export interface RouteFileColumnDispatchInputs {
395
632
  /**
396
633
  * The call shape — determines which mutex rejections apply.
397
634
  *
@@ -402,27 +639,42 @@ export interface EnforceSingleFileColumnSetInputs {
402
639
  * translateRawColumnValue` per D3 — no new mutex needed here).
403
640
  * - `'item_update_single'` — single-item `monday item update
404
641
  * <iid>`. Multiple `--set` + `--set-raw` + `--name` flags are
405
- * accepted; M38 mutex enforces "single file `--set` + no
406
- * other value flags".
642
+ * accepted. M38 originally enforced "single file `--set` +
643
+ * no other value flags"; v0.8-M46 D2 carve-out fold lifts
644
+ * the multi-file gate — clean multi-file dispatch returns
645
+ * `kind: 'file_multi'` for the action body's per-item
646
+ * multi-leg fan-out helper. Duplicate resolved file-column
647
+ * IDs reject with `'duplicate_resolved_file_columns'`.
648
+ * Mixed-rule (file + value `--set` / `--set-raw` /
649
+ * `--name`) STILL rejects on this callShape per the
650
+ * universal mixed mutex.
407
651
  * - `'item_update_bulk'` — `monday item update --where ...`.
408
652
  * At v0.6-M38 this rejected with `'file_set_on_bulk_unsupported'`;
409
653
  * v0.7-M42 carves out the D5 closure — clean single-file
410
654
  * bulk-file dispatch returns `kind: 'file_bulk'` for the
411
- * action body's per-item multipart fan-out. Multi-file +
412
- * mixed gates STILL reject (those mutex rules are
413
- * universal file column dispatch is single-column per
414
- * wire call regardless of how many items the fan-out
415
- * spans).
655
+ * action body's per-item multipart fan-out. v0.8-M46 D2
656
+ * carve-out fold lifts the multi-file gate clean multi-
657
+ * file dispatch returns `kind: 'file_bulk_multi'` for the
658
+ * per-item multi-leg fan-out (sequential within an item ×
659
+ * parallel across items). Monday wire stays single-column-
660
+ * per-wire-call (each `add_file_to_column` round-trip
661
+ * targets one file column); M46 fans N legs per item over
662
+ * the same single-column-per-wire-call surface. Mixed-rule
663
+ * STILL rejects per the universal mixed mutex.
416
664
  * - `'item_create'` — `monday item create`. At v0.6-M38 this
417
665
  * rejected with `'file_set_on_create_unsupported'`;
418
666
  * v0.7-M43 carves out the D6 closure — clean single-file
419
667
  * create-time dispatch returns `kind: 'file_create'` for the
420
668
  * action body's two-leg `create_item` then
421
- * `add_file_to_column` helper. Multi-file gate STILL rejects
422
- * (universal). Mixed-rule SUPPRESSED on create per D6
423
- * asymmetry (`create_item` natively bundles non-file
424
- * `column_values` atomically + `--name` is required on
425
- * create). `--set-raw <file-col>=<json>` stays rejected at
669
+ * `add_file_to_column` helper. v0.8-M46 D2 carve-out fold
670
+ * lifts the multi-file gate clean multi-file dispatch
671
+ * returns `kind: 'file_create_multi'` for the action body's
672
+ * two-leg-group helper (leg-1 `create_item` with bundled
673
+ * non-file `column_values` + N sequential file legs).
674
+ * Mixed-rule SUPPRESSED on create per D6 asymmetry
675
+ * (`create_item` natively bundles non-file `column_values`
676
+ * atomically + `--name` is required on create).
677
+ * `--set-raw <file-col>=<json>` stays rejected at
426
678
  * `raw-write.ts:translateRawColumnValue` per D3 (separate
427
679
  * enforcement layer).
428
680
  */
@@ -459,19 +711,39 @@ export interface EnforceSingleFileColumnSetInputs {
459
711
  * throws `ApiError('usage_error', ...)` on a mutex violation.
460
712
  *
461
713
  * Mutex priority (ratified at M38 pre-flight; updated at v0.7-M42
462
- * + v0.7-M43 pre-flights to fold the D5 bulk + D6 create carve-outs):
463
- *
464
- * 1. **callShape gate NONE remaining post-v0.7-M43** — both
465
- * `'item_update_bulk'` (D5 fold at v0.7-M42) and `'item_create'`
466
- * (D6 fold at v0.7-M43) short-circuit-throws have been removed.
467
- * Every callShape falls through to the universal multi-file
468
- * gate + a callShape-aware mixed gate, then returns a per-
469
- * callShape `kind` on the clean path.
470
- * 2. **multi-file leg** — 2+ file `--set` entries (any callShape)
471
- * surface `'multi_file_set_unsupported'`. Universal rule:
472
- * Monday's `add_file_to_column` is single-column per call on
473
- * the wire regardless of fan-out shape.
474
- * 3. **mixed leg** 1 file `--set` + any value `--set` /
714
+ * + v0.7-M43 pre-flights to fold the D5 bulk + D6 create carve-outs;
715
+ * updated at v0.8-M46 pre-flight to fold the D2 multi-file carve-out;
716
+ * updated at v0.8-M47 pre-flight to add the stdin scope gate):
717
+ *
718
+ * 0. **stdin scope gate (v0.8-M47 D7 fold).** When ≥1 file `--set`
719
+ * value is the bare `-` stdin sentinel, enforce stdin's single-
720
+ * file / single-target scope: `'multiple_stdin_file_sets'` (2+
721
+ * `=-`), `'stdin_file_set_not_sole_file'` (stdin + another file
722
+ * `--set`), `'stdin_file_set_on_bulk_unsupported'` (`=-` on the
723
+ * `'item_update_bulk'` callShape). All `usage_error`; literals
724
+ * reserved. A clean stdin source (exactly one `=-`, sole file,
725
+ * single-target) falls through to the clean single-file leg and
726
+ * returns `kind: 'file'` / `'file_create'` identical routing to
727
+ * a path source; the action body sources the Blob from stdin. The
728
+ * mixed + duplicate gates below still apply to a stdin entry.
729
+ * 1. **callShape gate — ONLY `'item_set'` defensive throw remains**
730
+ * post-v0.8-M46. The v0.6-M38 `'item_update_bulk'` (D5 fold at
731
+ * v0.7-M42) and `'item_create'` (D6 fold at v0.7-M43) short-
732
+ * circuit-throws have been removed; the v0.6-M38 universal
733
+ * multi-file throw FOLDED at v0.8-M46 (D2) for the 3 reachable
734
+ * callShapes. The `'item_set'` callShape's multi-file throw
735
+ * stays as defensive type-system ceiling — the single-
736
+ * positional `monday item set <iid> <col>=<value>` verb is
737
+ * argv-incapable of expressing 2+ file `--set` entries, so
738
+ * this branch is argv-unreachable in practice; kept as
739
+ * defense-in-depth.
740
+ * 2. **multi-file leg (`'item_set'` only post-fold)** — 2+ file
741
+ * `--set` entries on `'item_set'` callShape surface
742
+ * `'multi_file_set_unsupported'` (argv-unreachable defensive).
743
+ * The other 3 reachable callShapes (`'item_update_single'` /
744
+ * `'item_update_bulk'` / `'item_create'`) fall through to the
745
+ * mixed gate + clean leg for the multi-file dispatch routing.
746
+ * 3. **mixed leg** — 1+ file `--set` + any value `--set` /
475
747
  * `--set-raw` / `--name` surfaces `'mixed_file_and_value_sets'`
476
748
  * on `'item_set'` / `'item_update_single'` / `'item_update_bulk'`.
477
749
  * Universal rule on those callShapes: mixing forces non-atomic
@@ -480,25 +752,29 @@ export interface EnforceSingleFileColumnSetInputs {
480
752
  * asymmetry — `create_item` natively bundles non-file
481
753
  * `column_values` atomically into leg-1, and `--name` is
482
754
  * required on create.
483
- * 4. **clean leg** — 1 file `--set`, no mutex violation:
484
- * - `'item_update_single'` / `'item_set'` return
485
- * `{ kind: 'file', columnId, rawValue }` for downstream
486
- * {@link precheckLocalFile} + {@link executeFileColumnSet}
487
- * (M38 path; unchanged).
488
- * - `'item_update_bulk'` → return `{ kind: 'file_bulk',
489
- * columnId, rawValue }` for the action body's per-item
490
- * multipart fan-out (v0.7-M42 D5 carve-out fold).
491
- * - `'item_create'` return `{ kind: 'file_create', columnId,
492
- * rawValue }` for the action body's two-leg `create_item`
493
- * then `add_file_to_column` helper (v0.7-M43 D6 carve-out
494
- * fold).
755
+ * 4. **clean leg** — 1 file `--set`, no mutex violation. Branches
756
+ * on N (single vs multi) then callShape:
757
+ * - N=1 (single-file path):
758
+ * - `'item_update_single'` / `'item_set'` → `{ kind: 'file',
759
+ * columnId, rawValue }` (M38 path; unchanged).
760
+ * - `'item_update_bulk'` → `{ kind: 'file_bulk', ... }`
761
+ * (v0.7-M42 D5 carve-out fold).
762
+ * - `'item_create'` `{ kind: 'file_create', ... }`
763
+ * (v0.7-M43 D6 carve-out fold).
764
+ * - N>1 (multi-file path v0.8-M46 D2 carve-out fold):
765
+ * - `'item_update_single'` `{ kind: 'file_multi', entries }`
766
+ * for the single-item multi-leg fan-out helper.
767
+ * - `'item_update_bulk'` → `{ kind: 'file_bulk_multi',
768
+ * entries }` for the bulk per-item multi-leg fan-out.
769
+ * - `'item_create'` → `{ kind: 'file_create_multi', entries }`
770
+ * for the create-time two-leg-group multi-file helper.
495
771
  *
496
772
  * The function is sync + pure. No I/O. Path validation lives at a
497
773
  * SEPARATE step (`precheckLocalFile` from `src/utils/file-source.ts`)
498
- * that the caller runs AFTER this function returns a `kind: 'file'`
774
+ * that the caller runs AFTER this function returns a `kind: 'file*'`
499
775
  * result.
500
776
  */
501
- export declare const enforceSingleFileColumnSet: (inputs: EnforceSingleFileColumnSetInputs) => FileColumnSetEnforcementResult;
777
+ export declare const routeFileColumnDispatch: (inputs: RouteFileColumnDispatchInputs) => FileColumnDispatchRoute;
502
778
  /**
503
779
  * Argv-level setEntry shape (`<token>=<value>` split, pre-resolution).
504
780
  * Used as input to {@link preCheckM38FileDispatch}.
@@ -550,6 +826,36 @@ export type PreCheckM38FileDispatchResult = {
550
826
  readonly warnings: readonly ResolverWarning[];
551
827
  readonly source: 'live' | 'cache' | 'mixed' | undefined;
552
828
  readonly cacheAgeSeconds: number | null;
829
+ } | {
830
+ readonly kind: 'file_multi';
831
+ readonly entries: readonly {
832
+ readonly columnId: string;
833
+ readonly rawValue: string;
834
+ readonly token: string;
835
+ }[];
836
+ readonly warnings: readonly ResolverWarning[];
837
+ readonly source: 'live' | 'cache' | 'mixed' | undefined;
838
+ readonly cacheAgeSeconds: number | null;
839
+ } | {
840
+ readonly kind: 'file_bulk_multi';
841
+ readonly entries: readonly {
842
+ readonly columnId: string;
843
+ readonly rawValue: string;
844
+ readonly token: string;
845
+ }[];
846
+ readonly warnings: readonly ResolverWarning[];
847
+ readonly source: 'live' | 'cache' | 'mixed' | undefined;
848
+ readonly cacheAgeSeconds: number | null;
849
+ } | {
850
+ readonly kind: 'file_create_multi';
851
+ readonly entries: readonly {
852
+ readonly columnId: string;
853
+ readonly rawValue: string;
854
+ readonly token: string;
855
+ }[];
856
+ readonly warnings: readonly ResolverWarning[];
857
+ readonly source: 'live' | 'cache' | 'mixed' | undefined;
858
+ readonly cacheAgeSeconds: number | null;
553
859
  };
554
860
  export interface PreCheckM38FileDispatchInputs {
555
861
  readonly client: MondayClient;
@@ -1 +1 @@
1
- {"version":3,"file":"file-column-set.d.ts","sourceRoot":"","sources":["../../src/api/file-column-set.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAgC,KAAK,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