@shell-shock/core 0.17.10 → 0.17.11

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 (257) hide show
  1. package/dist/api.cjs +31 -143
  2. package/dist/api.cjs.map +1 -0
  3. package/dist/api.d.cts +2 -77
  4. package/dist/api.d.cts.map +1 -1
  5. package/dist/api.d.mts +2 -76
  6. package/dist/api.d.mts.map +1 -1
  7. package/dist/api.mjs +30 -140
  8. package/dist/api.mjs.map +1 -1
  9. package/dist/components/command-validation-logic.cjs +14 -15
  10. package/dist/components/command-validation-logic.cjs.map +1 -0
  11. package/dist/components/command-validation-logic.d.cts +1 -3
  12. package/dist/components/command-validation-logic.d.cts.map +1 -1
  13. package/dist/components/command-validation-logic.d.mts +1 -3
  14. package/dist/components/command-validation-logic.d.mts.map +1 -1
  15. package/dist/components/command-validation-logic.mjs +12 -13
  16. package/dist/components/command-validation-logic.mjs.map +1 -1
  17. package/dist/components/docs.cjs +6 -6
  18. package/dist/components/docs.cjs.map +1 -0
  19. package/dist/components/docs.d.cts +4 -5
  20. package/dist/components/docs.d.cts.map +1 -1
  21. package/dist/components/docs.d.mts +4 -5
  22. package/dist/components/docs.d.mts.map +1 -1
  23. package/dist/components/docs.mjs +4 -4
  24. package/dist/components/docs.mjs.map +1 -1
  25. package/dist/components/exec-builtin.cjs +9 -11
  26. package/dist/components/exec-builtin.cjs.map +1 -0
  27. package/dist/components/exec-builtin.d.cts +1 -2
  28. package/dist/components/exec-builtin.d.cts.map +1 -1
  29. package/dist/components/exec-builtin.d.mts +1 -2
  30. package/dist/components/exec-builtin.d.mts.map +1 -1
  31. package/dist/components/exec-builtin.mjs +7 -10
  32. package/dist/components/exec-builtin.mjs.map +1 -1
  33. package/dist/components/helpers.cjs +4 -5
  34. package/dist/components/helpers.cjs.map +1 -0
  35. package/dist/components/helpers.d.cts +6 -8
  36. package/dist/components/helpers.d.cts.map +1 -1
  37. package/dist/components/helpers.d.mts +6 -8
  38. package/dist/components/helpers.d.mts.map +1 -1
  39. package/dist/components/helpers.mjs +2 -3
  40. package/dist/components/helpers.mjs.map +1 -1
  41. package/dist/components/options-parser-logic.cjs +29 -30
  42. package/dist/components/options-parser-logic.cjs.map +1 -0
  43. package/dist/components/options-parser-logic.d.cts +8 -9
  44. package/dist/components/options-parser-logic.d.cts.map +1 -1
  45. package/dist/components/options-parser-logic.d.mts +8 -9
  46. package/dist/components/options-parser-logic.d.mts.map +1 -1
  47. package/dist/components/options-parser-logic.mjs +27 -28
  48. package/dist/components/options-parser-logic.mjs.map +1 -1
  49. package/dist/components/state-builtin.cjs +3 -2
  50. package/dist/components/state-builtin.cjs.map +1 -0
  51. package/dist/components/state-builtin.d.cts +4 -5
  52. package/dist/components/state-builtin.d.cts.map +1 -1
  53. package/dist/components/state-builtin.d.mts +4 -5
  54. package/dist/components/state-builtin.d.mts.map +1 -1
  55. package/dist/components/state-builtin.mjs +1 -1
  56. package/dist/components/state-builtin.mjs.map +1 -1
  57. package/dist/components/usage.cjs +4 -5
  58. package/dist/components/usage.cjs.map +1 -0
  59. package/dist/components/usage.d.cts +1 -2
  60. package/dist/components/usage.d.cts.map +1 -1
  61. package/dist/components/usage.d.mts +1 -2
  62. package/dist/components/usage.d.mts.map +1 -1
  63. package/dist/components/usage.mjs +2 -3
  64. package/dist/components/usage.mjs.map +1 -1
  65. package/dist/components/utils-builtin.cjs +5 -4
  66. package/dist/components/utils-builtin.cjs.map +1 -0
  67. package/dist/components/utils-builtin.d.cts +7 -8
  68. package/dist/components/utils-builtin.d.cts.map +1 -1
  69. package/dist/components/utils-builtin.d.mts +7 -8
  70. package/dist/components/utils-builtin.d.mts.map +1 -1
  71. package/dist/components/utils-builtin.mjs +3 -3
  72. package/dist/components/utils-builtin.mjs.map +1 -1
  73. package/dist/config.cjs +53 -19
  74. package/dist/config.cjs.map +1 -0
  75. package/dist/config.d.cts +29 -8
  76. package/dist/config.d.cts.map +1 -1
  77. package/dist/config.d.mts +29 -8
  78. package/dist/config.d.mts.map +1 -1
  79. package/dist/config.mjs +51 -18
  80. package/dist/config.mjs.map +1 -1
  81. package/dist/contexts/command.cjs +2 -2
  82. package/dist/contexts/command.cjs.map +1 -0
  83. package/dist/contexts/command.d.cts.map +1 -1
  84. package/dist/contexts/command.d.mts.map +1 -1
  85. package/dist/contexts/command.mjs.map +1 -1
  86. package/dist/contexts/options.cjs +4 -4
  87. package/dist/contexts/options.cjs.map +1 -0
  88. package/dist/contexts/options.d.cts.map +1 -1
  89. package/dist/contexts/options.d.mts.map +1 -1
  90. package/dist/contexts/options.mjs +2 -3
  91. package/dist/contexts/options.mjs.map +1 -1
  92. package/dist/engine.cjs +138 -0
  93. package/dist/engine.cjs.map +1 -0
  94. package/dist/engine.d.cts +79 -0
  95. package/dist/engine.d.cts.map +1 -0
  96. package/dist/engine.d.mts +79 -0
  97. package/dist/engine.d.mts.map +1 -0
  98. package/dist/engine.mjs +136 -0
  99. package/dist/engine.mjs.map +1 -0
  100. package/dist/helpers/automd.cjs +6 -7
  101. package/dist/helpers/automd.cjs.map +1 -0
  102. package/dist/helpers/automd.mjs +2 -3
  103. package/dist/helpers/automd.mjs.map +1 -1
  104. package/dist/helpers/docs-helpers.cjs +2 -2
  105. package/dist/helpers/docs-helpers.cjs.map +1 -0
  106. package/dist/helpers/docs-helpers.mjs.map +1 -1
  107. package/dist/helpers/get-framework.cjs +24 -0
  108. package/dist/helpers/get-framework.cjs.map +1 -0
  109. package/dist/helpers/get-framework.mjs +24 -0
  110. package/dist/helpers/get-framework.mjs.map +1 -0
  111. package/dist/helpers/paths.cjs +5 -5
  112. package/dist/helpers/paths.cjs.map +1 -0
  113. package/dist/helpers/paths.mjs +4 -4
  114. package/dist/helpers/paths.mjs.map +1 -1
  115. package/dist/helpers/persistence.cjs +4 -6
  116. package/dist/helpers/persistence.cjs.map +1 -0
  117. package/dist/helpers/persistence.mjs +3 -3
  118. package/dist/helpers/persistence.mjs.map +1 -1
  119. package/dist/helpers/update-package-json.cjs +2 -2
  120. package/dist/helpers/update-package-json.cjs.map +1 -0
  121. package/dist/helpers/update-package-json.mjs.map +1 -1
  122. package/dist/helpers/utilities.cjs +3 -3
  123. package/dist/helpers/utilities.cjs.map +1 -0
  124. package/dist/helpers/utilities.mjs +1 -1
  125. package/dist/helpers/utilities.mjs.map +1 -1
  126. package/dist/helpers/validations.cjs +3 -3
  127. package/dist/helpers/validations.cjs.map +1 -0
  128. package/dist/helpers/validations.mjs +1 -3
  129. package/dist/helpers/validations.mjs.map +1 -1
  130. package/dist/index.cjs +121 -51
  131. package/dist/index.cjs.map +1 -0
  132. package/dist/index.d.cts +80 -5
  133. package/dist/index.d.cts.map +1 -0
  134. package/dist/index.d.mts +80 -5
  135. package/dist/index.d.mts.map +1 -0
  136. package/dist/index.mjs +118 -6
  137. package/dist/index.mjs.map +1 -0
  138. package/dist/package.cjs +12 -0
  139. package/dist/package.cjs.map +1 -0
  140. package/dist/package.mjs +6 -0
  141. package/dist/package.mjs.map +1 -0
  142. package/dist/plugin-utils/compute-bin.cjs +8 -10
  143. package/dist/plugin-utils/compute-bin.cjs.map +1 -0
  144. package/dist/plugin-utils/compute-bin.d.cts +2 -2
  145. package/dist/plugin-utils/compute-bin.d.cts.map +1 -1
  146. package/dist/plugin-utils/compute-bin.d.mts +2 -2
  147. package/dist/plugin-utils/compute-bin.d.mts.map +1 -1
  148. package/dist/plugin-utils/compute-bin.mjs +6 -8
  149. package/dist/plugin-utils/compute-bin.mjs.map +1 -1
  150. package/dist/plugin-utils/context-helpers.cjs +7 -14
  151. package/dist/plugin-utils/context-helpers.cjs.map +1 -0
  152. package/dist/plugin-utils/context-helpers.d.cts +4 -4
  153. package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
  154. package/dist/plugin-utils/context-helpers.d.mts +4 -4
  155. package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
  156. package/dist/plugin-utils/context-helpers.mjs +5 -12
  157. package/dist/plugin-utils/context-helpers.mjs.map +1 -1
  158. package/dist/plugin-utils/deepkit.cjs +15 -16
  159. package/dist/plugin-utils/deepkit.cjs.map +1 -0
  160. package/dist/plugin-utils/deepkit.d.cts +5 -5
  161. package/dist/plugin-utils/deepkit.d.cts.map +1 -1
  162. package/dist/plugin-utils/deepkit.d.mts +5 -5
  163. package/dist/plugin-utils/deepkit.d.mts.map +1 -1
  164. package/dist/plugin-utils/deepkit.mjs +14 -15
  165. package/dist/plugin-utils/deepkit.mjs.map +1 -1
  166. package/dist/plugin-utils/description-helpers.cjs +2 -1
  167. package/dist/plugin-utils/description-helpers.cjs.map +1 -0
  168. package/dist/plugin-utils/description-helpers.d.cts.map +1 -1
  169. package/dist/plugin-utils/description-helpers.d.mts.map +1 -1
  170. package/dist/plugin-utils/description-helpers.mjs.map +1 -1
  171. package/dist/plugin-utils/get-command-tree.cjs +2 -1
  172. package/dist/plugin-utils/get-command-tree.cjs.map +1 -0
  173. package/dist/plugin-utils/get-command-tree.d.cts.map +1 -1
  174. package/dist/plugin-utils/get-command-tree.d.mts.map +1 -1
  175. package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
  176. package/dist/plugin-utils/index.cjs +1 -1
  177. package/dist/plugin-utils/index.d.cts +2 -2
  178. package/dist/plugin-utils/index.d.mts +2 -2
  179. package/dist/plugin-utils/index.mjs +2 -2
  180. package/dist/plugin-utils/reflect.cjs +5 -5
  181. package/dist/plugin-utils/reflect.cjs.map +1 -0
  182. package/dist/plugin-utils/reflect.d.cts.map +1 -1
  183. package/dist/plugin-utils/reflect.d.mts.map +1 -1
  184. package/dist/plugin-utils/reflect.mjs +3 -5
  185. package/dist/plugin-utils/reflect.mjs.map +1 -1
  186. package/dist/plugin-utils/traverse-command-tree.cjs +2 -1
  187. package/dist/plugin-utils/traverse-command-tree.cjs.map +1 -0
  188. package/dist/plugin-utils/traverse-command-tree.d.cts.map +1 -1
  189. package/dist/plugin-utils/traverse-command-tree.d.mts.map +1 -1
  190. package/dist/plugin-utils/traverse-command-tree.mjs.map +1 -1
  191. package/dist/plugin-utils/type-checks.cjs +146 -17
  192. package/dist/plugin-utils/type-checks.cjs.map +1 -0
  193. package/dist/plugin-utils/type-checks.d.cts +5 -5
  194. package/dist/plugin-utils/type-checks.d.cts.map +1 -1
  195. package/dist/plugin-utils/type-checks.d.mts +5 -5
  196. package/dist/plugin-utils/type-checks.d.mts.map +1 -1
  197. package/dist/plugin-utils/type-checks.mjs +145 -16
  198. package/dist/plugin-utils/type-checks.mjs.map +1 -1
  199. package/dist/plugin.cjs +80 -56
  200. package/dist/plugin.cjs.map +1 -0
  201. package/dist/plugin.d.cts.map +1 -1
  202. package/dist/plugin.d.mts.map +1 -1
  203. package/dist/plugin.mjs +75 -52
  204. package/dist/plugin.mjs.map +1 -1
  205. package/dist/resolver/helpers.cjs +33 -24
  206. package/dist/resolver/helpers.cjs.map +1 -0
  207. package/dist/resolver/helpers.mjs +32 -22
  208. package/dist/resolver/helpers.mjs.map +1 -1
  209. package/dist/resolver/resolve.cjs +316 -59
  210. package/dist/resolver/resolve.cjs.map +1 -0
  211. package/dist/resolver/resolve.mjs +313 -56
  212. package/dist/resolver/resolve.mjs.map +1 -1
  213. package/dist/types/command.cjs +43 -82
  214. package/dist/types/command.cjs.map +1 -0
  215. package/dist/types/command.d.cts +61 -119
  216. package/dist/types/command.d.cts.map +1 -1
  217. package/dist/types/command.d.mts +61 -119
  218. package/dist/types/command.d.mts.map +1 -1
  219. package/dist/types/command.mjs +42 -80
  220. package/dist/types/command.mjs.map +1 -1
  221. package/dist/types/config.cjs +45 -4
  222. package/dist/types/config.cjs.map +1 -0
  223. package/dist/types/config.d.cts +15 -10
  224. package/dist/types/config.d.cts.map +1 -1
  225. package/dist/types/config.d.mts +15 -10
  226. package/dist/types/config.d.mts.map +1 -1
  227. package/dist/types/config.mjs +40 -4
  228. package/dist/types/config.mjs.map +1 -1
  229. package/dist/types/context.cjs +9 -1
  230. package/dist/types/context.cjs.map +1 -0
  231. package/dist/types/context.d.cts +3 -2
  232. package/dist/types/context.d.cts.map +1 -1
  233. package/dist/types/context.d.mts +3 -2
  234. package/dist/types/context.d.mts.map +1 -1
  235. package/dist/types/context.mjs +7 -1
  236. package/dist/types/context.mjs.map +1 -1
  237. package/dist/types/env.cjs +2 -1
  238. package/dist/types/env.cjs.map +1 -0
  239. package/dist/types/env.d.cts.map +1 -1
  240. package/dist/types/env.d.mts.map +1 -1
  241. package/dist/types/env.mjs.map +1 -1
  242. package/dist/types/index.cjs +6 -3
  243. package/dist/types/index.d.cts +4 -4
  244. package/dist/types/index.d.mts +4 -4
  245. package/dist/types/index.mjs +4 -4
  246. package/dist/types/options.cjs +2 -1
  247. package/dist/types/options.cjs.map +1 -0
  248. package/dist/types/options.d.cts.map +1 -1
  249. package/dist/types/options.d.mts.map +1 -1
  250. package/dist/types/options.mjs.map +1 -1
  251. package/package.json +43 -35
  252. package/dist/resolver/deepkit.cjs +0 -135
  253. package/dist/resolver/deepkit.mjs +0 -135
  254. package/dist/resolver/deepkit.mjs.map +0 -1
  255. package/dist/resolver/module.cjs +0 -145
  256. package/dist/resolver/module.mjs +0 -145
  257. package/dist/resolver/module.mjs.map +0 -1
