@enactprotocol/cli 1.0.13 → 1.0.14

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 (3) hide show
  1. package/dist/index.js +143 -126
  2. package/dist/index.js.bak +143 -126
  3. package/package.json +2 -2
package/dist/index.js.bak CHANGED
@@ -2529,7 +2529,7 @@ var require_thread_stream = __commonJS((exports, module) => {
2529
2529
  var { version } = require_package2();
2530
2530
  var { EventEmitter } = __require("events");
2531
2531
  var { Worker } = __require("worker_threads");
2532
- var { join: join6 } = __require("path");
2532
+ var { join: join7 } = __require("path");
2533
2533
  var { pathToFileURL } = __require("url");
2534
2534
  var { wait } = require_wait();
2535
2535
  var {
@@ -2565,7 +2565,7 @@ var require_thread_stream = __commonJS((exports, module) => {
2565
2565
  function createWorker(stream, opts) {
2566
2566
  const { filename, workerData } = opts;
2567
2567
  const bundlerOverrides = "__bundlerPathsOverrides" in globalThis ? globalThis.__bundlerPathsOverrides : {};
2568
- const toExecute = bundlerOverrides["thread-stream-worker"] || join6(__dirname, "lib", "worker.js");
2568
+ const toExecute = bundlerOverrides["thread-stream-worker"] || join7(__dirname, "lib", "worker.js");
2569
2569
  const worker = new Worker(toExecute, {
2570
2570
  ...opts.workerOpts,
2571
2571
  trackUnmanagedFds: false,
@@ -2949,7 +2949,7 @@ var require_transport = __commonJS((exports, module) => {
2949
2949
  var __dirname = "/Users/keithgroves/projects/enact/enact-cli/node_modules/pino/lib";
2950
2950
  var { createRequire: createRequire2 } = __require("module");
2951
2951
  var getCallers = require_caller();
2952
- var { join: join6, isAbsolute, sep } = __require("node:path");
2952
+ var { join: join7, isAbsolute, sep } = __require("node:path");
2953
2953
  var sleep = require_atomic_sleep();
2954
2954
  var onExit = require_on_exit_leak_free();
2955
2955
  var ThreadStream = require_thread_stream();
@@ -3012,7 +3012,7 @@ var require_transport = __commonJS((exports, module) => {
3012
3012
  throw new Error("only one of target or targets can be specified");
3013
3013
  }
3014
3014
  if (targets) {
3015
- target = bundlerOverrides["pino-worker"] || join6(__dirname, "worker.js");
3015
+ target = bundlerOverrides["pino-worker"] || join7(__dirname, "worker.js");
3016
3016
  options.targets = targets.filter((dest) => dest.target).map((dest) => {
3017
3017
  return {
3018
3018
  ...dest,
@@ -3029,7 +3029,7 @@ var require_transport = __commonJS((exports, module) => {
3029
3029
  });
3030
3030
  });
3031
3031
  } else if (pipeline) {
3032
- target = bundlerOverrides["pino-worker"] || join6(__dirname, "worker.js");
3032
+ target = bundlerOverrides["pino-worker"] || join7(__dirname, "worker.js");
3033
3033
  options.pipelines = [pipeline.map((dest) => {
3034
3034
  return {
3035
3035
  ...dest,
@@ -3051,7 +3051,7 @@ var require_transport = __commonJS((exports, module) => {
3051
3051
  return origin;
3052
3052
  }
3053
3053
  if (origin === "pino/file") {
3054
- return join6(__dirname, "..", "file.js");
3054
+ return join7(__dirname, "..", "file.js");
3055
3055
  }
3056
3056
  let fixTarget2;
3057
3057
  for (const filePath of callers) {
@@ -3954,7 +3954,7 @@ var require_safe_stable_stringify = __commonJS((exports, module) => {
3954
3954
  return circularValue;
3955
3955
  }
3956
3956
  let res = "";
3957
- let join6 = ",";
3957
+ let join7 = ",";
3958
3958
  const originalIndentation = indentation;
3959
3959
  if (Array.isArray(value)) {
3960
3960
  if (value.length === 0) {
@@ -3968,7 +3968,7 @@ var require_safe_stable_stringify = __commonJS((exports, module) => {
3968
3968
  indentation += spacer;
3969
3969
  res += `
3970
3970
  ${indentation}`;
3971
- join6 = `,
3971
+ join7 = `,
3972
3972
  ${indentation}`;
3973
3973
  }
3974
3974
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
@@ -3976,13 +3976,13 @@ ${indentation}`;
3976
3976
  for (;i < maximumValuesToStringify - 1; i++) {
3977
3977
  const tmp2 = stringifyFnReplacer(String(i), value, stack, replacer, spacer, indentation);
3978
3978
  res += tmp2 !== undefined ? tmp2 : "null";
3979
- res += join6;
3979
+ res += join7;
3980
3980
  }
3981
3981
  const tmp = stringifyFnReplacer(String(i), value, stack, replacer, spacer, indentation);
3982
3982
  res += tmp !== undefined ? tmp : "null";
3983
3983
  if (value.length - 1 > maximumBreadth) {
3984
3984
  const removedKeys = value.length - maximumBreadth - 1;
3985
- res += `${join6}"... ${getItemCount(removedKeys)} not stringified"`;
3985
+ res += `${join7}"... ${getItemCount(removedKeys)} not stringified"`;
3986
3986
  }
3987
3987
  if (spacer !== "") {
3988
3988
  res += `
@@ -4003,7 +4003,7 @@ ${originalIndentation}`;
4003
4003
  let separator = "";
4004
4004
  if (spacer !== "") {
4005
4005
  indentation += spacer;
4006
- join6 = `,
4006
+ join7 = `,
4007
4007
  ${indentation}`;
4008
4008
  whitespace = " ";
4009
4009
  }
@@ -4017,13 +4017,13 @@ ${indentation}`;
4017
4017
  const tmp = stringifyFnReplacer(key2, value, stack, replacer, spacer, indentation);
4018
4018
  if (tmp !== undefined) {
4019
4019
  res += `${separator}${strEscape(key2)}:${whitespace}${tmp}`;
4020
- separator = join6;
4020
+ separator = join7;
4021
4021
  }
4022
4022
  }
4023
4023
  if (keyLength > maximumBreadth) {
4024
4024
  const removedKeys = keyLength - maximumBreadth;
4025
4025
  res += `${separator}"...":${whitespace}"${getItemCount(removedKeys)} not stringified"`;
4026
- separator = join6;
4026
+ separator = join7;
4027
4027
  }
4028
4028
  if (spacer !== "" && separator.length > 1) {
4029
4029
  res = `
@@ -4063,7 +4063,7 @@ ${originalIndentation}`;
4063
4063
  }
4064
4064
  const originalIndentation = indentation;
4065
4065
  let res = "";
4066
- let join6 = ",";
4066
+ let join7 = ",";
4067
4067
  if (Array.isArray(value)) {
4068
4068
  if (value.length === 0) {
4069
4069
  return "[]";
@@ -4076,7 +4076,7 @@ ${originalIndentation}`;
4076
4076
  indentation += spacer;
4077
4077
  res += `
4078
4078
  ${indentation}`;
4079
- join6 = `,
4079
+ join7 = `,
4080
4080
  ${indentation}`;
4081
4081
  }
4082
4082
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
@@ -4084,13 +4084,13 @@ ${indentation}`;
4084
4084
  for (;i < maximumValuesToStringify - 1; i++) {
4085
4085
  const tmp2 = stringifyArrayReplacer(String(i), value[i], stack, replacer, spacer, indentation);
4086
4086
  res += tmp2 !== undefined ? tmp2 : "null";
4087
- res += join6;
4087
+ res += join7;
4088
4088
  }
4089
4089
  const tmp = stringifyArrayReplacer(String(i), value[i], stack, replacer, spacer, indentation);
4090
4090
  res += tmp !== undefined ? tmp : "null";
4091
4091
  if (value.length - 1 > maximumBreadth) {
4092
4092
  const removedKeys = value.length - maximumBreadth - 1;
4093
- res += `${join6}"... ${getItemCount(removedKeys)} not stringified"`;
4093
+ res += `${join7}"... ${getItemCount(removedKeys)} not stringified"`;
4094
4094
  }
4095
4095
  if (spacer !== "") {
4096
4096
  res += `
@@ -4103,7 +4103,7 @@ ${originalIndentation}`;
4103
4103
  let whitespace = "";
4104
4104
  if (spacer !== "") {
4105
4105
  indentation += spacer;
4106
- join6 = `,
4106
+ join7 = `,
4107
4107
  ${indentation}`;
4108
4108
  whitespace = " ";
4109
4109
  }
@@ -4112,7 +4112,7 @@ ${indentation}`;
4112
4112
  const tmp = stringifyArrayReplacer(key2, value[key2], stack, replacer, spacer, indentation);
4113
4113
  if (tmp !== undefined) {
4114
4114
  res += `${separator}${strEscape(key2)}:${whitespace}${tmp}`;
4115
- separator = join6;
4115
+ separator = join7;
4116
4116
  }
4117
4117
  }
4118
4118
  if (spacer !== "" && separator.length > 1) {
@@ -4169,20 +4169,20 @@ ${originalIndentation}`;
4169
4169
  indentation += spacer;
4170
4170
  let res2 = `
4171
4171
  ${indentation}`;
4172
- const join7 = `,
4172
+ const join8 = `,
4173
4173
  ${indentation}`;
4174
4174
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
4175
4175
  let i = 0;
4176
4176
  for (;i < maximumValuesToStringify - 1; i++) {
4177
4177
  const tmp2 = stringifyIndent(String(i), value[i], stack, spacer, indentation);
4178
4178
  res2 += tmp2 !== undefined ? tmp2 : "null";
4179
- res2 += join7;
4179
+ res2 += join8;
4180
4180
  }
4181
4181
  const tmp = stringifyIndent(String(i), value[i], stack, spacer, indentation);
4182
4182
  res2 += tmp !== undefined ? tmp : "null";
4183
4183
  if (value.length - 1 > maximumBreadth) {
4184
4184
  const removedKeys = value.length - maximumBreadth - 1;
4185
- res2 += `${join7}"... ${getItemCount(removedKeys)} not stringified"`;
4185
+ res2 += `${join8}"... ${getItemCount(removedKeys)} not stringified"`;
4186
4186
  }
4187
4187
  res2 += `
4188
4188
  ${originalIndentation}`;
@@ -4198,16 +4198,16 @@ ${originalIndentation}`;
4198
4198
  return '"[Object]"';
4199
4199
  }
4200
4200
  indentation += spacer;
4201
- const join6 = `,
4201
+ const join7 = `,
4202
4202
  ${indentation}`;
4203
4203
  let res = "";
4204
4204
  let separator = "";
4205
4205
  let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
4206
4206
  if (isTypedArrayWithEntries(value)) {
4207
- res += stringifyTypedArray(value, join6, maximumBreadth);
4207
+ res += stringifyTypedArray(value, join7, maximumBreadth);
4208
4208
  keys = keys.slice(value.length);
4209
4209
  maximumPropertiesToStringify -= value.length;
4210
- separator = join6;
4210
+ separator = join7;
4211
4211
  }
4212
4212
  if (deterministic) {
4213
4213
  keys = sort(keys, comparator);
@@ -4218,13 +4218,13 @@ ${indentation}`;
4218
4218
  const tmp = stringifyIndent(key2, value[key2], stack, spacer, indentation);
4219
4219
  if (tmp !== undefined) {
4220
4220
  res += `${separator}${strEscape(key2)}: ${tmp}`;
4221
- separator = join6;
4221
+ separator = join7;
4222
4222
  }
4223
4223
  }
4224
4224
  if (keyLength > maximumBreadth) {
4225
4225
  const removedKeys = keyLength - maximumBreadth;
4226
4226
  res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"`;
4227
- separator = join6;
4227
+ separator = join7;
4228
4228
  }
4229
4229
  if (separator !== "") {
4230
4230
  res = `
@@ -15478,23 +15478,23 @@ var require_printer = __commonJS((exports) => {
15478
15478
  leave: (node) => "$" + node.name
15479
15479
  },
15480
15480
  Document: {
15481
- leave: (node) => join10(node.definitions, `
15481
+ leave: (node) => join11(node.definitions, `
15482
15482
 
15483
15483
  `)
15484
15484
  },
15485
15485
  OperationDefinition: {
15486
15486
  leave(node) {
15487
- const varDefs = wrap("(", join10(node.variableDefinitions, ", "), ")");
15488
- const prefix = join10([
15487
+ const varDefs = wrap("(", join11(node.variableDefinitions, ", "), ")");
15488
+ const prefix = join11([
15489
15489
  node.operation,
15490
- join10([node.name, varDefs]),
15491
- join10(node.directives, " ")
15490
+ join11([node.name, varDefs]),
15491
+ join11(node.directives, " ")
15492
15492
  ], " ");
15493
15493
  return (prefix === "query" ? "" : prefix + " ") + node.selectionSet;
15494
15494
  }
15495
15495
  },
15496
15496
  VariableDefinition: {
15497
- leave: ({ variable, type, defaultValue, directives }) => variable + ": " + type + wrap(" = ", defaultValue) + wrap(" ", join10(directives, " "))
15497
+ leave: ({ variable, type, defaultValue, directives }) => variable + ": " + type + wrap(" = ", defaultValue) + wrap(" ", join11(directives, " "))
15498
15498
  },
15499
15499
  SelectionSet: {
15500
15500
  leave: ({ selections }) => block(selections)
@@ -15502,32 +15502,32 @@ var require_printer = __commonJS((exports) => {
15502
15502
  Field: {
15503
15503
  leave({ alias, name, arguments: args, directives, selectionSet }) {
15504
15504
  const prefix = wrap("", alias, ": ") + name;
15505
- let argsLine = prefix + wrap("(", join10(args, ", "), ")");
15505
+ let argsLine = prefix + wrap("(", join11(args, ", "), ")");
15506
15506
  if (argsLine.length > MAX_LINE_LENGTH) {
15507
15507
  argsLine = prefix + wrap(`(
15508
- `, indent(join10(args, `
15508
+ `, indent(join11(args, `
15509
15509
  `)), `
15510
15510
  )`);
15511
15511
  }
15512
- return join10([argsLine, join10(directives, " "), selectionSet], " ");
15512
+ return join11([argsLine, join11(directives, " "), selectionSet], " ");
15513
15513
  }
15514
15514
  },
15515
15515
  Argument: {
15516
15516
  leave: ({ name, value }) => name + ": " + value
15517
15517
  },
15518
15518
  FragmentSpread: {
15519
- leave: ({ name, directives }) => "..." + name + wrap(" ", join10(directives, " "))
15519
+ leave: ({ name, directives }) => "..." + name + wrap(" ", join11(directives, " "))
15520
15520
  },
15521
15521
  InlineFragment: {
15522
- leave: ({ typeCondition, directives, selectionSet }) => join10([
15522
+ leave: ({ typeCondition, directives, selectionSet }) => join11([
15523
15523
  "...",
15524
15524
  wrap("on ", typeCondition),
15525
- join10(directives, " "),
15525
+ join11(directives, " "),
15526
15526
  selectionSet
15527
15527
  ], " ")
15528
15528
  },
15529
15529
  FragmentDefinition: {
15530
- leave: ({ name, typeCondition, variableDefinitions, directives, selectionSet }) => `fragment ${name}${wrap("(", join10(variableDefinitions, ", "), ")")} ` + `on ${typeCondition} ${wrap("", join10(directives, " "), " ")}` + selectionSet
15530
+ leave: ({ name, typeCondition, variableDefinitions, directives, selectionSet }) => `fragment ${name}${wrap("(", join11(variableDefinitions, ", "), ")")} ` + `on ${typeCondition} ${wrap("", join11(directives, " "), " ")}` + selectionSet
15531
15531
  },
15532
15532
  IntValue: {
15533
15533
  leave: ({ value }) => value
@@ -15548,16 +15548,16 @@ var require_printer = __commonJS((exports) => {
15548
15548
  leave: ({ value }) => value
15549
15549
  },
15550
15550
  ListValue: {
15551
- leave: ({ values }) => "[" + join10(values, ", ") + "]"
15551
+ leave: ({ values }) => "[" + join11(values, ", ") + "]"
15552
15552
  },
15553
15553
  ObjectValue: {
15554
- leave: ({ fields }) => "{" + join10(fields, ", ") + "}"
15554
+ leave: ({ fields }) => "{" + join11(fields, ", ") + "}"
15555
15555
  },
15556
15556
  ObjectField: {
15557
15557
  leave: ({ name, value }) => name + ": " + value
15558
15558
  },
15559
15559
  Directive: {
15560
- leave: ({ name, arguments: args }) => "@" + name + wrap("(", join10(args, ", "), ")")
15560
+ leave: ({ name, arguments: args }) => "@" + name + wrap("(", join11(args, ", "), ")")
15561
15561
  },
15562
15562
  NamedType: {
15563
15563
  leave: ({ name }) => name
@@ -15570,115 +15570,115 @@ var require_printer = __commonJS((exports) => {
15570
15570
  },
15571
15571
  SchemaDefinition: {
15572
15572
  leave: ({ description, directives, operationTypes }) => wrap("", description, `
15573
- `) + join10(["schema", join10(directives, " "), block(operationTypes)], " ")
15573
+ `) + join11(["schema", join11(directives, " "), block(operationTypes)], " ")
15574
15574
  },
15575
15575
  OperationTypeDefinition: {
15576
15576
  leave: ({ operation, type }) => operation + ": " + type
15577
15577
  },
15578
15578
  ScalarTypeDefinition: {
15579
15579
  leave: ({ description, name, directives }) => wrap("", description, `
15580
- `) + join10(["scalar", name, join10(directives, " ")], " ")
15580
+ `) + join11(["scalar", name, join11(directives, " ")], " ")
15581
15581
  },
15582
15582
  ObjectTypeDefinition: {
15583
15583
  leave: ({ description, name, interfaces, directives, fields }) => wrap("", description, `
15584
- `) + join10([
15584
+ `) + join11([
15585
15585
  "type",
15586
15586
  name,
15587
- wrap("implements ", join10(interfaces, " & ")),
15588
- join10(directives, " "),
15587
+ wrap("implements ", join11(interfaces, " & ")),
15588
+ join11(directives, " "),
15589
15589
  block(fields)
15590
15590
  ], " ")
15591
15591
  },
15592
15592
  FieldDefinition: {
15593
15593
  leave: ({ description, name, arguments: args, type, directives }) => wrap("", description, `
15594
15594
  `) + name + (hasMultilineItems(args) ? wrap(`(
15595
- `, indent(join10(args, `
15595
+ `, indent(join11(args, `
15596
15596
  `)), `
15597
- )`) : wrap("(", join10(args, ", "), ")")) + ": " + type + wrap(" ", join10(directives, " "))
15597
+ )`) : wrap("(", join11(args, ", "), ")")) + ": " + type + wrap(" ", join11(directives, " "))
15598
15598
  },
15599
15599
  InputValueDefinition: {
15600
15600
  leave: ({ description, name, type, defaultValue, directives }) => wrap("", description, `
15601
- `) + join10([name + ": " + type, wrap("= ", defaultValue), join10(directives, " ")], " ")
15601
+ `) + join11([name + ": " + type, wrap("= ", defaultValue), join11(directives, " ")], " ")
15602
15602
  },
15603
15603
  InterfaceTypeDefinition: {
15604
15604
  leave: ({ description, name, interfaces, directives, fields }) => wrap("", description, `
15605
- `) + join10([
15605
+ `) + join11([
15606
15606
  "interface",
15607
15607
  name,
15608
- wrap("implements ", join10(interfaces, " & ")),
15609
- join10(directives, " "),
15608
+ wrap("implements ", join11(interfaces, " & ")),
15609
+ join11(directives, " "),
15610
15610
  block(fields)
15611
15611
  ], " ")
15612
15612
  },
15613
15613
  UnionTypeDefinition: {
15614
15614
  leave: ({ description, name, directives, types: types2 }) => wrap("", description, `
15615
- `) + join10(["union", name, join10(directives, " "), wrap("= ", join10(types2, " | "))], " ")
15615
+ `) + join11(["union", name, join11(directives, " "), wrap("= ", join11(types2, " | "))], " ")
15616
15616
  },
15617
15617
  EnumTypeDefinition: {
15618
15618
  leave: ({ description, name, directives, values }) => wrap("", description, `
15619
- `) + join10(["enum", name, join10(directives, " "), block(values)], " ")
15619
+ `) + join11(["enum", name, join11(directives, " "), block(values)], " ")
15620
15620
  },
15621
15621
  EnumValueDefinition: {
15622
15622
  leave: ({ description, name, directives }) => wrap("", description, `
15623
- `) + join10([name, join10(directives, " ")], " ")
15623
+ `) + join11([name, join11(directives, " ")], " ")
15624
15624
  },
15625
15625
  InputObjectTypeDefinition: {
15626
15626
  leave: ({ description, name, directives, fields }) => wrap("", description, `
15627
- `) + join10(["input", name, join10(directives, " "), block(fields)], " ")
15627
+ `) + join11(["input", name, join11(directives, " "), block(fields)], " ")
15628
15628
  },
15629
15629
  DirectiveDefinition: {
15630
15630
  leave: ({ description, name, arguments: args, repeatable, locations }) => wrap("", description, `
15631
15631
  `) + "directive @" + name + (hasMultilineItems(args) ? wrap(`(
15632
- `, indent(join10(args, `
15632
+ `, indent(join11(args, `
15633
15633
  `)), `
15634
- )`) : wrap("(", join10(args, ", "), ")")) + (repeatable ? " repeatable" : "") + " on " + join10(locations, " | ")
15634
+ )`) : wrap("(", join11(args, ", "), ")")) + (repeatable ? " repeatable" : "") + " on " + join11(locations, " | ")
15635
15635
  },
15636
15636
  SchemaExtension: {
15637
- leave: ({ directives, operationTypes }) => join10(["extend schema", join10(directives, " "), block(operationTypes)], " ")
15637
+ leave: ({ directives, operationTypes }) => join11(["extend schema", join11(directives, " "), block(operationTypes)], " ")
15638
15638
  },
15639
15639
  ScalarTypeExtension: {
15640
- leave: ({ name, directives }) => join10(["extend scalar", name, join10(directives, " ")], " ")
15640
+ leave: ({ name, directives }) => join11(["extend scalar", name, join11(directives, " ")], " ")
15641
15641
  },
15642
15642
  ObjectTypeExtension: {
15643
- leave: ({ name, interfaces, directives, fields }) => join10([
15643
+ leave: ({ name, interfaces, directives, fields }) => join11([
15644
15644
  "extend type",
15645
15645
  name,
15646
- wrap("implements ", join10(interfaces, " & ")),
15647
- join10(directives, " "),
15646
+ wrap("implements ", join11(interfaces, " & ")),
15647
+ join11(directives, " "),
15648
15648
  block(fields)
15649
15649
  ], " ")
15650
15650
  },
15651
15651
  InterfaceTypeExtension: {
15652
- leave: ({ name, interfaces, directives, fields }) => join10([
15652
+ leave: ({ name, interfaces, directives, fields }) => join11([
15653
15653
  "extend interface",
15654
15654
  name,
15655
- wrap("implements ", join10(interfaces, " & ")),
15656
- join10(directives, " "),
15655
+ wrap("implements ", join11(interfaces, " & ")),
15656
+ join11(directives, " "),
15657
15657
  block(fields)
15658
15658
  ], " ")
15659
15659
  },
15660
15660
  UnionTypeExtension: {
15661
- leave: ({ name, directives, types: types2 }) => join10([
15661
+ leave: ({ name, directives, types: types2 }) => join11([
15662
15662
  "extend union",
15663
15663
  name,
15664
- join10(directives, " "),
15665
- wrap("= ", join10(types2, " | "))
15664
+ join11(directives, " "),
15665
+ wrap("= ", join11(types2, " | "))
15666
15666
  ], " ")
15667
15667
  },
15668
15668
  EnumTypeExtension: {
15669
- leave: ({ name, directives, values }) => join10(["extend enum", name, join10(directives, " "), block(values)], " ")
15669
+ leave: ({ name, directives, values }) => join11(["extend enum", name, join11(directives, " "), block(values)], " ")
15670
15670
  },
15671
15671
  InputObjectTypeExtension: {
15672
- leave: ({ name, directives, fields }) => join10(["extend input", name, join10(directives, " "), block(fields)], " ")
15672
+ leave: ({ name, directives, fields }) => join11(["extend input", name, join11(directives, " "), block(fields)], " ")
15673
15673
  }
15674
15674
  };
15675
- function join10(maybeArray, separator = "") {
15675
+ function join11(maybeArray, separator = "") {
15676
15676
  var _maybeArray$filter$jo;
15677
15677
  return (_maybeArray$filter$jo = maybeArray === null || maybeArray === undefined ? undefined : maybeArray.filter((x2) => x2).join(separator)) !== null && _maybeArray$filter$jo !== undefined ? _maybeArray$filter$jo : "";
15678
15678
  }
15679
15679
  function block(array) {
15680
15680
  return wrap(`{
15681
- `, indent(join10(array, `
15681
+ `, indent(join11(array, `
15682
15682
  `)), `
15683
15683
  }`);
15684
15684
  }
@@ -31269,8 +31269,8 @@ var require_adm_zip = __commonJS((exports, module) => {
31269
31269
  return null;
31270
31270
  }
31271
31271
  function fixPath(zipPath) {
31272
- const { join: join10, normalize, sep } = pth.posix;
31273
- return join10(".", normalize(sep + zipPath.split("\\").join(sep) + sep));
31272
+ const { join: join11, normalize, sep } = pth.posix;
31273
+ return join11(".", normalize(sep + zipPath.split("\\").join(sep) + sep));
31274
31274
  }
31275
31275
  function filenameFilter(filterfn) {
31276
31276
  if (filterfn instanceof RegExp) {
@@ -42174,11 +42174,11 @@ var require_path_arg = __commonJS((exports, module) => {
42174
42174
 
42175
42175
  // ../../node_modules/mkdirp/lib/find-made.js
42176
42176
  var require_find_made = __commonJS((exports, module) => {
42177
- var { dirname: dirname2 } = __require("path");
42177
+ var { dirname: dirname3 } = __require("path");
42178
42178
  var findMade = (opts, parent, path7 = undefined) => {
42179
42179
  if (path7 === parent)
42180
42180
  return Promise.resolve();
42181
- return opts.statAsync(parent).then((st) => st.isDirectory() ? path7 : undefined, (er) => er.code === "ENOENT" ? findMade(opts, dirname2(parent), parent) : undefined);
42181
+ return opts.statAsync(parent).then((st) => st.isDirectory() ? path7 : undefined, (er) => er.code === "ENOENT" ? findMade(opts, dirname3(parent), parent) : undefined);
42182
42182
  };
42183
42183
  var findMadeSync = (opts, parent, path7 = undefined) => {
42184
42184
  if (path7 === parent)
@@ -42186,7 +42186,7 @@ var require_find_made = __commonJS((exports, module) => {
42186
42186
  try {
42187
42187
  return opts.statSync(parent).isDirectory() ? path7 : undefined;
42188
42188
  } catch (er) {
42189
- return er.code === "ENOENT" ? findMadeSync(opts, dirname2(parent), parent) : undefined;
42189
+ return er.code === "ENOENT" ? findMadeSync(opts, dirname3(parent), parent) : undefined;
42190
42190
  }
42191
42191
  };
42192
42192
  module.exports = { findMade, findMadeSync };
@@ -42194,10 +42194,10 @@ var require_find_made = __commonJS((exports, module) => {
42194
42194
 
42195
42195
  // ../../node_modules/mkdirp/lib/mkdirp-manual.js
42196
42196
  var require_mkdirp_manual = __commonJS((exports, module) => {
42197
- var { dirname: dirname2 } = __require("path");
42197
+ var { dirname: dirname3 } = __require("path");
42198
42198
  var mkdirpManual = (path7, opts, made) => {
42199
42199
  opts.recursive = false;
42200
- const parent = dirname2(path7);
42200
+ const parent = dirname3(path7);
42201
42201
  if (parent === path7) {
42202
42202
  return opts.mkdirAsync(path7, opts).catch((er) => {
42203
42203
  if (er.code !== "EISDIR")
@@ -42220,7 +42220,7 @@ var require_mkdirp_manual = __commonJS((exports, module) => {
42220
42220
  });
42221
42221
  };
42222
42222
  var mkdirpManualSync = (path7, opts, made) => {
42223
- const parent = dirname2(path7);
42223
+ const parent = dirname3(path7);
42224
42224
  opts.recursive = false;
42225
42225
  if (parent === path7) {
42226
42226
  try {
@@ -42253,12 +42253,12 @@ var require_mkdirp_manual = __commonJS((exports, module) => {
42253
42253
 
42254
42254
  // ../../node_modules/mkdirp/lib/mkdirp-native.js
42255
42255
  var require_mkdirp_native = __commonJS((exports, module) => {
42256
- var { dirname: dirname2 } = __require("path");
42256
+ var { dirname: dirname3 } = __require("path");
42257
42257
  var { findMade, findMadeSync } = require_find_made();
42258
42258
  var { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
42259
42259
  var mkdirpNative = (path7, opts) => {
42260
42260
  opts.recursive = true;
42261
- const parent = dirname2(path7);
42261
+ const parent = dirname3(path7);
42262
42262
  if (parent === path7)
42263
42263
  return opts.mkdirAsync(path7, opts);
42264
42264
  return findMade(opts, path7).then((made) => opts.mkdirAsync(path7, opts).then(() => made).catch((er) => {
@@ -42270,7 +42270,7 @@ var require_mkdirp_native = __commonJS((exports, module) => {
42270
42270
  };
42271
42271
  var mkdirpNativeSync = (path7, opts) => {
42272
42272
  opts.recursive = true;
42273
- const parent = dirname2(path7);
42273
+ const parent = dirname3(path7);
42274
42274
  if (parent === path7)
42275
42275
  return opts.mkdirSync(path7, opts);
42276
42276
  const made = findMadeSync(opts, path7);
@@ -42659,7 +42659,7 @@ var require_path_reservations = __commonJS((exports, module) => {
42659
42659
  var assert = __require("assert");
42660
42660
  var normalize = require_normalize_unicode();
42661
42661
  var stripSlashes = require_strip_trailing_slashes();
42662
- var { join: join10 } = __require("path");
42662
+ var { join: join11 } = __require("path");
42663
42663
  var platform2 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
42664
42664
  var isWindows = platform2 === "win32";
42665
42665
  module.exports = () => {
@@ -42668,7 +42668,7 @@ var require_path_reservations = __commonJS((exports, module) => {
42668
42668
  const getDirs = (path7) => {
42669
42669
  const dirs = path7.split("/").slice(0, -1).reduce((set, path8) => {
42670
42670
  if (set.length) {
42671
- path8 = join10(set[set.length - 1], path8);
42671
+ path8 = join11(set[set.length - 1], path8);
42672
42672
  }
42673
42673
  set.push(path8 || "/");
42674
42674
  return set;
@@ -42736,7 +42736,7 @@ var require_path_reservations = __commonJS((exports, module) => {
42736
42736
  };
42737
42737
  const reserve = (paths, fn) => {
42738
42738
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p2) => {
42739
- return stripSlashes(join10(normalize(p2))).toLowerCase();
42739
+ return stripSlashes(join11(normalize(p2))).toLowerCase();
42740
42740
  });
42741
42741
  const dirs = new Set(paths.map((path7) => getDirs(path7)).reduce((a, b3) => a.concat(b3)));
42742
42742
  reservations.set(fn, { dirs, paths });
@@ -214640,8 +214640,25 @@ function parseTimeout(timeout) {
214640
214640
  }
214641
214641
  // ../shared/dist/utils/version.js
214642
214642
  var import_picocolors5 = __toESM(require_picocolors(), 1);
214643
+ import { readFileSync as readFileSync2 } from "fs";
214644
+ import { join as join5, dirname } from "path";
214645
+ import { fileURLToPath } from "url";
214646
+ var __filename = "/Users/keithgroves/projects/enact/enact-cli/packages/shared/dist/utils/version.js";
214643
214647
  function showVersion() {
214644
- const version = process.env.npm_package_version || "0.0.1-dev";
214648
+ let version = "0.0.1-dev";
214649
+ try {
214650
+ if (process.env.npm_package_version) {
214651
+ version = process.env.npm_package_version;
214652
+ } else {
214653
+ const currentFile = typeof __filename !== "undefined" ? __filename : fileURLToPath(import.meta.url);
214654
+ const sharedDir = dirname(dirname(dirname(currentFile)));
214655
+ const packageJsonPath = join5(sharedDir, "package.json");
214656
+ const packageJson = JSON.parse(readFileSync2(packageJsonPath, "utf8"));
214657
+ version = packageJson.version;
214658
+ }
214659
+ } catch (error) {
214660
+ version = "1.0.14";
214661
+ }
214645
214662
  const versionText = `v${version}`;
214646
214663
  console.error(`
214647
214664
  ${import_picocolors5.default.bold("Enact CLI")} ${import_picocolors5.default.cyan(versionText)}
@@ -214652,10 +214669,10 @@ ${import_picocolors5.default.dim("A tool to create and publish enact documents."
214652
214669
  var import_picocolors6 = __toESM(require_picocolors(), 1);
214653
214670
  import { existsSync as existsSync4 } from "fs";
214654
214671
  import { readFile as readFile4, writeFile as writeFile3, mkdir as mkdir3 } from "fs/promises";
214655
- import { join as join5 } from "path";
214672
+ import { join as join6 } from "path";
214656
214673
  import { homedir as homedir4 } from "os";
214657
- var CONFIG_DIR4 = join5(homedir4(), ".enact");
214658
- var CONFIG_FILE2 = join5(CONFIG_DIR4, "config.json");
214674
+ var CONFIG_DIR4 = join6(homedir4(), ".enact");
214675
+ var CONFIG_FILE2 = join6(CONFIG_DIR4, "config.json");
214659
214676
  async function handleRemoteCommand(args, options) {
214660
214677
  if (options.help || !args[0]) {
214661
214678
  console.error(`
@@ -216398,21 +216415,21 @@ async function handleSignToolCommand(args, options) {
216398
216415
  var import_picocolors10 = __toESM(require_picocolors(), 1);
216399
216416
  import { existsSync as existsSync8 } from "fs";
216400
216417
  import { readFile as readFile5, writeFile as writeFile5, mkdir as mkdir5 } from "fs/promises";
216401
- import { join as join8, dirname } from "path";
216418
+ import { join as join9, dirname as dirname2 } from "path";
216402
216419
  import { homedir as homedir5 } from "os";
216403
- var CONFIG_DIR5 = join8(homedir5(), ".enact");
216404
- var ENV_BASE_DIR = join8(CONFIG_DIR5, "env");
216420
+ var CONFIG_DIR5 = join9(homedir5(), ".enact");
216421
+ var ENV_BASE_DIR = join9(CONFIG_DIR5, "env");
216405
216422
  function getPackageEnvPath2(packageName) {
216406
216423
  const parts = packageName.split("/");
216407
216424
  if (parts.length < 2) {
216408
216425
  throw new Error('Package name must be in format "org/package" or "org/package/tool"');
216409
216426
  }
216410
216427
  const namespace = parts.slice(0, -1).join("/");
216411
- return join8(ENV_BASE_DIR, namespace, ".env");
216428
+ return join9(ENV_BASE_DIR, namespace, ".env");
216412
216429
  }
216413
216430
  async function ensurePackageEnvDir(packageName) {
216414
216431
  const envFile = getPackageEnvPath2(packageName);
216415
- const envDir = dirname(envFile);
216432
+ const envDir = dirname2(envFile);
216416
216433
  if (!existsSync8(envDir)) {
216417
216434
  await mkdir5(envDir, { recursive: true });
216418
216435
  }
@@ -216476,7 +216493,7 @@ async function listPackageNamespaces() {
216476
216493
  let scanDirectory = function(dir, prefix = "") {
216477
216494
  const items = fs3.readdirSync(dir);
216478
216495
  for (const item of items) {
216479
- const itemPath = join8(dir, item);
216496
+ const itemPath = join9(dir, item);
216480
216497
  const stat = fs3.statSync(itemPath);
216481
216498
  if (stat.isDirectory()) {
216482
216499
  const currentPath = prefix ? `${prefix}/${item}` : item;
@@ -216739,7 +216756,7 @@ Use "enact env list <package>" to see variables for a specific package.`));
216739
216756
  var import_picocolors11 = __toESM(require_picocolors(), 1);
216740
216757
  import { existsSync as existsSync9 } from "fs";
216741
216758
  import { readFile as readFile6, writeFile as writeFile6, mkdir as mkdir6 } from "fs/promises";
216742
- import { join as join9 } from "path";
216759
+ import { join as join10 } from "path";
216743
216760
  import { homedir as homedir6 } from "os";
216744
216761
  import { platform } from "os";
216745
216762
  import { exec as exec2 } from "child_process";
@@ -216749,33 +216766,33 @@ var MCP_CLIENTS = {
216749
216766
  "claude-desktop": {
216750
216767
  name: "Claude Desktop",
216751
216768
  configPaths: {
216752
- darwin: join9(homedir6(), "Library/Application Support/Claude/claude_desktop_config.json"),
216753
- win32: join9(process.env.APPDATA || "", "Claude/claude_desktop_config.json"),
216754
- linux: join9(homedir6(), ".config/claude/claude_desktop_config.json")
216769
+ darwin: join10(homedir6(), "Library/Application Support/Claude/claude_desktop_config.json"),
216770
+ win32: join10(process.env.APPDATA || "", "Claude/claude_desktop_config.json"),
216771
+ linux: join10(homedir6(), ".config/claude/claude_desktop_config.json")
216755
216772
  }
216756
216773
  },
216757
216774
  "claude-code": {
216758
216775
  name: "Claude Code",
216759
216776
  configPaths: {
216760
- darwin: join9(homedir6(), ".claude.json"),
216761
- win32: join9(homedir6(), ".claude.json"),
216762
- linux: join9(homedir6(), ".claude.json")
216777
+ darwin: join10(homedir6(), ".claude.json"),
216778
+ win32: join10(homedir6(), ".claude.json"),
216779
+ linux: join10(homedir6(), ".claude.json")
216763
216780
  }
216764
216781
  },
216765
216782
  vscode: {
216766
216783
  name: "VS Code MCP",
216767
216784
  configPaths: {
216768
- darwin: join9(homedir6(), "Library/Application Support/Code/User/settings.json"),
216769
- win32: join9(process.env.APPDATA || "", "Code/User/settings.json"),
216770
- linux: join9(homedir6(), ".config/Code/User/settings.json")
216785
+ darwin: join10(homedir6(), "Library/Application Support/Code/User/settings.json"),
216786
+ win32: join10(process.env.APPDATA || "", "Code/User/settings.json"),
216787
+ linux: join10(homedir6(), ".config/Code/User/settings.json")
216771
216788
  }
216772
216789
  },
216773
216790
  goose: {
216774
216791
  name: "Goose AI",
216775
216792
  configPaths: {
216776
- darwin: join9(homedir6(), ".config/goose/config.yaml"),
216777
- win32: join9(process.env.APPDATA || "", "Block/goose/config/config.yaml"),
216778
- linux: join9(homedir6(), ".config/goose/config.yaml")
216793
+ darwin: join10(homedir6(), ".config/goose/config.yaml"),
216794
+ win32: join10(process.env.APPDATA || "", "Block/goose/config/config.yaml"),
216795
+ linux: join10(homedir6(), ".config/goose/config.yaml")
216779
216796
  }
216780
216797
  }
216781
216798
  };
@@ -216917,7 +216934,7 @@ async function detectMcpClients() {
216917
216934
  await execAsync2("goose --version");
216918
216935
  isGooseAvailable = true;
216919
216936
  } catch (error) {
216920
- const configDir = join9(configPath, "..");
216937
+ const configDir = join10(configPath, "..");
216921
216938
  if (existsSync9(configDir)) {
216922
216939
  isGooseAvailable = true;
216923
216940
  }
@@ -216948,7 +216965,7 @@ async function installMcpServer(client) {
216948
216965
  const extensionName = "Enact Tools";
216949
216966
  const yaml = await Promise.resolve().then(() => __toESM(require_dist(), 1));
216950
216967
  const configPath2 = client.configPath;
216951
- const configDir2 = join9(configPath2, "..");
216968
+ const configDir2 = join10(configPath2, "..");
216952
216969
  await mkdir6(configDir2, { recursive: true });
216953
216970
  let config3 = {};
216954
216971
  if (existsSync9(configPath2)) {
@@ -216980,7 +216997,7 @@ async function installMcpServer(client) {
216980
216997
  return;
216981
216998
  }
216982
216999
  const configPath = client.configPath;
216983
- const configDir = join9(configPath, "..");
217000
+ const configDir = join10(configPath, "..");
216984
217001
  await mkdir6(configDir, { recursive: true });
216985
217002
  let config2 = {};
216986
217003
  if (existsSync9(configPath)) {
@@ -217299,7 +217316,7 @@ async function getCurrentConfig(global2 = false) {
217299
217316
  }
217300
217317
 
217301
217318
  // src/commands/core.ts
217302
- import { readFileSync as readFileSync6, existsSync as existsSync12 } from "fs";
217319
+ import { readFileSync as readFileSync7, existsSync as existsSync12 } from "fs";
217303
217320
  import { readFile as readFile7 } from "fs/promises";
217304
217321
  import { resolve, extname } from "path";
217305
217322
 
@@ -218427,7 +218444,7 @@ function stripFinalNewline(input) {
218427
218444
  // ../../node_modules/npm-run-path/index.js
218428
218445
  import process3 from "node:process";
218429
218446
  import path5 from "node:path";
218430
- import { fileURLToPath } from "node:url";
218447
+ import { fileURLToPath as fileURLToPath2 } from "node:url";
218431
218448
 
218432
218449
  // ../../node_modules/npm-run-path/node_modules/path-key/index.js
218433
218450
  function pathKey(options = {}) {
@@ -218449,7 +218466,7 @@ var npmRunPath = ({
218449
218466
  execPath = process3.execPath,
218450
218467
  addExecPath = true
218451
218468
  } = {}) => {
218452
- const cwdString = cwd instanceof URL ? fileURLToPath(cwd) : cwd;
218469
+ const cwdString = cwd instanceof URL ? fileURLToPath2(cwd) : cwd;
218453
218470
  const cwdPath = path5.resolve(cwdString);
218454
218471
  const result = [];
218455
218472
  if (preferLocal) {
@@ -218469,7 +218486,7 @@ var applyPreferLocal = (result, cwdPath) => {
218469
218486
  }
218470
218487
  };
218471
218488
  var applyExecPath = (result, execPath, cwdPath) => {
218472
- const execPathString = execPath instanceof URL ? fileURLToPath(execPath) : execPath;
218489
+ const execPathString = execPath instanceof URL ? fileURLToPath2(execPath) : execPath;
218473
218490
  result.push(path5.resolve(cwdPath, execPathString, ".."));
218474
218491
  };
218475
218492
  var npmRunPathEnv = ({ env: env2 = process3.env, ...options } = {}) => {
@@ -219347,7 +219364,7 @@ var addPipeMethods = (spawned) => {
219347
219364
  };
219348
219365
 
219349
219366
  // ../../node_modules/execa/lib/stream.js
219350
- import { createReadStream, readFileSync as readFileSync4 } from "node:fs";
219367
+ import { createReadStream, readFileSync as readFileSync5 } from "node:fs";
219351
219368
  import { setTimeout as setTimeout2 } from "node:timers/promises";
219352
219369
 
219353
219370
  // ../../node_modules/get-stream/source/contents.js
@@ -219543,7 +219560,7 @@ var getInputSync = ({ input, inputFile }) => {
219543
219560
  return input;
219544
219561
  }
219545
219562
  validateInputOptions(input);
219546
- return readFileSync4(inputFile);
219563
+ return readFileSync5(inputFile);
219547
219564
  };
219548
219565
  var handleInputSync = (options) => {
219549
219566
  const input = getInputSync(options);
@@ -221146,7 +221163,7 @@ import * as os5 from "os";
221146
221163
  import * as path7 from "path";
221147
221164
  import * as process8 from "process";
221148
221165
  import readline from "readline";
221149
- import { fileURLToPath as fileURLToPath2 } from "url";
221166
+ import { fileURLToPath as fileURLToPath3 } from "url";
221150
221167
 
221151
221168
  // ../../node_modules/@dagger.io/dagger/dist/common/utils.js
221152
221169
  var import_node_color_log = __toESM(require_node_color_log(), 1);
@@ -221359,7 +221376,7 @@ class Bin {
221359
221376
  }
221360
221377
  getSDKVersion() {
221361
221378
  const currentFileUrl = import.meta.url;
221362
- const currentFilePath = fileURLToPath2(currentFileUrl);
221379
+ const currentFilePath = fileURLToPath3(currentFileUrl);
221363
221380
  let currentPath = path7.dirname(currentFilePath);
221364
221381
  while (currentPath !== path7.parse(currentPath).root) {
221365
221382
  const packageJsonPath = path7.join(currentPath, "package.json");
@@ -226012,7 +226029,7 @@ var func = registry.func;
226012
226029
  var field = registry.field;
226013
226030
  // ../../node_modules/@dagger.io/dagger/dist/entrypoint/entrypoint.js
226014
226031
  import * as path8 from "path";
226015
- import { fileURLToPath as fileURLToPath3 } from "url";
226032
+ import { fileURLToPath as fileURLToPath4 } from "url";
226016
226033
 
226017
226034
  // ../../node_modules/@dagger.io/dagger/dist/introspector/scanner/scan.js
226018
226035
  var import_typescript3 = __toESM(require_typescript(), 1);
@@ -226024,7 +226041,7 @@ var import_typescript2 = __toESM(require_typescript(), 1);
226024
226041
  var import_typescript = __toESM(require_typescript(), 1);
226025
226042
 
226026
226043
  // ../../node_modules/@dagger.io/dagger/dist/entrypoint/entrypoint.js
226027
- var __filename2 = fileURLToPath3(import.meta.url);
226044
+ var __filename2 = fileURLToPath4(import.meta.url);
226028
226045
  var __dirname2 = path8.dirname(__filename2);
226029
226046
  var moduleSrcDirectory = `${__dirname2}/../../src/`;
226030
226047
  // ../shared/dist/core/DaggerExecutionProvider.js
@@ -227517,7 +227534,7 @@ async function loadLocalTool(filePath) {
227517
227534
  throw new Error(`Tool file not found: ${resolvedPath}`);
227518
227535
  }
227519
227536
  try {
227520
- const fileContent = readFileSync6(resolvedPath, "utf8");
227537
+ const fileContent = readFileSync7(resolvedPath, "utf8");
227521
227538
  const toolData = import_yaml3.default.parse(fileContent);
227522
227539
  const toolDefinition = {
227523
227540
  ...toolData,