@balpal4495/quorum 3.0.1 → 3.0.2
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/bin/commands/compass.js +3 -2
- package/package.json +1 -1
package/bin/commands/compass.js
CHANGED
|
@@ -711,7 +711,7 @@ export async function run(argv) {
|
|
|
711
711
|
// ── Setup ─────────────────────────────────────────────────────────────────
|
|
712
712
|
|
|
713
713
|
const rootDir = process.cwd()
|
|
714
|
-
const chronicleDir = findChronicleDir(rootDir)
|
|
714
|
+
const chronicleDir = await findChronicleDir(rootDir)
|
|
715
715
|
|
|
716
716
|
if (!chronicleDir) {
|
|
717
717
|
console.error(c.red("Error: Chronicle not found. Run 'quorum init' first."))
|
|
@@ -719,7 +719,8 @@ export async function run(argv) {
|
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
const NO_LLM_CMDS = new Set(["map", "opportunities"])
|
|
722
|
-
const
|
|
722
|
+
const provider = NO_LLM_CMDS.has(subcommand) ? null : await detectProvider()
|
|
723
|
+
const llm = provider?.llm
|
|
723
724
|
|
|
724
725
|
// ── Shared context helper ─────────────────────────────────────────────────
|
|
725
726
|
|