pi-ollama-cloud 0.4.0 → 0.4.1

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.4.1] - 2026-05-07
6
+
7
+ - Add `renderCall` to `ollama_web_search` and `ollama_web_fetch` tools so the TUI displays the query/URL in the tool call header instead of just the bare tool name. (#12)
8
+
5
9
  ## [0.4.0] - 2026-05-06
6
10
 
7
11
  - Fix `/api/chat` requests not disabling thinking when Pi's thinking level is set to `off`. Maps Pi `off` to `reasoning_effort: "none"` on models where the API respects it, hides the `off` level on models where it doesn't (gpt-oss, kimi-k2-thinking, minimax, qwen3-vl). (#6)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ollama-cloud",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "pi-package"
package/web-tools.ts CHANGED
@@ -162,6 +162,10 @@ export function registerWebSearchTool(pi: ExtensionAPI) {
162
162
  };
163
163
  }
164
164
  },
165
+ renderCall(args, theme, _context) {
166
+ const display = args.query ? `ollama_web_search("${args.query}")` : "ollama_web_search";
167
+ return new Text(theme.fg("toolTitle", display), 0, 0);
168
+ },
165
169
  renderResult: createRenderResult(),
166
170
  });
167
171
  }
@@ -222,6 +226,10 @@ export function registerWebFetchTool(pi: ExtensionAPI) {
222
226
  };
223
227
  }
224
228
  },
229
+ renderCall(args, theme, _context) {
230
+ const display = args.url ? `ollama_web_fetch("${args.url}")` : "ollama_web_fetch";
231
+ return new Text(theme.fg("toolTitle", display), 0, 0);
232
+ },
225
233
  renderResult: createRenderResult(),
226
234
  });
227
235
  }