@henryqw/pi-add-dir 2.1.3 → 2.1.5
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 +1 -1
- package/extensions/add-dir.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -52,6 +52,6 @@ Persistent scopes are explicit because added directories can inject `AGENTS.md`,
|
|
|
52
52
|
|
|
53
53
|
## Limits and recovery
|
|
54
54
|
|
|
55
|
-
Search supports basename and relative-path globs. It skips `.git` and `node_modules
|
|
55
|
+
Search supports basename and relative-path globs. It skips `.git` and `node_modules` and does not follow symbolic links. It uses Node filesystem traversal and returns at most 1,000 results per call.
|
|
56
56
|
|
|
57
57
|
Missing or overlapping **project and global** directories remain configured but are skipped with a warning. Restore a missing directory at its original path or resolve the overlap, then run `/dir-reload` to rescan. To change or discard a configured path, use `/dir-ls` to **remove** it from its scope, then `/dir-add` with the corrected path if needed; `/dir-ls` cannot repair paths in place.
|
package/extensions/add-dir.ts
CHANGED
|
@@ -155,7 +155,7 @@ function contextSummary(dirCtx: DirContext): string {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
function extractAtToken(textBeforeCursor: string): string | undefined {
|
|
158
|
-
return textBeforeCursor.match(/(?:^|[ \t])(@(?:"[^"]*|[^\s"]*))$/)?.[1];
|
|
158
|
+
return textBeforeCursor.match(/(?:^|[ \t])[([{<`]*(@(?:"[^"]*|[^\s"]*))$/)?.[1];
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
export function createExternalAutocompleteProvider(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-add-dir",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"description": "Add external directories to a Pi session with context, skills, and file search.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"pack:check": "npm pack --dry-run"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@earendil-works/pi-coding-agent": ">=0.86.0 <0.
|
|
29
|
-
"@earendil-works/pi-tui": ">=0.86.0 <0.
|
|
28
|
+
"@earendil-works/pi-coding-agent": ">=0.86.0 <0.100.0",
|
|
29
|
+
"@earendil-works/pi-tui": ">=0.86.0 <0.100.0",
|
|
30
30
|
"typebox": "^1.3.15"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@henryqw/pi-config-store": "^2.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
54
|
-
"@earendil-works/pi-tui": "0.
|
|
53
|
+
"@earendil-works/pi-coding-agent": "0.99.1",
|
|
54
|
+
"@earendil-works/pi-tui": "0.99.1"
|
|
55
55
|
}
|
|
56
56
|
}
|