wp-typia 0.23.1 → 0.24.1

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.
@@ -19,7 +19,7 @@ import {
19
19
  package_default,
20
20
  prefersStructuredCliOutput,
21
21
  resolveCommandOptionValues
22
- } from "./cli-ymecd15q.js";
22
+ } from "./cli-1xt99e09.js";
23
23
  import {
24
24
  Result,
25
25
  TaggedError,
@@ -38,7 +38,7 @@ import {
38
38
  } from "./cli-t73q5aqz.js";
39
39
  import {
40
40
  ADD_KIND_IDS
41
- } from "./cli-43mx1vfb.js";
41
+ } from "./cli-bajwv85z.js";
42
42
  import {
43
43
  CLI_DIAGNOSTIC_CODES,
44
44
  createCliDiagnosticCodeError
@@ -125,11 +125,13 @@ var NAME_TYPE_VISIBLE_FIELDS = [
125
125
  "name",
126
126
  "type"
127
127
  ];
128
- var NAME_BLOCK_ATTRIBUTE_VISIBLE_FIELDS = [
128
+ var NAME_BLOCK_ATTRIBUTE_POST_META_VISIBLE_FIELDS = [
129
129
  "kind",
130
130
  "name",
131
131
  "block",
132
- "attribute"
132
+ "attribute",
133
+ "post-meta",
134
+ "meta-path"
133
135
  ];
134
136
  var NAME_BLOCK_VISIBLE_FIELDS = [
135
137
  "kind",
@@ -378,7 +380,7 @@ var aiFeatureAddKindEntry = defineAddKindRegistryEntry({
378
380
  });
379
381
 
380
382
  // src/add-kinds/binding-source.ts
381
- var BINDING_SOURCE_MISSING_NAME_MESSAGE = "`wp-typia add binding-source` requires <name>. Usage: wp-typia add binding-source <name> [--block <block-slug|namespace/block-slug> --attribute <attribute>].";
383
+ var BINDING_SOURCE_MISSING_NAME_MESSAGE = "`wp-typia add binding-source` requires <name>. Usage: wp-typia add binding-source <name> [--block <block-slug|namespace/block-slug> --attribute <attribute>] [--from-post-meta <post-meta> --meta-path <field>].";
382
384
  var bindingSourceAddKindEntry = defineAddKindRegistryEntry({
383
385
  completion: {
384
386
  nextSteps: (values) => [
@@ -386,11 +388,18 @@ var bindingSourceAddKindEntry = defineAddKindRegistryEntry({
386
388
  ...values.blockSlug && values.attributeName ? [
387
389
  `Review src/blocks/${values.blockSlug}/block.json for the ${values.attributeName} bindable attribute.`
388
390
  ] : [],
391
+ ...values.postMetaSlug ? [
392
+ `Run wp-typia sync-rest --check after editing ${values.schemaFile}.`
393
+ ] : [],
389
394
  "Run your workspace build or dev command to verify the binding source hooks and editor registration."
390
395
  ],
391
396
  summaryLines: (values, projectDir) => [
392
397
  `Binding source: ${values.bindingSourceSlug}`,
393
398
  ...values.blockSlug && values.attributeName ? [`Target: ${values.blockSlug}.${values.attributeName}`] : [],
399
+ ...values.postMetaSlug ? [
400
+ `Post meta: ${values.postMetaSlug}`,
401
+ `Meta field: ${values.metaPath}`
402
+ ] : [],
394
403
  `Project directory: ${projectDir}`
395
404
  ],
396
405
  title: "Added binding source"
@@ -400,17 +409,26 @@ var bindingSourceAddKindEntry = defineAddKindRegistryEntry({
400
409
  async prepareExecution(context) {
401
410
  const name = requireAddKindName(context, BINDING_SOURCE_MISSING_NAME_MESSAGE);
402
411
  const [blockName, attributeName] = readOptionalPairedStrictStringFlags(context.flags, "block", "attribute", "`wp-typia add binding-source` requires --block and --attribute to be provided together.");
412
+ const postMetaName = readOptionalDashedOrCamelStringFlag(context.flags, "from-post-meta", "fromPostMeta") ?? readOptionalDashedOrCamelStringFlag(context.flags, "post-meta", "postMeta");
413
+ const metaPath = readOptionalDashedOrCamelStringFlag(context.flags, "meta-path", "metaPath");
403
414
  return createNamedExecutionPlan(context, {
404
415
  execute: ({ cwd, name: name2 }) => context.addRuntime.runAddBindingSourceCommand({
405
416
  attributeName,
406
417
  bindingSourceName: name2,
407
418
  blockName,
408
- cwd
419
+ cwd,
420
+ metaPath,
421
+ postMetaName
409
422
  }),
410
423
  getValues: (result) => ({
411
424
  ...result.attributeName ? { attributeName: result.attributeName } : {},
412
425
  ...result.blockSlug ? { blockSlug: result.blockSlug } : {},
413
- bindingSourceSlug: result.bindingSourceSlug
426
+ bindingSourceSlug: result.bindingSourceSlug,
427
+ ...result.metaKey ? { metaKey: result.metaKey } : {},
428
+ ...result.metaPath ? { metaPath: result.metaPath } : {},
429
+ ...result.postMetaSlug ? { postMetaSlug: result.postMetaSlug } : {},
430
+ ...result.postType ? { postType: result.postType } : {},
431
+ ...result.schemaFile ? { schemaFile: result.schemaFile } : {}
414
432
  }),
415
433
  missingNameMessage: BINDING_SOURCE_MISSING_NAME_MESSAGE,
416
434
  name,
@@ -419,8 +437,8 @@ var bindingSourceAddKindEntry = defineAddKindRegistryEntry({
419
437
  },
420
438
  sortOrder: 70,
421
439
  supportsDryRun: true,
422
- usage: "wp-typia add binding-source <name> [--block <block-slug|namespace/block-slug> --attribute <attribute>] [--dry-run]",
423
- visibleFieldNames: () => NAME_BLOCK_ATTRIBUTE_VISIBLE_FIELDS
440
+ usage: "wp-typia add binding-source <name> [--block <block-slug|namespace/block-slug> --attribute <attribute>] [--from-post-meta|--post-meta <post-meta> [--meta-path <field>]] [--dry-run]",
441
+ visibleFieldNames: () => NAME_BLOCK_ATTRIBUTE_POST_META_VISIBLE_FIELDS
424
442
  });
425
443
 
426
444
  // src/external-layer-prompt-options.ts
@@ -562,6 +580,75 @@ var contractAddKindEntry = defineAddKindRegistryEntry({
562
580
  visibleFieldNames: () => NAME_TYPE_VISIBLE_FIELDS
563
581
  });
564
582
 
583
+ // src/add-kinds/core-variation.ts
584
+ var CORE_VARIATION_MISSING_NAME_MESSAGE = "`wp-typia add core-variation` requires <name>. Usage: wp-typia add core-variation <block-name> <name> or wp-typia add core-variation <name> --block <namespace/block>.";
585
+ var CORE_VARIATION_MISSING_BLOCK_MESSAGE = "`wp-typia add core-variation` requires <block-name>. Usage: wp-typia add core-variation <block-name> <name> or wp-typia add core-variation <name> --block <namespace/block>.";
586
+ function resolveCoreVariationInputs(context) {
587
+ const positionalTargetBlockName = context.positionalArgs?.[1];
588
+ const positionalVariationName = context.positionalArgs?.[2];
589
+ if (positionalVariationName) {
590
+ if (!positionalTargetBlockName) {
591
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.MISSING_ARGUMENT, CORE_VARIATION_MISSING_BLOCK_MESSAGE);
592
+ }
593
+ return {
594
+ targetBlockName: positionalTargetBlockName,
595
+ variationName: positionalVariationName
596
+ };
597
+ }
598
+ if (context.name?.includes("/") && !readOptionalStrictStringFlag(context.flags, "block")) {
599
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.MISSING_ARGUMENT, CORE_VARIATION_MISSING_NAME_MESSAGE);
600
+ }
601
+ const variationName = requireAddKindName(context, CORE_VARIATION_MISSING_NAME_MESSAGE);
602
+ const targetBlockName = readOptionalStrictStringFlag(context.flags, "block");
603
+ if (!targetBlockName) {
604
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.MISSING_ARGUMENT, CORE_VARIATION_MISSING_BLOCK_MESSAGE);
605
+ }
606
+ return {
607
+ targetBlockName,
608
+ variationName
609
+ };
610
+ }
611
+ var coreVariationAddKindEntry = defineAddKindRegistryEntry({
612
+ completion: {
613
+ nextSteps: (values) => [
614
+ `Review ${values.variationFile}.`,
615
+ "Run your workspace build or dev command to verify the editor-side variation registration."
616
+ ],
617
+ summaryLines: (values, projectDir) => [
618
+ `Core variation: ${values.variationSlug}`,
619
+ `Target block: ${values.targetBlockName}`,
620
+ `Project directory: ${projectDir}`
621
+ ],
622
+ title: "Added core block variation"
623
+ },
624
+ description: "Add an editor-side variation for an existing core or external block",
625
+ nameLabel: "Variation name",
626
+ async prepareExecution(context) {
627
+ const { targetBlockName, variationName } = resolveCoreVariationInputs(context);
628
+ return createNamedExecutionPlan(context, {
629
+ execute: ({ cwd, name }) => context.addRuntime.runAddCoreVariationCommand({
630
+ cwd,
631
+ targetBlockName,
632
+ variationName: name
633
+ }),
634
+ getValues: (result) => ({
635
+ targetBlockName: result.targetBlockName,
636
+ variationFile: result.variationFile,
637
+ variationSlug: result.variationSlug
638
+ }),
639
+ getWarnings: (result) => result.warnings,
640
+ missingNameMessage: CORE_VARIATION_MISSING_NAME_MESSAGE,
641
+ name: variationName,
642
+ warnLine: context.warnLine
643
+ });
644
+ },
645
+ sortOrder: 25,
646
+ supportsDryRun: true,
647
+ usage: `wp-typia add core-variation <block-name> <name> [--dry-run]
648
+ Alias: wp-typia add core-variation <name> --block <namespace/block> [--dry-run]`,
649
+ visibleFieldNames: () => NAME_BLOCK_VISIBLE_FIELDS
650
+ });
651
+
565
652
  // src/add-kinds/editor-plugin.ts
566
653
  var EDITOR_PLUGIN_MISSING_NAME_MESSAGE = "`wp-typia add editor-plugin` requires <name>. Usage: wp-typia add editor-plugin <name> [--slot <sidebar|document-setting-panel>].";
567
654
  var editorPluginAddKindEntry = defineAddKindRegistryEntry({
@@ -704,35 +791,79 @@ var PATTERN_MISSING_NAME_MESSAGE = "`wp-typia add pattern` requires <name>. Usag
704
791
  var patternAddKindEntry = defineAddKindRegistryEntry({
705
792
  completion: {
706
793
  nextSteps: (values) => [
707
- `Review src/patterns/${values.patternSlug}.php.`,
794
+ `Review ${values.contentFile}.`,
708
795
  "Run your workspace build or dev command to verify the new pattern registration."
709
796
  ],
710
797
  summaryLines: (values, projectDir) => [
711
798
  `Pattern: ${values.patternSlug}`,
799
+ `Content file: ${values.contentFile}`,
712
800
  `Project directory: ${projectDir}`
713
801
  ],
714
802
  title: "Added workspace pattern"
715
803
  },
716
804
  description: "Add a PHP block pattern shell",
805
+ hiddenStringSubmitFields: [
806
+ "catalog-title",
807
+ "scope",
808
+ "section-role",
809
+ "tag",
810
+ "tags",
811
+ "thumbnail-url"
812
+ ],
717
813
  nameLabel: "Pattern name",
718
814
  async prepareExecution(context) {
719
- return createNamedExecutionPlan(context, {
720
- execute: ({ cwd, name }) => context.addRuntime.runAddPatternCommand({
815
+ const name = requireAddKindName(context, PATTERN_MISSING_NAME_MESSAGE);
816
+ const scope = typeof context.flags.scope === "string" ? context.flags.scope : undefined;
817
+ const sectionRole = typeof context.flags["section-role"] === "string" ? context.flags["section-role"] : undefined;
818
+ const catalogTitle = typeof context.flags["catalog-title"] === "string" ? context.flags["catalog-title"] : undefined;
819
+ const tags = normalizePatternTagFlags(context.flags.tags, context.flags.tag);
820
+ const thumbnailUrl = typeof context.flags["thumbnail-url"] === "string" ? context.flags["thumbnail-url"] : undefined;
821
+ return {
822
+ execute: (cwd) => context.addRuntime.runAddPatternCommand({
823
+ catalogTitle,
721
824
  cwd,
722
- patternName: name
825
+ patternScope: scope,
826
+ patternName: name,
827
+ sectionRole,
828
+ tags,
829
+ thumbnailUrl
723
830
  }),
724
831
  getValues: (result) => ({
725
- patternSlug: result.patternSlug
832
+ contentFile: result.contentFile,
833
+ patternSlug: result.patternSlug,
834
+ patternScope: result.patternScope,
835
+ ...result.sectionRole ? { sectionRole: result.sectionRole } : {}
726
836
  }),
727
- missingNameMessage: PATTERN_MISSING_NAME_MESSAGE,
728
837
  warnLine: context.warnLine
729
- });
838
+ };
730
839
  },
731
840
  sortOrder: 60,
732
841
  supportsDryRun: true,
733
- usage: "wp-typia add pattern <name> [--dry-run]",
842
+ usage: "wp-typia add pattern <name> [--scope <full|section>] [--section-role <role>] [--catalog-title <title>] [--tags <tag,...>|--tag <tag>...] [--thumbnail-url <url>] [--dry-run]",
734
843
  visibleFieldNames: () => NAME_ONLY_VISIBLE_FIELDS
735
844
  });
845
+ function collectStringFlagValues(value) {
846
+ if (typeof value === "string") {
847
+ return [value];
848
+ }
849
+ if (Array.isArray(value)) {
850
+ return value.filter((item) => typeof item === "string");
851
+ }
852
+ return [];
853
+ }
854
+ function normalizePatternTagFlags(tagsFlag, tagFlag) {
855
+ const tags = [
856
+ ...collectStringFlagValues(tagsFlag),
857
+ ...collectStringFlagValues(tagFlag)
858
+ ];
859
+ if (tags.length === 0) {
860
+ return;
861
+ }
862
+ if (tags.length === 1) {
863
+ return tags[0];
864
+ }
865
+ return tags;
866
+ }
736
867
 
737
868
  // src/add-kinds/post-meta.ts
738
869
  var POST_META_MISSING_NAME_MESSAGE = "`wp-typia add post-meta` requires <name>. Usage: wp-typia add post-meta <name> --post-type <post-type> [--type <ExportedTypeName>] [--meta-key <meta-key>].";
@@ -806,6 +937,31 @@ var REST_RESOURCE_MISSING_NAME_MESSAGE = [
806
937
  ` ${REST_RESOURCE_MANUAL_USAGE}`
807
938
  ].join(`
808
939
  `);
940
+ var SECRET_PRESERVE_ON_EMPTY_TRUE_VALUES = new Set(["1", "true", "yes"]);
941
+ var SECRET_PRESERVE_ON_EMPTY_FALSE_VALUES = new Set(["0", "false", "no"]);
942
+ function readOptionalSecretPreserveOnEmptyFlag(flags) {
943
+ const value = flags["secret-preserve-on-empty"] ?? flags.secretPreserveOnEmpty;
944
+ if (value === undefined || value === null) {
945
+ return;
946
+ }
947
+ if (typeof value === "boolean") {
948
+ return value;
949
+ }
950
+ if (typeof value !== "string") {
951
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.MISSING_ARGUMENT, "`--secret-preserve-on-empty` requires a value.");
952
+ }
953
+ const normalized = value.trim().toLowerCase();
954
+ if (normalized.length === 0) {
955
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.MISSING_ARGUMENT, "`--secret-preserve-on-empty` requires a value.");
956
+ }
957
+ if (SECRET_PRESERVE_ON_EMPTY_TRUE_VALUES.has(normalized)) {
958
+ return true;
959
+ }
960
+ if (SECRET_PRESERVE_ON_EMPTY_FALSE_VALUES.has(normalized)) {
961
+ return false;
962
+ }
963
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, "Manual REST contract --secret-preserve-on-empty must be true or false.");
964
+ }
809
965
  var restResourceAddKindEntry = defineAddKindRegistryEntry({
810
966
  completion: {
811
967
  nextSteps: (values) => values.mode === "manual" ? [
@@ -877,7 +1033,7 @@ var restResourceAddKindEntry = defineAddKindRegistryEntry({
877
1033
  const secretFieldName = readOptionalDashedOrCamelStringFlag(context.flags, "secret-field", "secretField");
878
1034
  const secretHasValueFieldName = readOptionalDashedOrCamelStringFlag(context.flags, "secret-has-value-field", "secretHasValueField");
879
1035
  const secretMaskedResponseFieldName = readOptionalDashedOrCamelStringFlag(context.flags, "secret-masked-response-field", "secretMaskedResponseField");
880
- const secretPreserveOnEmpty = readOptionalDashedOrCamelStringFlag(context.flags, "secret-preserve-on-empty", "secretPreserveOnEmpty");
1036
+ const secretPreserveOnEmpty = readOptionalSecretPreserveOnEmptyFlag(context.flags);
881
1037
  const secretStateFieldName = readOptionalDashedOrCamelStringFlag(context.flags, "secret-state-field", "secretStateField");
882
1038
  return createNamedExecutionPlan(context, {
883
1039
  execute: ({ cwd, name: name2 }) => context.addRuntime.runAddRestResourceCommand({
@@ -1062,6 +1218,7 @@ var ADD_KIND_REGISTRY = {
1062
1218
  "admin-view": adminViewAddKindEntry,
1063
1219
  block: blockAddKindEntry,
1064
1220
  "integration-env": integrationEnvAddKindEntry,
1221
+ "core-variation": coreVariationAddKindEntry,
1065
1222
  variation: variationAddKindEntry,
1066
1223
  style: styleAddKindEntry,
1067
1224
  transform: transformAddKindEntry,
@@ -1661,7 +1818,7 @@ function pushFlag(argv, name, value) {
1661
1818
  }
1662
1819
 
1663
1820
  // src/runtime-bridge-add.ts
1664
- var loadCliAddRuntime = () => import("./cli-add-xjaaa01x.js");
1821
+ var loadCliAddRuntime = () => import("./cli-add-mr731xtv.js");
1665
1822
  var loadCliPromptRuntime = () => import("./cli-prompt-ncyg68rn.js");
1666
1823
  async function executeWorkspaceAddWithOptionalDryRun(options) {
1667
1824
  const simulated = options.dryRun ? await simulateWorkspaceAddDryRun({
@@ -1713,6 +1870,7 @@ async function executeAddCommand({
1713
1870
  interactive,
1714
1871
  kind,
1715
1872
  name,
1873
+ positionalArgs,
1716
1874
  printLine = console.log,
1717
1875
  prompt,
1718
1876
  warnLine = console.warn
@@ -1748,6 +1906,7 @@ async function executeAddCommand({
1748
1906
  },
1749
1907
  isInteractiveSession,
1750
1908
  name,
1909
+ positionalArgs,
1751
1910
  warnLine
1752
1911
  };
1753
1912
  return await executePlannedAddKind(kind, executionContext, {
@@ -1769,7 +1928,7 @@ async function executeAddCommand({
1769
1928
  }
1770
1929
  // src/runtime-bridge-create.ts
1771
1930
  var loadCliPromptRuntime2 = () => import("./cli-prompt-ncyg68rn.js");
1772
- var loadCliScaffoldRuntime = () => import("./cli-scaffold-4tjw4jk5.js");
1931
+ var loadCliScaffoldRuntime = () => import("./cli-scaffold-bt1ttnkg.js");
1773
1932
  var loadCliTemplatesRuntime = () => import("./cli-templates-g8t4fm11.js");
1774
1933
  var loadCreateTemplateValidationRuntime = () => import("./create-template-validation-4fr851vg.js");
1775
1934
  var PACKAGE_MANAGER_PROMPT_OPTIONS = [
@@ -1890,7 +2049,7 @@ async function executeCreateCommand({
1890
2049
  }
1891
2050
  }
1892
2051
  // src/runtime-bridge-doctor.ts
1893
- var loadCliDoctorRuntime = () => import("./cli-doctor-19e8313m.js");
2052
+ var loadCliDoctorRuntime = () => import("./cli-doctor-kf9gwdhh.js");
1894
2053
  async function executeDoctorCommand(cwd, options = {}) {
1895
2054
  try {
1896
2055
  const { runDoctor } = await loadCliDoctorRuntime();
@@ -1901,7 +2060,7 @@ async function executeDoctorCommand(cwd, options = {}) {
1901
2060
  }
1902
2061
  // src/runtime-bridge-init.ts
1903
2062
  import path2 from "path";
1904
- var loadCliInitRuntime = () => import("./cli-init-2b4yn2cc.js");
2063
+ var loadCliInitRuntime = () => import("./cli-init-557vq109.js");
1905
2064
  async function executeInitCommand({ apply, cwd, packageManager, projectDir }, options = {}) {
1906
2065
  try {
1907
2066
  const { runInitCommand } = await loadCliInitRuntime();
@@ -1927,7 +2086,7 @@ async function executeInitCommand({ apply, cwd, packageManager, projectDir }, op
1927
2086
  }
1928
2087
  }
1929
2088
  // src/runtime-bridge-migrate.ts
1930
- var loadMigrationsRuntime = () => import("./migrations-pb5vvtdp.js");
2089
+ var loadMigrationsRuntime = () => import("./migrations-ky53fj2h.js");
1931
2090
  var defaultPrintLine2 = (line) => {
1932
2091
  process.stdout.write(`${line}
1933
2092
  `);
@@ -2650,6 +2809,12 @@ function loadAddFlow() {
2650
2809
  })).then((module) => ({ default: module.AddFlow }));
2651
2810
  }
2652
2811
  var addOptions = buildCommandOptions(ADD_OPTION_METADATA);
2812
+ function resolveAddCommandName(positional) {
2813
+ if (positional[0] === "core-variation" && positional[2]) {
2814
+ return positional[2];
2815
+ }
2816
+ return positional[1];
2817
+ }
2653
2818
  var addCommand = defineCommand({
2654
2819
  defaultFormat: "toon",
2655
2820
  description: "Extend an official wp-typia workspace with blocks, integration envs, variations, block styles, transforms, patterns, binding sources, standalone contracts, plugin-level REST resources, post meta contracts, workflow abilities, server-only AI features, editor plugins, or hooked blocks.",
@@ -2664,14 +2829,15 @@ var addCommand = defineCommand({
2664
2829
  flags: args.flags,
2665
2830
  interactive: false,
2666
2831
  kind: args.positional[0],
2667
- name: args.positional[1],
2832
+ name: resolveAddCommandName(args.positional),
2833
+ positionalArgs: args.positional,
2668
2834
  printLine,
2669
2835
  warnLine
2670
2836
  });
2671
2837
  args.output(buildStructuredCompletionSuccessPayload("add", completion, {
2672
2838
  dryRun: Boolean(args.flags["dry-run"]),
2673
2839
  kind: args.positional[0],
2674
- name: args.positional[1],
2840
+ name: resolveAddCommandName(args.positional),
2675
2841
  projectDir: extractCompletionProjectDir(completion) ?? args.cwd
2676
2842
  }));
2677
2843
  return;
@@ -2680,7 +2846,8 @@ var addCommand = defineCommand({
2680
2846
  cwd: args.cwd,
2681
2847
  flags: args.flags,
2682
2848
  kind: args.positional[0],
2683
- name: args.positional[1],
2849
+ name: resolveAddCommandName(args.positional),
2850
+ positionalArgs: args.positional,
2684
2851
  printLine,
2685
2852
  warnLine
2686
2853
  });
@@ -2708,7 +2875,8 @@ var addCommand = defineCommand({
2708
2875
  initialValues: {
2709
2876
  ...initialValues,
2710
2877
  kind: args.positional[0] ?? "block",
2711
- name: args.positional[1] ?? "",
2878
+ name: resolveAddCommandName(args.positional) ?? "",
2879
+ ...args.positional[0] === "core-variation" && args.positional[2] ? { block: args.positional[1] } : {},
2712
2880
  position: initialValues.position ?? "after",
2713
2881
  slot: initialValues.slot ?? "sidebar"
2714
2882
  }
@@ -2814,7 +2982,7 @@ var doctorCommand = defineCommand({
2814
2982
  createDoctorRunSummary,
2815
2983
  getDoctorChecks,
2816
2984
  getDoctorExitFailureDetailLines
2817
- } = await import("./cli-doctor-19e8313m.js");
2985
+ } = await import("./cli-doctor-kf9gwdhh.js");
2818
2986
  const checks = await getDoctorChecks(args.cwd);
2819
2987
  const summary = createDoctorRunSummary(checks, {
2820
2988
  exitPolicy: doctorExitPolicy
@@ -3709,4 +3877,4 @@ export {
3709
3877
  wpTypiaCommands
3710
3878
  };
3711
3879
 
3712
- //# debugId=AB24C426F1FD01C264756E2164756E21
3880
+ //# debugId=B6599B689F520BC764756E2164756E21
@@ -15,11 +15,11 @@ import {
15
15
  snapshotProjectVersion,
16
16
  verifyProjectMigrations,
17
17
  wizardProjectMigrations
18
- } from "./cli-epsczb1c.js";
18
+ } from "./cli-fzhkqzc7.js";
19
19
  import"./cli-e4bwd81c.js";
20
- import"./cli-k5q5v8g6.js";
20
+ import"./cli-h2v72j8q.js";
21
21
  import"./cli-cvxvcw7c.js";
22
- import"./cli-43mx1vfb.js";
22
+ import"./cli-bajwv85z.js";
23
23
  import"./cli-tq730sqt.js";
24
24
  import"./cli-1170yyve.js";
25
25
  import"./cli-am5x7tb4.js";