@uipath/maestro-tool 1.202.2 → 1.203.0-preview.180

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 (193) hide show
  1. package/README.md +8 -0
  2. package/dist/THIRD-PARTY-NOTICES.md +83 -290
  3. package/dist/{authoring-818595dq.js → authoring-at68vr5g.js} +7 -5
  4. package/dist/{authoring-6r3wx3fa.js → authoring-sh284a0x.js} +3 -3
  5. package/dist/{authoring-61hqf5em.js → authoring-szfy0rh1.js} +5 -5
  6. package/dist/{binding-service-643e69bb.js → binding-service-8a05gy4k.js} +37 -29
  7. package/dist/{bpmn-action-type-validator-kx36sqhe.js → bpmn-action-type-validator-8kvyvvcf.js} +2 -2
  8. package/dist/bpmn-binding-resolver-5scq28mc.js +145 -0
  9. package/dist/{bpmn-branch-y1m9f10n.js → bpmn-branch-t12a7jvf.js} +50 -44
  10. package/dist/bpmn-format-service-ay6jd9he.js +69 -0
  11. package/dist/{bpmn-refresh-service-ew545y06.js → bpmn-refresh-service-ak1ctkwg.js} +4 -4
  12. package/dist/{bpmn-update-metadata-service-jhahhjab.js → bpmn-update-metadata-service-hqe4edze.js} +6 -5
  13. package/dist/{bpmn-validate-service-6z2dj8ac.js → bpmn-validate-service-48sfy3a2.js} +3 -3
  14. package/dist/{case-api-4mstfkzf.js → case-api-e3fmq685.js} +6 -6
  15. package/dist/case-bindings-service-nswc6v0v.js +240 -0
  16. package/dist/case-debug-studio-web-service-58gtqznh.js +135 -0
  17. package/dist/case-format-service-6s5e1ckk.js +84 -0
  18. package/dist/{case-pack-service-v7wtb0qt.js → case-pack-service-sg435he1.js} +62 -11
  19. package/dist/{case-validate-service-bnpaf0zt.js → case-validate-service-7s69shsa.js} +1424 -42
  20. package/dist/{connector-enrichment-service-scrqnke3.js → connector-enrichment-service-9rqr3esj.js} +27 -26
  21. package/dist/{connector-lookup-service-hnk08t3m.js → connector-lookup-service-pencasp9.js} +5 -5
  22. package/dist/{connector-service-581bhxaj.js → connector-service-k4cgcv2b.js} +224 -56
  23. package/dist/{connector-task-spec-y2tcthz5.js → connector-task-spec-13ex0x0m.js} +27 -26
  24. package/dist/{conversion-FQTRFHRX-03xh3xbp.js → conversion-FQTRFHRX-0y9br7gw.js} +6 -5
  25. package/dist/de-FGHEJRCI-gn4cf5gh.js +2697 -0
  26. package/dist/de-MUJPA4EB-dpg7t2rw.js +173 -0
  27. package/dist/{debug-conversation-trigger-nj04k7s2.js → debug-conversation-trigger-wgzjaasj.js} +17 -14
  28. package/dist/{debug-http-client-c4teyma3.js → debug-http-client-7dvbwp96.js} +2 -2
  29. package/dist/{debug-service-m5jdyz3q.js → debug-service-8cwxhgww.js} +3 -3
  30. package/dist/{edge-service-vv2yfsn4.js → edge-service-szpsaezp.js} +17 -14
  31. package/dist/{index-yqfqxh2r.js → embedded-file-reader-0sjt4nkj.js} +96 -16641
  32. package/dist/{en-TBNO2WUV-rfe87pgh.js → en-BWGKA5OE-1qkvb9rn.js} +2 -2
  33. package/dist/en-FBPVNKFN-dqt573xn.js +138 -0
  34. package/dist/en-TBNO2WUV-9nan43e5.js +1936 -0
  35. package/dist/{enrichment-service-a65qt7y1.js → enrichment-service-7n1tf75p.js} +4 -4
  36. package/dist/es-7SE7HX2X-8yh1aj2y.js +173 -0
  37. package/dist/es-KR3ZSNMP-0cszm2n3.js +2697 -0
  38. package/dist/es-MX-2MYFZU7X-3rek4r73.js +173 -0
  39. package/dist/es-MX-XXZJGC4R-b4fbwe9d.js +2697 -0
  40. package/dist/first-party-service-srxaftkn.js +27 -0
  41. package/dist/{flow-api-vqvvs0q2.js → flow-api-4vkpbmt3.js} +7 -7
  42. package/dist/{flow-debug-service-vd7bdyhg.js → flow-debug-service-9tad5ckh.js} +66 -41
  43. package/dist/{flow-eval-node-target-mve3v55h.js → flow-eval-node-target-g222rh2e.js} +22 -15
  44. package/dist/flow-eval-run-api-hashjgq1.js +13 -0
  45. package/dist/{flow-eval-run-service-rt9kg4wx.js → flow-eval-run-service-btghb02r.js} +109 -224
  46. package/dist/{flow-eval-service-ededh59n.js → flow-eval-service-ma5psrsd.js} +346 -302
  47. package/dist/{flow-init-service-4ve9tr0t.js → flow-init-service-662zhfd3.js} +22 -18
  48. package/dist/{flow-io-2dd3sx38.js → flow-io-3cqz0svg.js} +16 -13
  49. package/dist/{flow-migrate-service-nbe6et60.js → flow-migrate-service-ehx7nmsr.js} +18 -14
  50. package/dist/{flow-pack-service-b2n877d8.js → flow-pack-service-a3w3489r.js} +43 -35
  51. package/dist/flow-validate-service-02e21w4d.js +3555 -0
  52. package/dist/fr-MDFKNZ4C-h4a122k9.js +173 -0
  53. package/dist/fr-Y6NPVODW-q5ef3htr.js +2697 -0
  54. package/dist/{governance-fetcher-at165287.js → governance-fetcher-7vxmap1e.js} +5 -4
  55. package/dist/{headless-85f2cys0.js → headless-627q5my5.js} +42909 -1756
  56. package/dist/{hitl-service-xn1bt80z.js → hitl-service-fn94tk6z.js} +16 -13
  57. package/dist/{index-hfsfzg4k.js → index-3arytfxn.js} +6 -4
  58. package/dist/{index-d1yqqk6q.js → index-55cym5j7.js} +6 -4
  59. package/dist/{index-0j6xww0f.js → index-9f94yk28.js} +3 -3
  60. package/dist/{index-1kgxzh8x.js → index-fz4ttsde.js} +14 -2
  61. package/dist/index-gvwc29bb.js +16742 -0
  62. package/dist/{index-mkgrn150.js → index-j1azsfr5.js} +36 -33
  63. package/dist/index-kmp9fmhb.js +25 -0
  64. package/dist/{index-938ee96p.js → index-rtg24r4x.js} +1 -1
  65. package/dist/index-tzccx5ym.js +2961 -0
  66. package/dist/{index-acd6bpqc.js → index-ymsd3pyx.js} +12 -15
  67. package/dist/index.js +3 -3
  68. package/dist/{input-reader-1wda1a2v.js → input-reader-7pzkcw6t.js} +1 -1
  69. package/dist/{input-reader-svafwk7x.js → input-reader-j8rvde4z.js} +1 -1
  70. package/dist/ja-Q5PXKJ2V-tzf2rvz2.js +2697 -0
  71. package/dist/ja-UTQEAP34-8e0q6swp.js +173 -0
  72. package/dist/known-types-8dhhqk35.js +19 -0
  73. package/dist/ko-AXCHW2OK-askct7f6.js +173 -0
  74. package/dist/ko-AYBDSRZG-am0h0m2r.js +2697 -0
  75. package/dist/{maestro-automate-entry-gwntzkvj.js → maestro-automate-entry-jehpbg37.js} +2 -2
  76. package/dist/{maestro-debug-service-dvh7qbx8.js → maestro-debug-service-xhtszkrc.js} +10 -10
  77. package/dist/{maestro-pack-service-fam5zdm3.js → maestro-pack-service-fkkc5g3v.js} +12 -6
  78. package/dist/{node-ks3095fb.js → node-p4bde6qy.js} +2344 -376
  79. package/dist/node-service-frvz67y3.js +83 -0
  80. package/dist/{node-sync-service-zwvm30qg.js → node-sync-service-wa2t7c65.js} +14 -14
  81. package/dist/{packager-tool-me5q0naa.js → packager-tool-095jzn8v.js} +16 -6
  82. package/dist/{packager-tool-y5f2qhfe.js → packager-tool-19030vpg.js} +32 -2
  83. package/dist/{packager-tool-gtqkcj4x.js → packager-tool-2c1rbj85.js} +310 -13
  84. package/dist/packager-tool-2q1mffef.js +261 -0
  85. package/dist/{flow-validate-service-0hxf5080.js → packager-tool-2xrng5ff.js} +1956 -3065
  86. package/dist/{packager-tool-8dgxmjzx.js → packager-tool-30ky51ca.js} +6 -3
  87. package/dist/{packager-tool-d5mjdpbf.js → packager-tool-4r35ye9r.js} +5 -4
  88. package/dist/packager-tool-53w8skv5.js +262 -0
  89. package/dist/{packager-tool-db4jm1rz.js → packager-tool-56gcg9de.js} +1 -1
  90. package/dist/{packager-tool-29eg86w6.js → packager-tool-6rsegsby.js} +6 -7
  91. package/dist/packager-tool-7msx23gd.js +13 -0
  92. package/dist/packager-tool-7q6z6npd.js +1937 -0
  93. package/dist/packager-tool-8qp60s20.js +12 -0
  94. package/dist/{packager-tool-s1r7krkp.js → packager-tool-9pccpz3r.js} +1 -1
  95. package/dist/{packager-tool-m351tkkr.js → packager-tool-c95fhhys.js} +30 -8
  96. package/dist/{packager-tool-kg5sxneg.js → packager-tool-cmzzh4f8.js} +72 -73
  97. package/dist/{packager-tool-ffvmys2r.js → packager-tool-cr0z8cbj.js} +5 -5
  98. package/dist/{packager-tool-8fkt71n4.js → packager-tool-cs1ec1da.js} +4 -3
  99. package/dist/{packager-tool-xatnrtwp.js → packager-tool-d2813z49.js} +9 -9
  100. package/dist/packager-tool-d88rqwk8.js +135 -0
  101. package/dist/{packager-tool-pm3qh1hy.js → packager-tool-dh5nppv4.js} +1 -1
  102. package/dist/packager-tool-dqxz5v18.js +486 -0
  103. package/dist/{packager-tool-r87gxwqa.js → packager-tool-e87tzg4y.js} +2 -2
  104. package/dist/{packager-tool-w9fd7vzs.js → packager-tool-f33sg3vr.js} +9 -9
  105. package/dist/{packager-tool-cj2ka9jr.js → packager-tool-fer9mdsq.js} +2 -2
  106. package/dist/{packager-tool-70eh7rpg.js → packager-tool-fm67whdy.js} +23 -5
  107. package/dist/packager-tool-fq7wtkd3.js +21012 -0
  108. package/dist/packager-tool-fvm2dddf.js +6297 -0
  109. package/dist/packager-tool-gdtpsdn7.js +342 -0
  110. package/dist/{packager-tool-ejyeka5x.js → packager-tool-gpwec9sp.js} +2 -2
  111. package/dist/{packager-tool-pap09zfh.js → packager-tool-h8x54cvx.js} +1 -1
  112. package/dist/{packager-tool-9vh3df76.js → packager-tool-hdmhxdch.js} +7 -7
  113. package/dist/packager-tool-hnyecbk6.js +88 -0
  114. package/dist/{packager-tool-mtbak8t4.js → packager-tool-j00gcgbs.js} +2 -2
  115. package/dist/packager-tool-j78fwwhq.js +16 -0
  116. package/dist/packager-tool-jysvpt8p.js +11 -0
  117. package/dist/{packager-tool-jfv7t0c8.js → packager-tool-kb554twx.js} +94 -94
  118. package/dist/{packager-tool-k4x5yn3p.js → packager-tool-khm7zsm8.js} +4 -1
  119. package/dist/packager-tool-kj0qc4f4.js +269 -0
  120. package/dist/{packager-tool-12636p2y.js → packager-tool-mcjjj1hk.js} +4 -4
  121. package/dist/{packager-tool-bftjhmqz.js → packager-tool-mfrdmqmt.js} +124 -2
  122. package/dist/{packager-tool-qgh5yaeh.js → packager-tool-mj89jhvb.js} +1 -1
  123. package/dist/{packager-tool-ve35117x.js → packager-tool-mjz4hma1.js} +5791 -176
  124. package/dist/packager-tool-paq9c70w.js +1332 -0
  125. package/dist/{packager-tool-d8v984ah.js → packager-tool-q2gwvnf5.js} +15 -56
  126. package/dist/{packager-tool-nmznynbj.js → packager-tool-qff6ang6.js} +1 -1
  127. package/dist/{packager-tool-j79gbsee.js → packager-tool-rg5pkkf0.js} +6 -6
  128. package/dist/{packager-tool-7309ymg1.js → packager-tool-s1466723.js} +10 -13
  129. package/dist/{packager-tool-54b4v7wp.js → packager-tool-te6rrpsz.js} +205 -195
  130. package/dist/packager-tool-vcjq9xkc.js +1895 -0
  131. package/dist/{packager-tool-w20r6n9v.js → packager-tool-vck7ct1e.js} +2877 -2221
  132. package/dist/{packager-tool-e8td7b01.js → packager-tool-vdc8r21p.js} +10328 -16610
  133. package/dist/{packager-tool-nxw5yzs7.js → packager-tool-vqcnvaae.js} +1 -1
  134. package/dist/{packager-tool-7rz102fw.js → packager-tool-wd01egnx.js} +1 -1
  135. package/dist/{packager-tool-gxqd24n0.js → packager-tool-wger1vt9.js} +7 -7
  136. package/dist/{packager-tool-a6yfnjgx.js → packager-tool-wynrdnqj.js} +1 -1
  137. package/dist/packager-tool-x0eamrk4.js +104577 -0
  138. package/dist/packager-tool-x92czn5x.js +208 -0
  139. package/dist/{packager-tool-am67sn1c.js → packager-tool-xtkgeccn.js} +1 -1
  140. package/dist/packager-tool-y59jhapb.js +10369 -0
  141. package/dist/{packager-tool-317z6dc1.js → packager-tool-ydg78w9z.js} +23 -23
  142. package/dist/{packager-tool-rr8hveb9.js → packager-tool-ygrrb1zh.js} +1 -1
  143. package/dist/{packager-tool-f0kd5kq4.js → packager-tool-yrsrzz1a.js} +127 -12
  144. package/dist/{packager-tool-d9dpx9wn.js → packager-tool-z185rq2a.js} +1 -1
  145. package/dist/{packager-tool-79gws1zn.js → packager-tool-z6nkdv48.js} +270 -24
  146. package/dist/{packager-tool-802qm7jy.js → packager-tool-zzxt99e4.js} +3 -3
  147. package/dist/packager-tool.js +75 -218
  148. package/dist/{project-artifacts-9z7atbk7.js → project-artifacts-h5cydk2n.js} +1 -1
  149. package/dist/{project-validator-0rkrfmj0.js → project-validator-ek97s27p.js} +1 -1
  150. package/dist/pt-3DIO5QWG-59b3f4bc.js +173 -0
  151. package/dist/pt-BR-TKHNHMET-dn6zxk1d.js +2697 -0
  152. package/dist/pt-BR-Y6K6XHXK-mp3hwhw1.js +173 -0
  153. package/dist/pt-ROXU257Y-yd80gx6s.js +2697 -0
  154. package/dist/{resourcesSyncService-3pajvveg.js → resourcesSyncService-7s92g1hm.js} +28 -27
  155. package/dist/ro-AVAWPKOO-42m6am1w.js +2697 -0
  156. package/dist/ro-BWR3ONRR-vzx3hy8a.js +173 -0
  157. package/dist/ru-GSCT4ARZ-jrxwev63.js +10 -0
  158. package/dist/ru-WBLQ5B2U-s4em88p0.js +10 -0
  159. package/dist/sdd-lookup-7h7j2h6v.js +48 -0
  160. package/dist/{serialization-BXU6AKAN-dk0sqx89.js → serialization-BXU6AKAN-0ghhrsja.js} +6 -5
  161. package/dist/{shared-utils-twgpb9ax.js → shared-utils-6z7gnnc8.js} +1 -1
  162. package/dist/{strict-case-rules-zxnq80zm.js → strict-case-rules-byym8cvc.js} +141 -109
  163. package/dist/strict-sdd-audit-v156c9e3.js +2520 -0
  164. package/dist/tidy-service-zyy7wxc0.js +39 -0
  165. package/dist/{tool-pxfafj3m.js → tool-dejjyv8m.js} +213 -51
  166. package/dist/{tool-td30zmyt.js → tool-v0r5qzcc.js} +106 -146
  167. package/dist/tool.js +3 -3
  168. package/dist/tr-5IIHSFW5-hw4cewew.js +173 -0
  169. package/dist/tr-JMIP7ZSL-fb67ft9w.js +2696 -0
  170. package/dist/{trigger-enrichment-service-t3wcd12r.js → trigger-enrichment-service-ak1nrz5t.js} +30 -29
  171. package/dist/{variable-service-2q705dsx.js → variable-service-t9gsp8xs.js} +16 -13
  172. package/dist/{wait-for-flow-job-sx0ht8sb.js → wait-for-flow-job-1s8ka07s.js} +7 -7
  173. package/dist/{xml-949787yf.js → xml-3rzcgm9z.js} +1359 -659
  174. package/dist/zh-CN-IFFXSEJS-tke4mzty.js +2697 -0
  175. package/dist/zh-CN-R2KU4U5L-tc1hat59.js +173 -0
  176. package/dist/zh-TW-GNKMELBF-j674515r.js +173 -0
  177. package/dist/zh-TW-IYBNYAMG-wcan0qpb.js +2697 -0
  178. package/package.json +3 -2
  179. package/dist/bpmn-format-service-r67afbny.js +0 -477
  180. package/dist/case-debug-studio-web-service-kj1797m8.js +0 -336
  181. package/dist/known-types-eq32py2n.js +0 -20
  182. package/dist/node-service-teagjd9n.js +0 -75
  183. package/dist/packager-tool-15bstxb6.js +0 -4192
  184. package/dist/packager-tool-1zpm7wts.js +0 -7217
  185. package/dist/packager-tool-7tjxtpfp.js +0 -106
  186. package/dist/packager-tool-ckhyvcn5.js +0 -58
  187. package/dist/packager-tool-dz506qqq.js +0 -2120
  188. package/dist/packager-tool-hpc2j0zw.js +0 -27
  189. package/dist/packager-tool-jjpc0yka.js +0 -304
  190. package/dist/packager-tool-xtv236p7.js +0 -73
  191. package/dist/strict-sdd-audit-zc0n5vj6.js +0 -1024
  192. package/dist/tidy-service-hc9gex0v.js +0 -36
  193. /package/dist/{localization-xecwjpe2.js → localization-y790z9vm.js} +0 -0
