@henryqw/pi-add-dir 2.1.4 → 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/extensions/add-dir.ts +1 -1
- package/package.json +5 -5
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
|
}
|