@trim21/personal-pi-extensions 0.1.574 → 0.1.575

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trim21/personal-pi-extensions",
3
- "version": "0.1.574",
3
+ "version": "0.1.575",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
@@ -101,12 +101,19 @@ const SETTINGS_PATH = join(getAgentDir(), "settings.json");
101
101
  * (read/edit/write) likewise share opencode/files.ts (they share the LSP
102
102
  * service instance); that file also registers the shared `lsp-rename` and
103
103
  * LSP inspect tools, which stay hidden unless a subagent declares them.
104
+ *
105
+ * The lowercase search tools map to the opencode implementations: `grep`
106
+ * overrides pi's built-in grep, and `glob` adds a tool pi has no built-in for
107
+ * (its `find` stays available). Each is a self-contained file registering one
108
+ * tool, so they load independently — `grep` without `glob`.
104
109
  */
105
110
  const TOOL_EXTENSION_OVERRIDES: Record<string, string> = {
106
111
  read: "opencode/files.ts",
107
112
  edit: "opencode/files.ts",
108
113
  write: "opencode/files.ts",
109
114
  bash: "opencode/bash.ts",
115
+ grep: "opencode/grep.ts",
116
+ glob: "opencode/glob.ts",
110
117
  Grep: "claude-code/grep.ts",
111
118
  Glob: "claude-code/glob.ts",
112
119
  Read: "claude-code/files.ts",