@@ -0,0 +1,39 @@
1
+ import {
2
+ UI_ONLY_NODE_TYPES,
3
+ tidyFlow
4
+ } from "./packager-tool-2c1rbj85.js";
5
+ import"./packager-tool-19030vpg.js";
6
+ import"./packager-tool-zzxt99e4.js";
7
+ import"./packager-tool-te6rrpsz.js";
8
+ import"./packager-tool-6rsegsby.js";
9
+ import"./packager-tool-wd01egnx.js";
10
+ import"./packager-tool-2513jrxr.js";
11
+ import"./packager-tool-khm7zsm8.js";
12
+ import"./packager-tool-vcjq9xkc.js";
13
+ import"./packager-tool-nkrmjr3a.js";
14
+ import"./packager-tool-rs6jm14d.js";
15
+ import"./packager-tool-hk1gxnth.js";
16
+ import"./packager-tool-7q6z6npd.js";
17
+ import"./packager-tool-sc961w0q.js";
18
+ import"./packager-tool-gpwec9sp.js";
19
+ import"./packager-tool-vqcnvaae.js";
20
+ import"./packager-tool-gbgfwx8f.js";
21
+ import"./packager-tool-d88rqwk8.js";
22
+ import"./packager-tool-jysvpt8p.js";
23
+ import"./packager-tool-fvm2dddf.js";
24
+ import"./packager-tool-p79yh9ww.js";
25
+ import"./packager-tool-vdc8r21p.js";
26
+ import"./packager-tool-z83pga0z.js";
27
+ import"./packager-tool-6ejqwbw9.js";
28
+ import"./packager-tool-mcaf4ewf.js";
29
+ import"./packager-tool-z6nkdv48.js";
30
+ import"./packager-tool-0v3s8r01.js";
31
+ import"./packager-tool-4mna26cc.js";
32
+ import"./packager-tool-c23zrhj8.js";
33
+ import"./packager-tool-1yh8g550.js";
34
+ export {
35
+ UI_ONLY_NODE_TYPES,
36
+ tidyFlow
37
+ };
38
+
39
+ //# debugId=A4DCCD417C9FDDBC64756E2164756E21
@@ -32,18 +32,18 @@ import {
32
32
  registerSharedInstanceCommands,
33
33
  registerSharedProcessCommands,
34
34
  registerSharedProcessesCommands
35
- } from "./packager-tool-xatnrtwp.js";
36
- import"./packager-tool-s1r7krkp.js";
35
+ } from "./packager-tool-d2813z49.js";
36
+ import"./packager-tool-9pccpz3r.js";
37
37
  import {
38
38
  VALID_PROJECT_NAME_REGEX,
39
39
  formatTraceLine
40
40
  } from "./packager-tool-eypvc2kv.js";