@@ -32,23 +32,18 @@ const __ΩExclude = [
32
32
  "Exclude",
33
33
  "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
34
34
  ];
35
- const __ΩCommandParameterType = ["CommandParameterType", "P&')P&'JFJw!y"];
36
- const CommandParameterKinds = {
37
- string: "string",
38
- number: "number",
39
- boolean: "boolean"
40
- };
41
- const __ΩCommandParameterKind = [
42
- () => CommandParameterKinds,
43
- () => CommandParameterKinds,
44
- "CommandParameterKind",
45
- "i!i\"gfw#y"
35
+ const __ΩCommandParameterType = [
36
+ "string",
37
+ "number",
38
+ "boolean",
39
+ "CommandParameterType",
40
+ "P.!.\".#Jw$y"
46
41
  ];
47
42
  const __ΩBaseCommandParameter = [
48
43
  "name",
49
44
  "The option name.",
50
- () => __ΩCommandParameterKind,
51
- "kind",
45
+ () => __ΩCommandParameterType,
46
+ "type",
52
47
  "The option kind.",
53
48
  "title",
54
49
  "The display title.",
@@ -61,8 +56,8 @@ const __ΩBaseCommandParameter = [
61
56
  false,
62
57
  "env",
63
58
  "The environment variable name or false to disable.",
64
- "optional",
65
- "Whether the option is optional.",
59
+ "required",
60
+ "Whether the option is required.",
66
61
  "variadic",
67
62
  "Whether the option accepts multiple values.",
68
63
  "BaseCommandParameter",
@@ -89,25 +84,16 @@ const __ΩBaseVariadicCommandParameter = [
89
84
  const __ΩBaseStringCommandParameter = [
90
85
  () => __ΩBaseCommandParameter,
91
86
  "string",
92
- "kind",
87
+ "type",
93
88
  "The option kind.",
94
89
  "default",
95
90
  "The default value.",
96
- "email",
97
- "uri",
98
- "uuid",
99
- "ipv4",
100
- "ipv6",
101
- "date",
102
- "time",
103
- "date-time",
104
- "duration",
105
91
  "format",
106
92
  "A standard string format to validate the option value against.",
107
93
  "choices",
108
94
  "The allowed choices for the option value.",
109
95
  "BaseStringCommandParameter",
110
- "Pn!.\"4#?$P&&FJ4%8?&P.'.(.).*.+.,.-.../J408?1&F428?3Mw4y"
96
+ "Pn!.\"4#?$P&&FJ4%8?&P!&J4'8?(&F4)8?*Mw+y"
111
97
  ];
112
98
  const __ΩSingleStringCommandParameter = [
113
99
  () => __ΩBaseStringCommandParameter,
@@ -138,7 +124,7 @@ const __ΩStringCommandParameter = [
138
124
  const __ΩBaseNumberCommandParameter = [
139
125
  () => __ΩBaseCommandParameter,
140
126
  "number",
141
- "kind",
127
+ "type",
142
128
  "The option kind.",
143
129
  "default",
144
130
  "The default value.",
@@ -176,7 +162,7 @@ const __ΩNumberCommandParameter = [
176
162
  const __ΩBaseBooleanCommandParameter = [
177
163
  () => __ΩBaseCommandParameter,
178
164
  "boolean",
179
- "kind",
165
+ "type",
180
166
  "The option kind.",
181
167
  "default",
182
168
  "The default value.",
@@ -219,15 +205,14 @@ const __ΩCommandParameter = [
219
205
  const __ΩAsCommandParameterConfig = [
220
206
  "T",
221
207
  () => __ΩPick,
222
- "kind",
223
- "alias",
208
+ "type",
224
209
  () => __ΩPartial,
225
210
  () => __ΩOmit,
226
- "kind",
211
+ "type",
227
212
  "alias",
228
213
  "alias",
229
214
  "AsCommandParameterConfig",
230
- "b!Pe\"!P.#.$Jo\"#e\"!P.'.(Jo&#o%\"PP&&FJ4)8MKw*y"
215
+ "b!Pe\"!.#o\"#e\"!P.&.'Jo%#o$\"PP&&FJ4(8MKw)y"
231
216
  ];
232
217
  const __ΩStringCommandParameterConfig = [
233
218
  () => __ΩAsCommandParameterConfig,
@@ -290,7 +275,24 @@ const __ΩCommandArgumentConfig = [
290
275
  "CommandArgumentConfig",
291
276
  "n\"o!\"w#y"
292
277
  ];
278
+ const __ΩCommandMetadata = [
279
+ "title",
280
+ "The display name of the command.",
281
+ "description",
282
+ "A brief description of what the command does.",
283
+ "alias",
284
+ "One or more alternative names for the command.",
285
+ "tags",
286
+ "Optional tags for the command.",
287
+ "icon",
288
+ "An optional icon to visually represent the command in user interfaces.",
289
+ "docs",
290
+ "A URL to the command documentation or reference.",
291
+ "CommandMetadata",
292
+ "P&4!8?\"&4#8?$P&&FJ4%8?&&F4'8?(&4)8?*&4+8?,Mw-y"
293
+ ];
293
294
  const __ΩCommandBase = [
295
+ () => __ΩCommandMetadata,
294
296
  "id",
295
297
  "The command id.",
296
298
  "name",
@@ -299,20 +301,12 @@ const __ΩCommandBase = [
299
301
  "The full command path value.",
300
302
  "segments",
301
303
  "The path segments.",
302
- "title",
303
- "The display title.",
304
- "description",
305
- "The command description.",
306
304
  "alias",
307
305
  "Alternative command names.",
308
- "icon",
309
- "The command icon.",
310
- "reference",
311
- "A URL to the command documentation or reference.",
312
- "isVirtual",
306
+ "virtual",
313
307
  "Whether the command is virtual.",
314
308
  "CommandBase",
315
- "PP&,J4!?\"&4#?$P&,J4%?&&F4'?(&4)8?*&4+8?,&F4-8?.&4/8?0&418?2)43?4Mw5y"
309
+ "Pn!P&,J4\"?#&4$?%P&,J4&?'&F4(?)&F4*8?+)4,?-Mw.y"
316
310
  ];
317
311
  const __ΩCommandConfig = [
318
312
  () => __ΩCommandBase,
@@ -320,27 +314,13 @@ const __ΩCommandConfig = [
320
314
  "The command id.",
321
315
  "entry",
322
316
  "The resolved entry definition.",
317
+ () => __ΩCommandMetadata,
318
+ "tags",
323
319
  "tags",
324
- "Optional tags for the command.",
325
- "file",
326
- "source",
327
- "A string representing the source of the command, which can be \"file\", a specific plugin name, or any other string value that describes the source that added the command.",
328
320
  "CommandConfig",
329
- "Pn!&4\"?#!4$?%&F4&8?'P.(&J4)8?*Mw+y"
321
+ "Pn!&4\"?#!4$?%n&.'f4(8Mw)y"
330
322
  ];
331
323
  const __ΩCommandTree = [
332
- () => __ΩCommandConfig,
333
- "title",
334
- "The display title.",
335
- "description",
336
- "The command description.",
337
- "alias",
338
- "Alternative command names.",
339
- "tags",
340
- "A set of tags for the command.",
341
- "file",
342
- "source",
343
- "A string representing the source of the command, which can be \"file\", a specific plugin name, or any other string value that describes the source that added the command.",
344
324
  () => __ΩRecord,
345
325
  () => __ΩCommandOption,
346
326
  "options",
@@ -356,7 +336,7 @@ const __ΩCommandTree = [
356
336
  "children",
357
337
  "Child commands.",
358
338
  "CommandTree",
359
- "Pn!P&4\"?#&4$?%&F4&?'&F4(?)P.*&J4+?,&n.o-#4/?0n1F42?3P,n4J45?6&n8o7#49?:MKw;y"
339
+ "P!P&n\"o!#4#?$n%F4&?'P,n(J4)?*&n,o+#4-?.MKw/y"
360
340
  ];
361
341
  const __ΩSerializedCommandTree = [
362
342
  () => __ΩOmit,
@@ -372,39 +352,20 @@ const __ΩSerializedCommandTree = [
372
352
  "SerializedCommandTree",
373
353
  "Pn\"P.#.$Jo!#PP,&J4%?&&n(o'#4)?*MKw+y"
374
354
  ];
375
- const __ΩCommandMetadata = [
376
- "title",
377
- "The display name of the command.",
378
- "description",
379
- "A brief description of what the command does.",
380
- "alias",
381
- "One or more alternative names for the command.",
382
- "tags",
383
- "Optional tags for the command.",
384
- "icon",
385
- "An optional icon to visually represent the command in user interfaces.",
386
- "reference",
387
- "A URL to the command documentation or reference.",
388
- "CommandMetadata",
389
- "P&4!8?\"&4#8?$P&&FJ4%8?&&F4'8?(&4)8?*&4+8?,Mw-y"
390
- ];
391
355
  const __ΩCommandModule = [
392
356
  () => __ΩCommandMetadata,
393
357
  "metadata",
394
358
  () => __ΩRecord,
395
359
  () => __ΩCommandOptionConfig,
396
- "JSONSchema7Object",
397
- "StandardJSONSchemaV1",
398
360
  "options",
399
361
  () => __ΩCommandArgumentConfig,
400
362
  "args",
401
363
  "default",
402
364
  "CommandModule",
403
- "Pn!4\"8P&n$o##\"w%\"w&!J4'8Pn(F!\"w&!J4)8!4*8Mw+y"
365
+ "Pn!4\"8P&n$o##!J4%8Pn&!JF4'8!4(8Mw)y"
404
366
  ];
405
367
 
406
368
  //#endregion
407
- exports.CommandParameterKinds = CommandParameterKinds;
408
369
  exports.__ΩAsCommandParameterConfig = __ΩAsCommandParameterConfig;
409
370
  exports.__ΩBaseBooleanCommandParameter = __ΩBaseBooleanCommandParameter;
410
371
  exports.__ΩBaseCommandParameter = __ΩBaseCommandParameter;
@@ -425,7 +386,6 @@ exports.__ΩCommandOption = __ΩCommandOption;
425
386
  exports.__ΩCommandOptionConfig = __ΩCommandOptionConfig;
426
387
  exports.__ΩCommandParameter = __ΩCommandParameter;
427
388
  exports.__ΩCommandParameterConfig = __ΩCommandParameterConfig;
428
- exports.__ΩCommandParameterKind = __ΩCommandParameterKind;
429
389
  exports.__ΩCommandParameterType = __ΩCommandParameterType;
430
390
  exports.__ΩCommandTree = __ΩCommandTree;
431
391
  exports.__ΩNumberCommandParameter = __ΩNumberCommandParameter;
@@ -438,4 +398,5 @@ exports.__ΩStringCommandParameter = __ΩStringCommandParameter;
438
398
  exports.__ΩStringCommandParameterConfig = __ΩStringCommandParameterConfig;
439
399
  exports.__ΩVariadicBooleanCommandParameter = __ΩVariadicBooleanCommandParameter;
440
400
  exports.__ΩVariadicNumberCommandParameter = __ΩVariadicNumberCommandParameter;
441
- exports.__ΩVariadicStringCommandParameter = __ΩVariadicStringCommandParameter;
401
+ exports.__ΩVariadicStringCommandParameter = __ΩVariadicStringCommandParameter;
402
+ //# sourceMappingURL=command.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.cjs","names":[],"sources":[],"mappings":""}
@@ -1,18 +1,9 @@
1
- import { ResolvedEntryTypeDefinition } from "powerlines";
2
- import { AnyFunction } from "@stryke/types/base";
3
- import { StandardJSONSchemaV1 } from "@standard-schema/spec";
4
- import { JsonSchema7TupleType } from "@stryke/json";
5
- import { JSONSchema7Object } from "json-schema";
6
- import * as z3 from "zod/v3";
1
+ import { JsonSchemaStringFormat, SchemaInput } from "@powerlines/schema";
2
+ import { AnyFunction, RequiredKeys } from "@stryke/types/base";
3
+ import { ResolvedEntryFileReference } from "powerlines";
7
4
 
8
5
  //#region src/types/command.d.ts
9
- type CommandParameterType = string | number | boolean | (string | number)[];
10
- declare const CommandParameterKinds: {
11
- readonly string: "string";
12
- readonly number: "number";
13
- readonly boolean: "boolean";
14
- };
15
- type CommandParameterKind = (typeof CommandParameterKinds)[keyof typeof CommandParameterKinds];
6
+ type CommandParameterType = "string" | "number" | "boolean";
16
7
  interface BaseCommandParameter {
17
8
  /**
18
9
  * The option name.
@@ -21,7 +12,7 @@ interface BaseCommandParameter {
21
12
  /**
22
13
  * The option kind.
23
14
  */
24
- kind: CommandParameterKind;
15
+ type: CommandParameterType;
25
16
  /**
26
17
  * The display title.
27
18
  */
@@ -43,9 +34,9 @@ interface BaseCommandParameter {
43
34
  */
44
35
  env: string | false;
45
36
  /**
46
- * Whether the option is optional.
37
+ * Whether the option is required.
47
38
  */
48
- optional: boolean;
39
+ required: boolean;
49
40
  /**
50
41
  * Whether the option accepts multiple values.
51
42
  */
@@ -75,7 +66,7 @@ interface BaseStringCommandParameter extends BaseCommandParameter {
75
66
  /**
76
67
  * The option kind.
77
68
  */
78
- kind: "string";
69
+ type: "string";
79
70
  /**
80
71
  * The default value.
81
72
  */
@@ -83,7 +74,7 @@ interface BaseStringCommandParameter extends BaseCommandParameter {
83
74
  /**
84
75
  * A standard string format to validate the option value against.
85
76
  */
86
- format?: "email" | "uri" | "uuid" | "ipv4" | "ipv6" | "date" | "time" | "date-time" | "duration";
77
+ format?: JsonSchemaStringFormat | string;
87
78
  /**
88
79
  * The allowed choices for the option value.
89
80
  */
@@ -114,7 +105,7 @@ interface BaseNumberCommandParameter extends BaseCommandParameter {
114
105
  /**
115
106
  * The option kind.
116
107
  */
117
- kind: "number";
108
+ type: "number";
118
109
  /**
119
110
  * The default value.
120
111
  */
@@ -149,7 +140,7 @@ interface BaseBooleanCommandParameter extends BaseCommandParameter {
149
140
  /**
150
141
  * The option kind.
151
142
  */
152
- kind: "boolean";
143
+ type: "boolean";
153
144
  /**
154
145
  * The default value.
155
146
  */
@@ -177,7 +168,7 @@ interface VariadicBooleanCommandParameter extends BaseBooleanCommandParameter {
177
168
  }
178
169
  type BooleanCommandParameter = SingleBooleanCommandParameter | VariadicBooleanCommandParameter;
179
170
  type CommandParameter = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
180
- type AsCommandParameterConfig<T extends BaseCommandParameter> = Pick<T, "kind" | "alias"> & Partial<Omit<T, "kind" | "alias">> & {
171
+ type AsCommandParameterConfig<T extends BaseCommandParameter> = Pick<T, "type"> & Partial<Omit<T, "type" | "alias">> & {
181
172
  alias?: string | string[];
182
173
  };
183
174
  type StringCommandParameterConfig = AsCommandParameterConfig<StringCommandParameter>;
@@ -198,7 +189,48 @@ type CommandOption = StringCommandParameter | NumberCommandParameter | BooleanCo
198
189
  type CommandOptionConfig = AsCommandParameterConfig<CommandOption>;
199
190
  type CommandArgument = StringCommandParameter | NumberCommandParameter | BooleanCommandParameter;
200
191
  type CommandArgumentConfig = AsCommandParameterConfig<CommandArgument>;
201
- interface CommandBase {
192
+ interface CommandMetadata {
193
+ /**
194
+ * The display name of the command.
195
+ *
196
+ * @remarks
197
+ * This value will be used in various displays of the user interface and documentation. If not provided, a formatted value of the command name will be used.
198
+ */
199
+ title?: string;
200
+ /**
201
+ * A brief description of what the command does.
202
+ *
203
+ * @remarks
204
+ * This value will be used in various displays of the user interface and documentation. If not provided, a default message may be shown.
205
+ */
206
+ description?: string;
207
+ /**
208
+ * One or more alternative names for the command.
209
+ */
210
+ alias?: string | string[];
211
+ /**
212
+ * Optional tags for the command.
213
+ *
214
+ * @remarks
215
+ * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
216
+ */
217
+ tags?: string[];
218
+ /**
219
+ * An optional icon to visually represent the command in user interfaces.
220
+ *
221
+ * @remarks
222
+ * This can be a string containing an emoji, a Unicode character, or any other symbol that helps to visually identify the command. If not provided, no icon will be displayed.
223
+ */
224
+ icon?: string;
225
+ /**
226
+ * A URL to the command documentation or reference.
227
+ *
228
+ * @remarks
229
+ * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the command. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{docs}/command/subcommand`.
230
+ */
231
+ docs?: string;
232
+ }
233
+ interface CommandBase extends CommandMetadata {
202
234
  /**
203
235
  * The command id.
204
236
  */
@@ -215,33 +247,17 @@ interface CommandBase {
215
247
  * The path segments.
216
248
  */
217
249
  segments: string[];
218
- /**
219
- * The display title.
220
- */
221
- title?: string;
222
- /**
223
- * The command description.
224
- */
225
- description?: string;
226
250
  /**
227
251
  * Alternative command names.
228
252
  */
229
253
  alias?: string[];
230
- /**
231
- * The command icon.
232
- */
233
- icon?: string;
234
- /**
235
- * A URL to the command documentation or reference.
236
- */
237
- reference?: string;
238
254
  /**
239
255
  * Whether the command is virtual.
240
256
  *
241
257
  * @remarks
242
258
  * Virtual commands are considered forks in the command tree and are not directly executable. They are used to group related subcommands together without having an actual command handler or entry point.
243
259
  */
244
- isVirtual: boolean;
260
+ virtual: boolean;
245
261
  }
246
262
  interface CommandConfig extends CommandBase {
247
263
  /**
@@ -251,43 +267,10 @@ interface CommandConfig extends CommandBase {
251
267
  /**
252
268
  * The resolved entry definition.
253
269
  */
254
- entry: ResolvedEntryTypeDefinition;
255
- /**
256
- * Optional tags for the command.
257
- *
258
- * @remarks
259
- * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
260
- */
261
- tags?: string[];
262
- /**
263
- * A string representing the source of the command, which can be "file", a specific plugin name, or any other string value that describes the source that added the command.
264
- */
265
- source?: "file" | string;
270
+ entry: ResolvedEntryFileReference;
271
+ tags?: CommandMetadata["tags"];
266
272
  }
267
- type CommandTree = CommandConfig & {
268
- /**
269
- * The display title.
270
- */
271
- title: string;
272
- /**
273
- * The command description.
274
- */
275
- description: string;
276
- /**
277
- * Alternative command names.
278
- */
279
- alias: string[];
280
- /**
281
- * A set of tags for the command.
282
- *
283
- * @remarks
284
- * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
285
- */
286
- tags: string[];
287
- /**
288
- * A string representing the source of the command, which can be "file", a specific plugin name, or any other string value that describes the source that added the command.
289
- */
290
- source: "file" | string;
273
+ type CommandTree = RequiredKeys<CommandConfig, "title" | "description" | "alias" | "tags"> & {
291
274
  /**
292
275
  * The command options.
293
276
  */
@@ -315,53 +298,12 @@ type SerializedCommandTree = Omit<CommandTree, "parent" | "children"> & {
315
298
  */
316
299
  children: Record<string, SerializedCommandTree>;
317
300
  };
318
- interface CommandMetadata {
319
- /**
320
- * The display name of the command.
321
- *
322
- * @remarks
323
- * This value will be used in various displays of the user interface and documentation. If not provided, a formatted value of the command name will be used.
324
- */
325
- title?: string;
326
- /**
327
- * A brief description of what the command does.
328
- *
329
- * @remarks
330
- * This value will be used in various displays of the user interface and documentation. If not provided, a default message may be shown.
331
- */
332
- description?: string;
333
- /**
334
- * One or more alternative names for the command.
335
- */
336
- alias?: string | string[];
337
- /**
338
- * Optional tags for the command.
339
- *
340
- * @remarks
341
- * Tags can be used to categorize and organize commands, and can also be utilized by plugins to provide additional functionality or filtering based on tags.
342
- */
343
- tags?: string[];
344
- /**
345
- * An optional icon to visually represent the command in user interfaces.
346
- *
347
- * @remarks
348
- * This can be a string containing an emoji, a Unicode character, or any other symbol that helps to visually identify the command. If not provided, no icon will be displayed.
349
- */
350
- icon?: string;
351
- /**
352
- * A URL to the command documentation or reference.
353
- *
354
- * @remarks
355
- * This URL can be used in various displays of the user interface and documentation to provide users with a reference for the command. It can also be used by plugins to link to the documentation in relevant contexts. If the token `{command}` is included in the URL, it will be replaced with the full command path to provide links to command specific documentation. For example, `myapp command subcommand` will be translated to `{referenceLink}/command/subcommand`.
356
- */
357
- reference?: string;
358
- }
359
301
  interface CommandModule {
360
302
  metadata?: CommandMetadata;
361
- options?: Record<string, CommandOptionConfig> | JSONSchema7Object | StandardJSONSchemaV1<Record<string, CommandParameterType>> | z3.AnyZodObject;
362
- args?: CommandArgumentConfig[] | JsonSchema7TupleType | StandardJSONSchemaV1<CommandParameterType[]> | z3.AnyZodTuple;
303
+ options?: Record<string, CommandOptionConfig> | SchemaInput;
304
+ args?: (CommandArgumentConfig | SchemaInput)[];
363
305
  default?: AnyFunction;
364
306
  }
365
307
  //#endregion
366
- export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterKind, CommandParameterKinds, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
308
+ export { AsCommandParameterConfig, BaseBooleanCommandParameter, BaseCommandParameter, BaseNumberCommandParameter, BaseSingleCommandParameter, BaseStringCommandParameter, BaseVariadicCommandParameter, BooleanCommandOption, BooleanCommandParameter, BooleanCommandParameterConfig, CommandArgument, CommandArgumentConfig, CommandBase, CommandConfig, CommandMetadata, CommandModule, CommandOption, CommandOptionConfig, CommandParameter, CommandParameterConfig, CommandParameterType, CommandTree, NumberCommandParameter, NumberCommandParameterConfig, SerializedCommandTree, SingleBooleanCommandParameter, SingleNumberCommandParameter, SingleStringCommandParameter, StringCommandParameter, StringCommandParameterConfig, VariadicBooleanCommandParameter, VariadicNumberCommandParameter, VariadicStringCommandParameter };
367
309
  //# sourceMappingURL=command.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.cts","names":[],"sources":["../../src/types/command.ts"],"mappings":";;;;;;;;KAyBY,oBAAA;AAAA,cAMC,qBAAA;EAAA;;;;KAMD,oBAAA,WACF,qBAAA,eAAoC,qBAAA;AAAA,UAE7B,oBAAA;EALP;;;EASR,IAAA;;;;EAKA,IAAA,EAAM,oBAAA;EAZI;;;EAiBV,KAAA;EAhBiE;AAEnE;;EAmBE,WAAA;EAV0B;;;EAe1B,KAAA;EAVA;;;EAeA,OAAA;EAKA;;;EAAA,GAAA;EAUQ;AAGV;;EARE,QAAA;EAYA;;AAQF;EAfE,QAAA;AAAA;AAAA,UAGe,0BAAA;EAqBP;AAGV;;EApBE,OAAA;EAoBsE;;;EAftE,QAAA;AAAA;AAAA,UAGe,4BAAA;EAwCR;;AAGT;EAvCE,OAAA;;;;EAKA,QAAA;AAAA;AAAA,UAGe,0BAAA,SAAmC,oBAAA;EAwC1C;AAGV;;EAvCE,IAAA;EAuCgF;;;EAlChF,OAAA;EA2CQ;;AAGV;EAzCE,MAAA;;;;EAcA,OAAA;AAAA;AAAA,UAGe,4BAAA,SAAqC,0BAAA;EA4BkB;;;EAxBtE,OAAA;EAsCA;;;EAjCA,QAAA;AAAA;AAAA,U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