@nuucognition/flint-cli 0.5.6-dev.10 → 0.5.6-dev.12

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.
@@ -7,7 +7,7 @@ import {
7
7
  registerFlint,
8
8
  registerFlintByPath,
9
9
  updateFlintEntry
10
- } from "./chunk-JNIJ5JV6.js";
10
+ } from "./chunk-B34UK5XB.js";
11
11
  import {
12
12
  exists,
13
13
  runConcurrent
@@ -15,10 +15,10 @@ import {
15
15
  import {
16
16
  ensureMetadataDirs,
17
17
  syncSourceRepoMetadata
18
- } from "./chunk-RD3WIRZN.js";
18
+ } from "./chunk-FZW47K7J.js";
19
19
  import {
20
20
  syncPlateRepos
21
- } from "./chunk-CMEX7263.js";
21
+ } from "./chunk-WW4R5MWW.js";
22
22
  import {
23
23
  addShardToConfig,
24
24
  createFlintJson,
@@ -32,7 +32,6 @@ import {
32
32
  hasFlintToml,
33
33
  migrateShardConfig,
34
34
  nameFormats,
35
- parse,
36
35
  readFlintToml,
37
36
  removeShardFromConfig,
38
37
  resolveShardMode,
@@ -40,7 +39,10 @@ import {
40
39
  toKebabCase,
41
40
  writeFlintJson,
42
41
  writeFlintToml
43
- } from "./chunk-LLLVBA4Q.js";
42
+ } from "./chunk-DSRNHRUX.js";
43
+ import {
44
+ parse
45
+ } from "./chunk-YQMGDALR.js";
44
46
 
45
47
  // ../../packages/flint/dist/index.js
46
48
  import { mkdir as mkdir2, stat as stat9 } from "fs/promises";
@@ -4721,7 +4723,7 @@ async function moveFlint(nameOrPath, destination, options = {}) {
4721
4723
  async function removeTinderboxFlint(flint) {
4722
4724
  const entry = await findFlintByPath(flint.path);
4723
4725
  if (entry) {
4724
- const { unregisterFlint: unregisterFlint2 } = await import("./registry-5CNUVQN3-PCQZRXLB.js");
4726
+ const { unregisterFlint: unregisterFlint2 } = await import("./registry-5CNUVQN3-6IS5EKN3.js");
4725
4727
  await unregisterFlint2(entry.path);
4726
4728
  }
4727
4729
  await rm42(flint.path, { recursive: true, force: true });
@@ -6794,9 +6796,9 @@ async function syncFlint(flintPath, progress) {
6794
6796
  }
6795
6797
  }
6796
6798
  const requiredMeshExports = config.sources?.meshexports || [];
6797
- const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-5CNUVQN3-PCQZRXLB.js");
6799
+ const { getFlintRegistry: getFlintRegistry2 } = await import("./registry-5CNUVQN3-6IS5EKN3.js");
6798
6800
  const { readdir: readdir9, readFile: fsReadFile, rm: rm7, stat: fsStat, mkdir: fsMkdir, copyFile: fsCopyFile } = await import("fs/promises");
6799
- const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-FASTWX6A-ITKM6C62.js");
6801
+ const { syncSourceMeshExportMetadata: syncSourceMeshExportMetadata2 } = await import("./metadata-FASTWX6A-63OJRUYV.js");
6800
6802
  const requiredMeshExportSet = new Set(requiredMeshExports);
6801
6803
  const sourcesFlintDir = join16(flintPath, "Sources", "Flints");
6802
6804
  try {
@@ -6838,7 +6840,7 @@ async function syncFlint(flintPath, progress) {
6838
6840
  }
6839
6841
  if (requiredMeshExports.length > 0) {
6840
6842
  const registry = await getFlintRegistry2();
6841
- const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-OZQUMYQI-NXQCDWW6.js");
6843
+ const { buildExportByName: buildExportByName2, scanExports: scanExports2 } = await import("./exports-OZQUMYQI-KOXXNN5F.js");
6842
6844
  for (const ref of requiredMeshExports) {
6843
6845
  const parts = ref.split("/");
6844
6846
  if (parts.length !== 2) {
@@ -6982,12 +6984,12 @@ async function syncFlint(flintPath, progress) {
6982
6984
  error: `Failed to sync source repo metadata: ${err instanceof Error ? err.message : String(err)}`
6983
6985
  });
6984
6986
  }
6985
- const { getPlateDeclarationsFromConfig } = await import("./mesh-config-NTGFUNZL-BZ2GO3JY.js");
6987
+ const { getPlateDeclarationsFromConfig } = await import("./mesh-config-NTGFUNZL-XKKM5IWL.js");
6986
6988
  const plateDeclarations = getPlateDeclarationsFromConfig(config);
6987
6989
  const hasSourcePlates = Object.values(plateDeclarations).some((d) => d.source);
6988
6990
  const hasRepoPlates = Object.values(plateDeclarations).some((d) => d.repo);
6989
6991
  if (hasSourcePlates) {
6990
- const { syncDeclaredPlates: syncDeclaredPlates2 } = await import("./plates-4TK56CGM-DZB24SP6.js");
6992
+ const { syncDeclaredPlates: syncDeclaredPlates2 } = await import("./plates-4TK56CGM-6HGJJ7O6.js");
6991
6993
  const plateResults = await syncDeclaredPlates2(flintPath, plateDeclarations);
6992
6994
  result.plates = plateResults;
6993
6995
  for (const pr of plateResults) {
@@ -182,7 +182,7 @@ async function cleanRegistryFile() {
182
182
  return result;
183
183
  }
184
184
  async function registerFlintByPath(path, options) {
185
- const { readFlintToml, hasFlintToml } = await import("./mesh-config-NTGFUNZL-BZ2GO3JY.js");
185
+ const { readFlintToml, hasFlintToml } = await import("./mesh-config-NTGFUNZL-XKKM5IWL.js");
186
186
  const isFlint = await hasFlintToml(path);
187
187
  if (!isFlint) {
188
188
  throw new Error(`Not a valid flint: ${path}