41
- import"./packager-tool-me5q0naa.js";
42
- import"./packager-tool-qgh5yaeh.js";
43
- import"./packager-tool-f0kd5kq4.js";
41
+ import"./packager-tool-yrsrzz1a.js";
44
42
  import"./packager-tool-0gctz400.js";
45
43
  import"./packager-tool-qa9gftnj.js";
46
44
  import"./packager-tool-yc4kw997.js";
45
+ import"./packager-tool-095jzn8v.js";
46
+ import"./packager-tool-mj89jhvb.js";
47
47
  import {
48
48
  Option,
49
49
  OutputFormatter,
@@ -56,7 +56,7 @@ import {
56
56
  mapPackageMetadataOptions,
57
57
  processContext,
58
58
  registerPackageMetadataOptions
59
- } from "./packager-tool-79gws1zn.js";
59
+ } from "./packager-tool-z6nkdv48.js";
60
60
  import {
61
61
  getFileSystem
62
62
  } from "./packager-tool-0v3s8r01.js";
@@ -66,8 +66,9 @@ import {
66
66
  // ../case-tool/package.json
67
67
  var package_default = {
68
68
  name: "@uipath/case-tool",
69
+ author: "UiPath",
69
70
  license: "SEE LICENSE IN LICENSE.txt",
70
- version: "1.202.1",
71
+ version: "1.203.0-preview.180",
71
72
  description: "Manage Case Management instances, processes, and incidents.",
72
73
  private: false,
73
74
  repository: {
@@ -121,6 +122,72 @@ var package_default = {
121
122
  }
122
123
  };
123
124
 
125
+ // ../case-tool/src/commands/bindings.ts
126
+ var CASE_BINDINGS_SYNC_EXAMPLES = [
127
+ {
128
+ Description: "Generate bindings_v2.json from a case plan's root bindings",
129
+ Command: "uip maestro case bindings sync case.json",
130
+ Output: {
131
+ Code: "CaseBindingsSync",
132
+ Data: {
133
+ BindingsPath: "bindings_v2.json",
134
+ ResourceCount: 8,
135
+ ConnectionCount: 2
136
+ }
137
+ }
138
+ }
139
+ ];
140
+ var registerBindingsCommand = (program) => {
141
+ const bindings = program.command("bindings").description("Generate the bindings_v2.json sidecar from a case plan. Required input to 'uip solution resources refresh' for solutions authored without opening Studio Web.").addHelpText("after", `
142
+ The sidecar is a pure derivation of the case plan's root 'bindings' array: the
143
+ 'name' and 'folderPath' bindings that share a resourceKey collapse into one
144
+ entry keyed by that resourceKey, and each distinct connection collapses the
145
+ same way. Nothing else is read — no network call, no registry file — so the
146
+ output depends only on the case plan you pass in.
147
+
148
+ Generate it rather than writing it by hand. The consumer deserializes the
149
+ on-disk 'key' field, so an entry written as 'resourceKey' has no identity and
150
+ is skipped without an error: the resources are all present in the file and all
151
+ invisible to 'uip solution resources refresh'.
152
+
153
+ Subcommands:
154
+ sync Write 'bindings_v2.json' next to a case plan.`);
155
+ bindings.command("sync").description("Derive bindings_v2.json from a case plan and write it into the same directory.").argument("<file>", "Path to the case plan JSON file. The output 'bindings_v2.json' is written next to it, overwriting any existing file.").examples(CASE_BINDINGS_SYNC_EXAMPLES).trackedAction(processContext, async (file) => {
156
+ const { syncCaseBindings } = await import("./case-bindings-service-nswc6v0v.js");
157
+ const [error, result] = await catchError(syncCaseBindings(file));
158
+ if (error) {
159
+ OutputFormatter.error({
160
+ Result: RESULTS.Failure,
161
+ ErrorCode: "unknown_error",
162
+ Message: `Bindings sync failed: ${error.message}`,
163
+ Instructions: `Verify that ${file} is a readable case plan JSON file.`
164
+ });
165
+ processContext.exit(1);
166
+ return;
167
+ }
168
+ if (!result.ok) {
169
+ OutputFormatter.error({
170
+ Result: RESULTS.Failure,
171
+ ErrorCode: "invalid_argument",
172
+ Retry: "RetryWillNotFix",
173
+ Message: result.message,
174
+ Instructions: result.instructions
175
+ });
176
+ processContext.exit(1);
177
+ return;
178
+ }
179
+ OutputFormatter.success({
180
+ Result: RESULTS.Success,
181
+ Code: "CaseBindingsSync",
182
+ Data: {
183
+ BindingsPath: result.path,
184
+ ResourceCount: result.resourceCount,
185
+ ConnectionCount: result.connectionCount
186
+ }
187
+ });
188
+ });
189
+ };
190
+
124
191
  // ../case-tool/src/utils/schemaFile.ts
125
192
  async function readSchema(filePath) {
126
193
  const fs = getFileSystem();
@@ -721,7 +788,7 @@ var CASE_DEBUG_EXAMPLES = [
721
788
  ];
722
789
  function registerDebugCommand(program) {
723
790
  program.command("debug").description("Debug a case project by uploading to Studio Web and running a debug session").argument("<project-path>", "Path to the case project directory (must contain project.uiproj)").option("--folder-id <id>", "Orchestrator folder ID (OrganizationUnitId). Auto-detected if not provided.").option("--poll-interval <ms>", "Polling interval in milliseconds", "2000").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(CASE_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
724
- const { getLoginStatusAsync } = await import("./index-1kgxzh8x.js");
791
+ const { getLoginStatusAsync } = await import("./index-fz4ttsde.js");
725
792
  const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
726
793
  ensureTokenValidityMinutes: options.loginValidity
727
794
  }));
@@ -824,8 +891,8 @@ function registerDebugCommand(program) {
824
891
  logger.info(` Tenant: ${tenantName} (${tenantId})`);
825
892
  logger.info(` Base URL: ${baseUrl}`);
826
893
  const pollInterval = parseInt(options.pollInterval || "2000", 10);
827
- const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-kj1797m8.js");
828
- const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-m5jdyz3q.js");
894
+ const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-58gtqznh.js");
895
+ const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-8cwxhgww.js");
829
896
  const service = new CaseDebugStudioWebService;
830
897
  logger.info(`Starting Studio Web debug session for: ${projectPath}`);
831
898
  const [executeError, result] = await catchError(service.executeProjectViaStudioWeb(projectPath, studioWebConfig, {
@@ -851,7 +918,7 @@ function registerDebugCommand(program) {
851
918
  const {
852
919
  buildSolutionUploadFailureOutput,
853
920
  isSolutionUploadHttpError
854
- } = await import("./index-hfsfzg4k.js");
921
+ } = await import("./index-3arytfxn.js");
855
922
  if (isSolutionUploadHttpError(executeError)) {
856
923
  OutputFormatter.error(buildSolutionUploadFailureOutput(executeError, {
857
924
  subject: "case",
@@ -1184,6 +1251,55 @@ var registerEdgesCommand = (program) => {
1184
1251
  });
1185
1252
  };
1186
1253
 
1254
+ // ../case-tool/src/commands/format.ts
1255
+ var CASE_FORMAT_EXAMPLES = [
1256
+ {
1257
+ Description: "Rewrite a case plan pretty-printed so it can be edited",
1258
+ Command: "uip maestro case format case.json",
1259
+ Output: {
1260
+ Code: "CaseFormat",
1261
+ Data: { Changed: true, Lines: 1842, LongestLine: 118 }
1262
+ }
1263
+ }
1264
+ ];
1265
+ var registerFormatCommand = (program) => {
1266
+ program.command("format").description("Rewrite a case plan JSON file pretty-printed (2-space indent, one key per line) so it can be patched with a file-edit tool.").argument("<file>", "Path to the case plan JSON file, rewritten in place").examples(CASE_FORMAT_EXAMPLES).trackedAction(processContext, async (file) => {
1267
+ const { formatCasePlan } = await import("./case-format-service-6s5e1ckk.js");
1268
+ const [error, result] = await catchError(formatCasePlan(file));
1269
+ if (error) {
1270
+ OutputFormatter.error({
1271
+ Result: RESULTS.Failure,
1272
+ ErrorCode: "unknown_error",
1273
+ Message: `Formatting failed: ${error.message}`,
1274
+ Instructions: `Verify that ${file} is a readable case plan JSON file.`
1275
+ });
1276
+ processContext.exit(1);
1277
+ return;
1278
+ }
1279
+ if (!result.ok) {
1280
+ OutputFormatter.error({
1281
+ Result: RESULTS.Failure,
1282
+ ErrorCode: "invalid_argument",
1283
+ Retry: "RetryWillNotFix",
1284
+ Message: result.message,
1285
+ Instructions: result.instructions
1286
+ });
1287
+ processContext.exit(1);
1288
+ return;
1289
+ }
1290
+ OutputFormatter.success({
1291
+ Result: RESULTS.Success,
1292
+ Code: "CaseFormat",
1293
+ Data: {
1294
+ File: result.path,
1295
+ Changed: result.changed,
1296
+ Lines: result.lines,
1297
+ LongestLine: result.longestLine
1298
+ }
1299
+ });
1300
+ });
1301
+ };
1302
+
1187
1303
  // ../case-tool/src/commands/incidents.ts
1188
1304
  var registerIncidentsCommand = (program) => {
1189
1305
  registerSharedIncidentCommands(program, {
@@ -1212,7 +1328,7 @@ var initCaseProject = async (name, options) => {
1212
1328
  throw new Error(`Invalid project name "${name}". Name can only contain letters, numbers, underscores (_), and hyphens (-).`);
1213
1329
  }
1214
1330
  const fs = getFileSystem();
1215
- const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-hfsfzg4k.js");
1331
+ const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-3arytfxn.js");
1216
1332
  const { projectDir, autoCreatedSolution } = await prepareProjectLocation(fs, fs.path.resolve(name), name, { skipRegistration: options.skipSolutionRegistration === true });
1217
1333
  const projectDirExists = await fs.stat(projectDir).then(() => true).catch((err) => {
1218
1334
  const code = err instanceof Error ? err.code : undefined;
@@ -1305,7 +1421,7 @@ var initCaseProject = async (name, options) => {
1305
1421
  const solutionRegistration = await tryRegisterProjectInParentSolution(fs, projectDir, { skipRegistration: options.skipSolutionRegistration === true });
1306
1422
  let projectArtifacts;
1307
1423
  if ((solutionRegistration.Status === "Registered" || solutionRegistration.Status === "AlreadyRegistered") && solutionRegistration.Solution && solutionRegistration.ProjectId) {
1308
- const { ensureProjectArtifacts } = await import("./project-artifacts-9z7atbk7.js");
1424
+ const { ensureProjectArtifacts } = await import("./project-artifacts-h5cydk2n.js");
1309
1425
  projectArtifacts = await ensureProjectArtifacts({
1310
1426
  solutionDir: fs.path.dirname(solutionRegistration.Solution),
1311
1427
  projectId: solutionRegistration.ProjectId,
@@ -1360,8 +1476,8 @@ var registerInstancesCommand = (program) => {
1360
1476
  };
1361
1477
 
1362
1478
  // ../case-tool/src/commands/job.ts
1363
- var loadAuth = () => import("./index-1kgxzh8x.js");
1364
- var loadCaseApi = () => import("./case-api-4mstfkzf.js");
1479
+ var loadAuth = () => import("./index-fz4ttsde.js");
1480
+ var loadCaseApi = () => import("./case-api-e3fmq685.js");
1365
1481
  var CASE_JOB_STATUS_EXAMPLES = [
1366
1482
  {
1367
1483
  Description: "Get detailed status of a case job",
@@ -1557,16 +1673,17 @@ var DETECTION_FAILURE_MARKERS = [
1557
1673
  "is not a valid Case Management JSON of any previous version",
1558
1674
  "is not a valid Case Management JSON of any known version"
1559
1675
  ];
1560
- var AUTHORING_GUIDANCE = "Author caseplan.json directly, then run `uip maestro case validate <file>`. " + "The task and stage JSON shapes are documented in the uipath-maestro-case " + "skill under references/plugins/ — load it rather than inferring the shape " + "from packed output.";
1676
+ var CASE_PLAN_NAMES = "caseplan.case, caseplan.json, case.stage.json, default.stage.json";
1677
+ var AUTHORING_GUIDANCE = `Author the case plan directly (${CASE_PLAN_NAMES}), then run \`uip maestro case validate <file>\`. ` + "The task and stage JSON shapes are documented in the uipath-maestro-case " + "skill under references/plugins/ — load it rather than inferring the shape " + "from packed output.";
1561
1678
  var DETECTION_FAILURE_INSTRUCTIONS = [
1562
1679
  "The case plan did not match any schema version bundled with this CLI.",
1563
1680
  "",
1564
1681
  "This usually means a version mismatch rather than a corrupt file. Check the",
1565
- "`version` field at the root of caseplan.json: a plan opened and saved in",
1566
- "Studio Web is upgraded in place and may declare a NEWER version than this",
1567
- "CLI accepts, in which case upgrading the CLI is the fix. Note the wording of",
1568
- 'the underlying error — "any previous version" is misleading here, since the',
1569
- "usual cause is a plan that is newer, not older.",
1682
+ `\`version\` field at the root of the case plan (${CASE_PLAN_NAMES}): a plan`,
1683
+ "opened and saved in Studio Web is upgraded in place and may declare a NEWER",
1684
+ "version than this CLI accepts, in which case upgrading the CLI is the fix.",
1685
+ 'Note the wording of the underlying error — "any previous version" is',
1686
+ "misleading here, since the usual cause is a plan that is newer, not older.",
1570
1687
  "",
1571
1688
  "If the version is in range, the document is structurally invalid against that",
1572
1689
  "schema. Re-run `uip maestro case validate <file>` — validate reports per-node",
@@ -1606,7 +1723,7 @@ var CASE_PACK_EXAMPLES = [
1606
1723
  var registerPackCommand = (program) => {
1607
1724
  const command = program.command("pack").description("Pack a Case project into a .nupkg file").argument("<project-path>", "Path to the Case project directory").argument("<output-path>", "Output directory where the .nupkg will be saved").option("-n, --name <name>", "Package name (default: project folder name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0");
1608
1725
  registerPackageMetadataOptions(command).examples(CASE_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
1609
- const { CasePackService } = await import("./case-pack-service-v7wtb0qt.js");
1726
+ const { CasePackService } = await import("./case-pack-service-sg435he1.js");
1610
1727
  const service = new CasePackService;
1611
1728
  const [error, result] = await catchError(service.execute(projectPath, {
1612
1729
  output: outputPath,
@@ -1688,8 +1805,8 @@ var CASE_PROCESS_RUN_EXAMPLES = [
1688
1805
  }
1689
1806
  }
1690
1807
  ];
1691
- var loadAuth2 = () => import("./index-1kgxzh8x.js");
1692
- var loadCaseApi2 = () => import("./case-api-4mstfkzf.js");
1808
+ var loadAuth2 = () => import("./index-fz4ttsde.js");
1809
+ var loadCaseApi2 = () => import("./case-api-e3fmq685.js");
1693
1810
  function registerProcessCommand(program) {
1694
1811
  const processCmd = program.command("process").description("Manage Case processes");
1695
1812
  registerSharedProcessCommands(processCmd, { toolLabel: "Case" });
@@ -1927,7 +2044,7 @@ function registerProcessCommand(program) {
1927
2044
  }
1928
2045
  inputs = parsed;
1929
2046
  } else {
1930
- const { readStdin } = await import("./input-reader-svafwk7x.js");
2047
+ const { readStdin } = await import("./input-reader-j8rvde4z.js");
1931
2048
  const [stdinError, stdinData] = await catchError(readStdin());
1932
2049
  if (!stdinError && stdinData) {
1933
2050
  const [parseError, parsed] = await catchError(parseCaseInputs(stdinData));
@@ -2101,6 +2218,9 @@ function parseFilterString(filterStr) {
2101
2218
  return { filters, logic: "AND" };
2102
2219
  }
2103
2220
 
2221
+ // ../case-tool/src/utils/output-casing-hint.ts
2222
+ var OUTPUT_CASING_HINT = "Copied-into-caseplan subtrees keep their own key casing — see `packages/case-tool/docs/output-key-casing.md`.";
2223
+
2104
2224
  // ../case-tool/src/commands/registry.ts
2105
2225
  var REGISTRY_PULL_EXAMPLES = [
2106
2226
  {
@@ -2164,6 +2284,7 @@ var REGISTRY_LIST_EXAMPLES = [
2164
2284
  }
2165
2285
  }
2166
2286
  ];
2287
+ var VERBATIM_REGISTRY_FIELDS = ["entry", "config"];
2167
2288
  var REGISTRY_GET_EXAMPLES = [
2168
2289
  {
2169
2290
  Description: "Get a registry resource by identifier",
@@ -2237,7 +2358,7 @@ Subcommands:
2237
2358
  search Find resources by keyword and/or field filters
2238
2359
  get Get full schema for a single resource`);
2239
2360
  registry.command("pull").description("Pull and sync data from Case registry").option("-f, --force", "Force refresh, ignore cache").option("-s, --solution-id <solutionId>", "Include the registry of the solution").examples(REGISTRY_PULL_EXAMPLES).trackedAction(processContext, async (options) => {
2240
- const { pullResources } = await import("./resourcesSyncService-3pajvveg.js");
2361
+ const { pullResources } = await import("./resourcesSyncService-7s92g1hm.js");
2241
2362
  const [mapError, promises] = catchError(() => RESOURCE_TYPES.map((type) => pullResources({
2242
2363
  force: options.force,
2243
2364
  solutionId: options.solutionId
@@ -2289,7 +2410,7 @@ Subcommands:
2289
2410
  processContext.exit(1);
2290
2411
  return;
2291
2412
  }
2292
- const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-3pajvveg.js");
2413
+ const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-7s92g1hm.js");
2293
2414
  let searchResult;
2294
2415
  if (options.filter) {
2295
2416
  const [parseError, filters] = catchError(() => parseFilterString(options.filter));
@@ -2347,7 +2468,7 @@ Subcommands:
2347
2468
  });
2348
2469
  });
2349
2470
  registry.command("list").description("List all resources (use pull to update list)").option("--local", "List only in-solution sibling project resources (requires a .uipx in the current directory, its parent, or grandparent). Skips the tenant cache.").examples(REGISTRY_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
2350
- const { listLocalResources, listResources } = await import("./resourcesSyncService-3pajvveg.js");
2471
+ const { listLocalResources, listResources } = await import("./resourcesSyncService-7s92g1hm.js");
2351
2472
  let grouped;
2352
2473
  if (options.local) {
2353
2474
  const [localError, localGrouped] = await catchError(listLocalResources());
@@ -2394,7 +2515,7 @@ Subcommands:
2394
2515
  });
2395
2516
  });
2396
2517
  registry.command("get").description("Get resource(s) by identifier (entityKey or id)").argument("<identifier>", "The entityKey (process-types) or id (action-apps) of the resource").addOption(new Option("-t, --type <type>", `Limit search to a specific resource type (${GET_SEARCHABLE_TYPES.map((t) => t.type).join(", ")})`).choices(GET_SEARCHABLE_TYPES.map((t) => t.type))).option("--connection-id <id>", "Connection ID for connector-specific IS field metadata (custom fields). Only applies to typecache-* activity / trigger results.").option("--local", "Resolve the identifier against in-solution sibling project resources (requires a .uipx in the current directory, its parent, or grandparent). Skips the tenant cache. The identifier is the sibling's resource key or .uipx project Id.").examples(REGISTRY_GET_EXAMPLES).trackedAction(processContext, async (identifier, options) => {
2397
- const { getResources } = await import("./resourcesSyncService-3pajvveg.js");
2518
+ const { getResources } = await import("./resourcesSyncService-7s92g1hm.js");
2398
2519
  const [error, matches] = await catchError(getResources(identifier, options.type, {
2399
2520
  local: options.local
2400
2521
  }));
@@ -2431,11 +2552,11 @@ Subcommands:
2431
2552
  const id = m.resource.uiPathActivityTypeId;
2432
2553
  if (typeof id !== "string")
2433
2554
  return m;
2434
- const { lookupTypeCacheEntry } = await import("./connector-lookup-service-hnk08t3m.js");
2555
+ const { lookupTypeCacheEntry } = await import("./connector-lookup-service-pencasp9.js");
2435
2556
  const [lookupError, lookupResult] = await catchError(lookupTypeCacheEntry(id, m.resourceType));
2436
2557
  if (lookupError)
2437
2558
  return m;
2438
- const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-scrqnke3.js");
2559
+ const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-9rqr3esj.js");
2439
2560
  const [enrichError, definitions] = await catchError(enrichConnectorRegistryEntry(lookupResult.config, options.connectionId));
2440
2561
  if (enrichError || definitions === null)
2441
2562
  return m;
@@ -2460,8 +2581,8 @@ Subcommands:
2460
2581
  }
2461
2582
  });
2462
2583
  });
2463
- registry.command("get-connector").description("Look up a connector activity/trigger from the local TypeCache index").addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTOR_EXAMPLES).trackedAction(processContext, async (options) => {
2464
- const { lookupTypeCacheEntry } = await import("./connector-lookup-service-hnk08t3m.js");
2584
+ registry.command("get-connector").description(`Look up a connector activity/trigger from the local TypeCache index. ${OUTPUT_CASING_HINT}`).addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTOR_EXAMPLES).trackedAction(processContext, async (options) => {
2585
+ const { lookupTypeCacheEntry } = await import("./connector-lookup-service-pencasp9.js");
2465
2586
  const [error, result] = await catchError(lookupTypeCacheEntry(options.activityTypeId, options.type));
2466
2587
  if (error) {
2467
2588
  OutputFormatter.error({
@@ -2479,10 +2600,10 @@ Subcommands:
2479
2600
  Entry: result.entry,
2480
2601
  Config: result.config
2481
2602
  }
2482
- });
2603
+ }, { preserveDataKeys: VERBATIM_REGISTRY_FIELDS });
2483
2604
  });
2484
- registry.command("get-connection").description("Look up a connector and fetch available connections from Integration Service").addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTION_EXAMPLES).trackedAction(processContext, async (options) => {
2485
- const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-hnk08t3m.js");
2605
+ registry.command("get-connection").description(`Look up a connector and fetch available connections from Integration Service. ${OUTPUT_CASING_HINT}`).addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTION_EXAMPLES).trackedAction(processContext, async (options) => {
2606
+ const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-pencasp9.js");
2486
2607
  const [lookupError, lookupResult] = await catchError(lookupTypeCacheEntry(options.activityTypeId, options.type));
2487
2608
  if (lookupError) {
2488
2609
  OutputFormatter.error({
@@ -2511,7 +2632,7 @@ Subcommands:
2511
2632
  Config: lookupResult.config,
2512
2633
  Connections: connections
2513
2634
  }
2514
- });
2635
+ }, { preserveDataKeys: VERBATIM_REGISTRY_FIELDS });
2515
2636
  });
2516
2637
  };
2517
2638
 
@@ -3194,6 +3315,11 @@ var registerSlaCommand = (program) => {
3194
3315
  };
3195
3316
 
3196
3317
  // ../case-tool/src/commands/spec.ts
3318
+ var VERBATIM_SPEC_FIELDS = [
3319
+ "caseShape",
3320
+ "typecacheEntry",
3321
+ "essentialConfiguration"
3322
+ ];
3197
3323
  var SPEC_EXAMPLES = [
3198
3324
  {
3199
3325
  Description: "Get the full spec for a curated connector activity (Send Email)",
@@ -3250,7 +3376,7 @@ var SPEC_EXAMPLES = [
3250
3376
  }
3251
3377
  ];
3252
3378
  var registerSpecCommand = (program) => {
3253
- program.command("spec").description("Generate a normalized ConnectorTaskSpec — a one-stop description of everything a consumer needs to construct a runnable Integration Service activity or trigger task. Looks up the typeId in the local TypeCache, lists IS connections for the connector, and fetches IS metadata.").addOption(new Option("--type <type>", "TypeCache to look up").choices(["activity", "trigger"]).makeOptionMandatory()).requiredOption("--activity-type-id <uuid>", "Studio Web uiPathActivityTypeId — found via 'uip maestro case registry pull' + reading typecache-{activities,triggers}-index.json or 'uip maestro case registry get-connector'").requiredOption("--connection-id <id>", "Connection UUID. List candidates with `uip maestro case registry get-connection --type typecache-{activities,triggers} --activity-type-id <uuid>` and pick one before invoking spec.").option("--object-name <name>", "Override the typecache objectName. Required for entity-typed Curated triggers whose typecache stores a placeholder (e.g. Data Service `{tenantEntityName|folderEntityName}` — pick a real entity name).").option("--skip-case-shape", "Omit `caseShape` (`inputs[]`, `outputs[]`, `context[]`) from the response. Use during the planning phase when the caller only needs the connector contract (`inputs.*[?required]`, `references[*].discoverCommand`, `outputs.responseFields`). Re-run without the flag during implementation to get the full caseShape scaffold. Mutually exclusive with --input-details.").option("--input-details <json>", "JSON values to fold into the generated `caseShape`. Activity accepts {bodyParameters, queryParameters, pathParameters, filter}; trigger accepts {eventParameters, filter}. See `packages/case-tool/docs/spec-input-details.md` for the full reference. Mutually exclusive with --skip-case-shape.").examples(SPEC_EXAMPLES).trackedAction(processContext, async (options) => {
3379
+ program.command("spec").description(`Generate a normalized ConnectorTaskSpec — a one-stop description of everything a consumer needs to construct a runnable Integration Service activity or trigger task. Looks up the typeId in the local TypeCache, lists IS connections for the connector, and fetches IS metadata. ${OUTPUT_CASING_HINT}`).addOption(new Option("--type <type>", "TypeCache to look up").choices(["activity", "trigger"]).makeOptionMandatory()).requiredOption("--activity-type-id <uuid>", "Studio Web uiPathActivityTypeId — found via 'uip maestro case registry pull' + reading typecache-{activities,triggers}-index.json or 'uip maestro case registry get-connector'").requiredOption("--connection-id <id>", "Connection UUID. List candidates with `uip maestro case registry get-connection --type typecache-{activities,triggers} --activity-type-id <uuid>` and pick one before invoking spec.").option("--object-name <name>", "Override the typecache objectName. Required for entity-typed Curated triggers whose typecache stores a placeholder (e.g. Data Service `{tenantEntityName|folderEntityName}` — pick a real entity name).").option("--skip-case-shape", "Omit `caseShape` (`inputs[]`, `outputs[]`, `context[]`) from the response. Use during the planning phase when the caller only needs the connector contract (`inputs.*[?required]`, `references[*].discoverCommand`, `outputs.responseFields`). Re-run without the flag during implementation to get the full caseShape scaffold. Mutually exclusive with --input-details.").option("--input-details <json>", "JSON values to fold into the generated `caseShape`. Activity accepts {bodyParameters, queryParameters, pathParameters, filter}; trigger accepts {eventParameters, filter}. See `packages/case-tool/docs/spec-input-details.md` for the full reference. Mutually exclusive with --skip-case-shape.").examples(SPEC_EXAMPLES).trackedAction(processContext, async (options) => {
3254
3380
  logger.info(`Fetching ${options.type} spec for typeId ${options.activityTypeId} (connection: ${options.connectionId})`);
3255
3381
  let parsedInputDetails;
3256
3382
  if (options.inputDetails !== undefined) {
@@ -3280,7 +3406,7 @@ var registerSpecCommand = (program) => {
3280
3406
  skipCaseShape: options.skipCaseShape === true,
3281
3407
  inputDetails: parsedInputDetails
3282
3408
  };
3283
- const { fetchConnectorTaskSpec } = await import("./connector-task-spec-y2tcthz5.js");
3409
+ const { fetchConnectorTaskSpec } = await import("./connector-task-spec-13ex0x0m.js");
3284
3410
  const [error, spec] = await catchError(fetchConnectorTaskSpec(options.type, options.activityTypeId, options.connectionId, fetchOpts));
3285
3411
  if (error) {
3286
3412
  OutputFormatter.error({
@@ -3295,7 +3421,7 @@ var registerSpecCommand = (program) => {
3295
3421
  Result: RESULTS.Success,
3296
3422
  Code: "ConnectorTaskSpec",
3297
3423
  Data: spec
3298
- });
3424
+ }, { preserveDataKeys: VERBATIM_SPEC_FIELDS });
3299
3425
  });
3300
3426
  };
3301
3427
 
@@ -5146,9 +5272,9 @@ var TASKS_DESCRIBE_EXAMPLES = [
5146
5272
  }
5147
5273
  }
5148
5274
  ];
5149
- var loadConnectorEnrichment = () => import("./connector-enrichment-service-scrqnke3.js");
5150
- var loadTriggerEnrichment = () => import("./trigger-enrichment-service-t3wcd12r.js");
5151
- var loadEnrichment = () => import("./enrichment-service-a65qt7y1.js");
5275
+ var loadConnectorEnrichment = () => import("./connector-enrichment-service-9rqr3esj.js");
5276
+ var loadTriggerEnrichment = () => import("./trigger-enrichment-service-ak1nrz5t.js");
5277
+ var loadEnrichment = () => import("./enrichment-service-7n1tf75p.js");
5152
5278
  var TASK_TYPES = [
5153
5279
  "process",
5154
5280
  "action",
@@ -5425,6 +5551,7 @@ async function runDescribeTask(options) {
5425
5551
  }
5426
5552
  return describeEnrichableTask(normalizedType, options.id);
5427
5553
  }
5554
+ var VERBATIM_TASK_IO_FIELDS = ["inputs", "outputs", "enrichment"];
5428
5555
  var registerTasksCommand = (program) => {
5429
5556
  const tasks = program.command("tasks").description("Manage tasks within a stage in a case management definition JSON file");
5430
5557
  tasks.command("add", { hidden: true }).description("Add a new task to a stage").argument("<file>", "Path to the case management JSON file").argument("<stage-id>", "ID of the stage to add the task to").requiredOption("-t, --type <type>", `Task type: ${TASK_TYPES.join(", ")}`).option("-d, --display-name <displayName>", "Display name for the task").option("-n, --name <name>", "Process or workflow name").option("--folder-path <folderPath>", "Folder path for the process or workflow").option("--lane <lane>", "Parallel lane index (default: 0)", "0").option("--task-type-id <taskTypeId>", "Task type ID to enrich with bindings, inputs, and outputs").option("--should-run-only-once", "Whether the task should run only once").option("--description <description>", "Description of the task").option("--is-required", "Whether the task is required").option("--task-title <taskTitle>", "Title for the action task (action type only)").option("--priority <priority>", "Priority for the action task: Low, Medium, High, Critical (action type only, default: Medium)").option("--recipient <email>", "Recipient email for the action task (action type only, sets assignmentCriteria to user)").examples(TASKS_ADD_EXAMPLES).trackedAction(processContext, async (file, stageId, options) => {
@@ -5830,7 +5957,7 @@ var registerTasksCommand = (program) => {
5830
5957
  }
5831
5958
  });
5832
5959
  });
5833
- tasks.command("enrich").description("Enrich a task with input/output schemas from the API").requiredOption("--type <type>", `Task type: ${ENRICHABLE_TYPES.join(", ")}`).requiredOption("--id <id>", "Unique ID of the task (entityKey or action-app id)").option("--element-id <elementId>", "Element ID for variable binding").examples(TASKS_ENRICH_EXAMPLES).trackedAction(processContext, async (options) => {
5960
+ tasks.command("enrich").description(`Enrich a task with input/output schemas from the API. ${OUTPUT_CASING_HINT}`).requiredOption("--type <type>", `Task type: ${ENRICHABLE_TYPES.join(", ")}`).requiredOption("--id <id>", "Unique ID of the task (entityKey or action-app id)").option("--element-id <elementId>", "Element ID for variable binding").examples(TASKS_ENRICH_EXAMPLES).trackedAction(processContext, async (options) => {
5834
5961
  const normalizedType = options.type.toLowerCase();
5835
5962
  if (!ENRICHABLE_TYPES.includes(normalizedType)) {
5836
5963
  OutputFormatter.error({
@@ -5858,9 +5985,9 @@ var registerTasksCommand = (program) => {
5858
5985
  Result: RESULTS.Success,
5859
5986
  Code: "TaskEnriched",
5860
5987
  Data: result
5861
- });
5988
+ }, { preserveDataKeys: VERBATIM_TASK_IO_FIELDS });
5862
5989
  });
5863
- tasks.command("describe").description("Describe a task type's input/output metadata for binding discovery").requiredOption("--type <type>", `Task type: ${DESCRIBABLE_TYPES.join(", ")}`).requiredOption("--id <id>", "Unique ID of the task (entityKey or action-app id)").option("--connection-id <connectionId>", "Connection UUID (required for connector-activity type)").examples(TASKS_DESCRIBE_EXAMPLES).trackedAction(processContext, async (options) => {
5990
+ tasks.command("describe").description(`Describe a task type's input/output metadata for binding discovery. ${OUTPUT_CASING_HINT}`).requiredOption("--type <type>", `Task type: ${DESCRIBABLE_TYPES.join(", ")}`).requiredOption("--id <id>", "Unique ID of the task (entityKey or action-app id)").option("--connection-id <connectionId>", "Connection UUID (required for connector-activity type)").examples(TASKS_DESCRIBE_EXAMPLES).trackedAction(processContext, async (options) => {
5864
5991
  const [error, result] = await catchError(runDescribeTask(options));
5865
5992
  if (error) {
5866
5993
  OutputFormatter.error({
@@ -5879,7 +6006,7 @@ var registerTasksCommand = (program) => {
5879
6006
  outputs: result.outputs,
5880
6007
  ...result.enrichment ? { enrichment: result.enrichment } : {}
5881
6008
  }
5882
- });
6009
+ }, { preserveDataKeys: VERBATIM_TASK_IO_FIELDS });
5883
6010
  });
5884
6011
  };
5885
6012
 
@@ -6180,7 +6307,7 @@ var registerTriggersCommand = (program) => {
6180
6307
  const result = await readAndBuildTrigger(file, options.displayName, options.position, options.description);
6181
6308
  if (result.error)
6182
6309
  return;
6183
- const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-t3wcd12r.js");
6310
+ const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-ak1nrz5t.js");
6184
6311
  const [enrichError, enrichment] = await catchError(enrichConnectorTrigger(options.typeId, options.connectionId, parsedEventParams));
6185
6312
  if (enrichError) {
6186
6313
  OutputFormatter.error({
@@ -6312,8 +6439,28 @@ var toIssueData = (issues) => issues.map((issue) => ({
6312
6439
  Message: issue.message,
6313
6440
  Severity: issue.severity
6314
6441
  }));
6442
+ var suppressedAudit = async (file, shown) => {
6443
+ const { findAdjacentSdd } = await import("./sdd-lookup-7h7j2h6v.js");
6444
+ const [lookupError, sdd] = await catchError(Promise.resolve(findAdjacentSdd(file)));
6445
+ if (lookupError || sdd === undefined)
6446
+ return;
6447
+ const { CaseValidateService } = await import("./case-validate-service-7s69shsa.js");
6448
+ const [auditError, audited] = await catchError(new CaseValidateService().validateFileUsingSDK(file, {
6449
+ profile: "strict",
6450
+ sddPath: sdd
6451
+ }));
6452
+ if (auditError || audited === undefined)
6453
+ return;
6454
+ const alreadyShown = new Set(shown.map((i) => `${i.code}:${i.path}`));
6455
+ const hidden = audited.issues.filter((i) => !alreadyShown.has(`${i.code}:${i.path}`));
6456
+ return {
6457
+ sdd,
6458
+ errors: hidden.filter((i) => i.severity === "error").length,
6459
+ warnings: hidden.filter((i) => i.severity === "warning").length
6460
+ };
6461
+ };
6315
6462
  var executeCaseValidate = async (file, options = {}) => {
6316
- const { CaseValidateService } = await import("./case-validate-service-bnpaf0zt.js");
6463
+ const { CaseValidateService } = await import("./case-validate-service-7s69shsa.js");
6317
6464
  const service = new CaseValidateService;
6318
6465
  const [error, result] = await catchError(service.validateFileUsingSDK(file, {
6319
6466
  profile: resolveProfile(options),
@@ -6352,9 +6499,14 @@ ${result.issues.map((i) => ` - [${i.severity}] [${i.path}] ${i.message}`).join(
6352
6499
  processContext.exit(1);
6353
6500
  return;
6354
6501
  }
6502
+ const suppressed = options.strict === true || options.sdd !== undefined || options.skeleton === true || options.skeletonV2 === true ? undefined : await suppressedAudit(file, result.issues);
6503
+ const hidden = (suppressed?.errors ?? 0) + (suppressed?.warnings ?? 0);
6355
6504
  OutputFormatter.success({
6356
6505
  Result: RESULTS.Success,
6357
6506
  Code: "CaseValidate",
6507
+ ...suppressed !== undefined && hidden > 0 && {
6508
+ Instructions: `Profile default: ${suppressed.errors} strict/SDD error(s) and ${suppressed.warnings} warning(s) are not shown. Run 'uip maestro case validate ${file} --strict --sdd ${suppressed.sdd}' to see them.`
6509
+ },
6358
6510
  Data: {
6359
6511
  File: result.filePath,
6360
6512
  Status: "Valid",
@@ -6364,6 +6516,14 @@ ${result.issues.map((i) => ` - [${i.severity}] [${i.path}] ${i.message}`).join(
6364
6516
  ${warnings.map((i) => ` - [${i.path}] ${i.message}`).join(`
6365
6517
  `)}`,
6366
6518
  Issues: toIssueData(warnings)
6519
+ },
6520
+ ...suppressed !== undefined && {
6521
+ Suppressed: {
6522
+ Profile: "strict",
6523
+ Sdd: suppressed.sdd,
6524
+ Errors: suppressed.errors,
6525
+ Warnings: suppressed.warnings
6526
+ }
6367
6527
  }
6368
6528
  }
6369
6529
  });
@@ -6692,10 +6852,12 @@ var metadata = {
6692
6852
  };
6693
6853
  var registerCommands = async (program) => {
6694
6854
  if (isPreviewBuild()) {
6695
- const { registerCaseAuthoringCommands } = await import("./authoring-818595dq.js");
6855
+ const { registerCaseAuthoringCommands } = await import("./authoring-at68vr5g.js");
6696
6856
  registerCaseAuthoringCommands(program);
6697
6857
  }
6698
6858
  registerInitCommand(program);
6859
+ registerBindingsCommand(program);
6860
+ registerFormatCommand(program);
6699
6861
  registerPackCommand(program);
6700
6862
  registerDebugCommand(program);
6701
6863
  registerProcessCommand(program);
@@ -6725,4 +6887,4 @@ export {
6725
6887
  registerCommands
6726
6888
  };
6727
6889
 
6728
- //# debugId=1A8F0A6E117F1E6A64756E2164756E21
6890
+ //# debugId=DF0F23376852997264756E2164756E21