pi-vault-mind 0.16.33 → 0.16.34

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.34 — 2026-08-29
4
+
5
+ ### Added
6
+
7
+ - **Ollama web tools.** `pvm setup` now installs the official `@ollama/pi-web-search` extension as a required extension, giving the vault agent Ollama-backed web search and fetch tools.
8
+
3
9
  ## 0.16.33 — 2026-08-29
4
10
 
5
11
  ### Added
@@ -138,6 +138,7 @@ const suggestionJson = (systemContent, agentsContent = "") => JSON.stringify({
138
138
  describe("personalize", () => {
139
139
  let testDir;
140
140
  let savedHome;
141
+ let savedAgentDir;
141
142
  beforeEach(() => {
142
143
  testDir = path.join(tmpdir(), `pi-vault-mind-personalize-test-${randomUUID()}`);
143
144
  fs.mkdirSync(testDir, { recursive: true });
@@ -145,12 +146,21 @@ describe("personalize", () => {
145
146
  savedHome = process.env.HOME;
146
147
  process.env.HOME = testDir;
147
148
  process.env.USERPROFILE = testDir;
149
+ // Isolate the resolved agent dir under the temp vault so these tests never
150
+ // touch a real or inherited PI_CODING_AGENT_DIR (getAgentDir() would
151
+ // otherwise return that absolute path, ignoring the per-test cwd).
152
+ savedAgentDir = process.env.PI_CODING_AGENT_DIR;
153
+ process.env.PI_CODING_AGENT_DIR = path.join(testDir, ".pi", "agent");
148
154
  });
149
155
  afterEach(() => {
150
156
  if (savedHome !== undefined)
151
157
  process.env.HOME = savedHome;
152
158
  else
153
159
  process.env.HOME = undefined;
160
+ if (savedAgentDir !== undefined)
161
+ process.env.PI_CODING_AGENT_DIR = savedAgentDir;
162
+ else
163
+ delete process.env.PI_CODING_AGENT_DIR;
154
164
  if (fs.existsSync(testDir))
155
165
  fs.rmSync(testDir, { recursive: true });
156
166
  });
@@ -14,6 +14,7 @@ const requiredExtensions = [
14
14
  "npm:@kylebrodeur/pi-model-router",
15
15
  "npm:@juicesharp/rpiv-todo@2.7.1",
16
16
  "npm:pi-subagents@0.58.0",
17
+ "npm:@ollama/pi-web-search",
17
18
  "git:git@github.com:kylebrodeur/content-writing-system",
18
19
  ];
19
20
  const runtimeSkills = [
@@ -125,7 +126,7 @@ fs.appendFileSync(process.env.PVM_TEST_UV_LOG, JSON.stringify(process.argv.slice
125
126
  assert.ok(fs.existsSync(path.join(nlmSkillDir, "references", ref)), `nlm-skill reference missing: ${ref}`);
126
127
  }
127
128
  assert.doesNotMatch(result.stdout + result.stderr, /NOISY INSTALL/);
128
- assert.match(result.stdout, /\[7\/7\] git:git@github\.com:kylebrodeur\/content-writing-system \.\.\. done/);
129
+ assert.match(result.stdout, /\[8\/8\] git:git@github\.com:kylebrodeur\/content-writing-system \.\.\. done/);
129
130
  assert.match(result.stdout, /Curated skills \(5\)/);
130
131
  });
131
132
  it("removes package paths that escape the vault-local agent directory", () => {
@@ -208,6 +209,7 @@ if (args[0] === "install" && args[1] === "npm:pi-context") {
208
209
  "npm:@kylebrodeur/pi-model-discovery",
209
210
  "npm:@kylebrodeur/pi-model-router",
210
211
  "npm:@juicesharp/rpiv-todo@2.7.1",
212
+ "npm:@ollama/pi-web-search",
211
213
  "git:git@github.com:kylebrodeur/content-writing-system",
212
214
  ]) {
213
215
  assert.ok(installed.includes(missing), `expected ${missing} to be installed`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-vault-mind",
3
- "version": "0.16.33",
3
+ "version": "0.16.34",
4
4
  "packageManager": "pnpm@10.34.5",
5
5
  "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.",
6
6
  "main": "dist/index.js",
@@ -6,6 +6,7 @@
6
6
  "npm:@kylebrodeur/pi-model-router",
7
7
  "npm:@juicesharp/rpiv-todo@2.7.1",
8
8
  "npm:pi-subagents@0.58.0",
9
+ "npm:@ollama/pi-web-search",
9
10
  "git:git@github.com:kylebrodeur/content-writing-system"
10
11
  ],
11
12
  "optional": ["npm:pi-1password"]