@anton-kochev/pi-extensions 0.1.0 → 0.1.3
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 +16 -17
- package/package.json +15 -4
package/README.md
CHANGED
|
@@ -1,32 +1,22 @@
|
|
|
1
1
|
# pi-extensions
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@anton-kochev/pi-extensions)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Pi extensions for personal use.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
```yaml
|
|
10
|
-
pi:
|
|
11
|
-
extensions:
|
|
12
|
-
squiggle: "git:https://github.com/anton-kochev/pi-extensions.git#main"
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Pithos's entrypoint passes this to `pi install`, which clones the repo, runs `npm install`, and registers the extensions declared in the root `pi.extensions` manifest.
|
|
16
|
-
|
|
17
|
-
## Install directly with pi
|
|
7
|
+
## Install
|
|
18
8
|
|
|
19
9
|
```bash
|
|
20
|
-
pi install
|
|
10
|
+
pi install npm:@anton-kochev/pi-extensions
|
|
21
11
|
```
|
|
22
12
|
|
|
23
|
-
|
|
13
|
+
Or pin to a specific version:
|
|
24
14
|
|
|
25
15
|
```bash
|
|
26
|
-
pi install
|
|
16
|
+
pi install npm:@anton-kochev/pi-extensions@<version>
|
|
27
17
|
```
|
|
28
18
|
|
|
29
|
-
## Extensions
|
|
19
|
+
## Extensions
|
|
30
20
|
|
|
31
21
|
- [`squiggle/`](./squiggle) — quietly polish grammar and spelling in user prompts.
|
|
32
22
|
|
|
@@ -39,3 +29,12 @@ pi install -l ./squiggle
|
|
|
39
29
|
```
|
|
40
30
|
|
|
41
31
|
Each subdirectory has its own `package.json` so individual extensions remain installable in isolation.
|
|
32
|
+
|
|
33
|
+
## Release
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm version patch # or minor/major
|
|
37
|
+
git push --follow-tags
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Trusted publishing handles the rest — the workflow at `.github/workflows/publish.yml` fires on tag push and publishes to npm via OIDC.
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anton-kochev/pi-extensions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Pi extensions.",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pi-package"
|
|
7
|
+
],
|
|
6
8
|
"license": "MIT",
|
|
7
9
|
"type": "module",
|
|
8
|
-
"
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/anton-kochev/pi-extensions.git"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"squiggle",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
9
18
|
"publishConfig": {
|
|
10
19
|
"access": "public"
|
|
11
20
|
},
|
|
@@ -14,6 +23,8 @@
|
|
|
14
23
|
"@earendil-works/pi-coding-agent": "*"
|
|
15
24
|
},
|
|
16
25
|
"pi": {
|
|
17
|
-
"extensions": [
|
|
26
|
+
"extensions": [
|
|
27
|
+
"./squiggle/extensions"
|
|
28
|
+
]
|
|
18
29
|
}
|
|
19
30
|
}
|