pi-vault-mind 0.12.1 → 0.12.3

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/dist/src/index.js CHANGED
@@ -37,10 +37,12 @@ export default function (pi) {
37
37
  * during extension loading — the runtime must be initialized first. */
38
38
  pi.on("session_start", async (_event, ctx) => {
39
39
  updateActiveCollectionWidget(ctx);
40
- /* Only enable ACM when this session has a vault configured */
40
+ /* Only enable ACM when vault is fully configured (setup has been run).
41
+ * Fresh vaults should run /vm setup first — ACM before setup is noise. */
41
42
  const sessionCfg = loadConfig(ctx.cwd);
42
43
  const piCtxCfg = sessionCfg.extensionCompatibility?.["pi-context"];
43
- if (piCtxCfg?.enabled && piCtxCfg?.autoEnableAcm !== false) {
44
+ const isConfigured = !!(sessionCfg.vaultMind?.embedding?.remoteUrl || sessionCfg.vaultMind?.embedding?.localUrl);
45
+ if (isConfigured && piCtxCfg?.enabled && piCtxCfg?.autoEnableAcm !== false) {
44
46
  enableACM(pi);
45
47
  }
46
48
  /* register shortcut */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-vault-mind",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "Passive Obsidian vault extension for pi. Watches @agent markers, dispatches forked subagents (Miner, Broadcaster, Heavy-Lifter), stores in LanceDB with vector + FTS + graph. Multi-agent 'Drop & Forget' workflow for the pi agent ecosystem.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",