@henryqw/pi-add-dir 0.1.2 → 0.1.4
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/README.md +8 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,14 +10,14 @@ pi install npm:@henryqw/pi-add-dir
|
|
|
10
10
|
|
|
11
11
|
## Use
|
|
12
12
|
|
|
13
|
-
| Surface | Purpose |
|
|
14
|
-
| --- | --- |
|
|
15
|
-
| `/dir-add
|
|
16
|
-
| `/dir-ls` | List directories; select one to remove. |
|
|
17
|
-
| `add_directory` |
|
|
18
|
-
| `search_external_files` |
|
|
19
|
-
|
|
20
|
-
Added directories return root `AGENTS.md`, `CLAUDE.md`, `.pi/AGENTS.md`, and `.pi/CLAUDE.md`, and inject them into later prompts. Skills load from `.pi/skills`, `.agents/skills`, and `.claude/skills
|
|
13
|
+
| Surface | Type | Purpose |
|
|
14
|
+
| --- | --- | --- |
|
|
15
|
+
| `/dir-add` | command | Add directory; no path opens input. Supports `~`. |
|
|
16
|
+
| `/dir-ls` | command | List directories; select one to remove. |
|
|
17
|
+
| `add_directory` | tool | Add a directory. |
|
|
18
|
+
| `search_external_files` | tool | Glob-search added directories. |
|
|
19
|
+
|
|
20
|
+
Added directories return root `AGENTS.md`, `CLAUDE.md`, `.pi/AGENTS.md`, and `.pi/CLAUDE.md`, and inject them into later prompts. Skills load from `.pi/skills`, `.agents/skills`, and `.claude/skills`. `/dir-add` reloads when it finds skills; `add_directory` reports when a reload is needed.
|
|
21
21
|
|
|
22
22
|
Search uses Node filesystem traversal, skips `.git` and `node_modules`, supports basename and relative-path globs, and caps results at 1,000 per call.
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-add-dir",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Add external directories to a Pi session with context, skills, and file search.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@earendil-works/pi-coding-agent": ">=0.84.1",
|
|
29
29
|
"@earendil-works/pi-tui": ">=0.84.1",
|
|
30
|
-
"typebox": "^1.3.
|
|
30
|
+
"typebox": "^1.3.15"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|