@clarify-labs/cli 0.11.19 → 0.11.20

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.
package/output/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_engine = require("./engine-0ROqtF4o.cjs");
2
+ const require_engine = require("./engine-CAis1rme.cjs");
3
3
  let node_path = require("node:path");
4
4
  let node_fs_promises = require("node:fs/promises");
5
5
  let node_child_process = require("node:child_process");
package/output/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as createClarifyTempDir, c as cliPackageVersion, d as createViteAdapter, i as findRouteConflicts, l as cliPackageVersionWithCaret, n as createClarifyEngine, o as deserializeSearchIndex, r as createClarifyRuntimeAliases, s as searchMcpIndex, u as printCliVersion } from "./engine-DH8Hi6Fr.js";
2
+ import { a as createClarifyTempDir, c as cliPackageVersion, d as createViteAdapter, i as findRouteConflicts, l as cliPackageVersionWithCaret, n as createClarifyEngine, o as deserializeSearchIndex, r as createClarifyRuntimeAliases, s as searchMcpIndex, u as printCliVersion } from "./engine-BgfGFPKK.js";
3
3
  import { dirname, extname, isAbsolute, join, normalize, relative, resolve } from "node:path";
4
4
  import { lstat, mkdir, readFile, stat, writeFile } from "node:fs/promises";
5
5
  import { spawnSync } from "node:child_process";
@@ -33,8 +33,9 @@ export declare class ClarifyEngine {
33
33
  * - `skipModules`: skip `buildModules()` (check command).
34
34
  * - `skipHints`: skip `logStartupHints()` (check command).
35
35
  *
36
- * Idempotent: calling prepare() again with the same env is a no-op unless
37
- * `force` is set.
36
+ * Configuration initialization is cached unless `force` is set. Discovery
37
+ * and virtual module generation intentionally run on every call so callers
38
+ * observe content changes without rebuilding the Engine instance.
38
39
  */
39
40
  prepare(env?: ConfigEnv, options?: ClarifyBuildOptions, prepareOptions?: PrepareOptions): Promise<ClarifyBuildOptions>;
40
41
  get projectConfig(): ClarifyContext['projectConfig'];