@difflab/pi 0.1.0-rc.202609140747.4d45e72.2 → 1.0.0
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 +2 -3
- package/dist/extensions/index.js +13580 -168
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +158 -96
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mise.d.ts +1 -1
- package/dist/mise.d.ts.map +1 -1
- package/dist/pi.d.ts.map +1 -1
- package/dist/process.d.ts.map +1 -1
- package/dist/setup.d.ts.map +1 -1
- package/dist/tools/index.d.ts +3 -7
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +215 -135
- package/dist/tools/reload.d.ts +3 -0
- package/dist/tools/reload.d.ts.map +1 -0
- package/dist/tools/setup.d.ts +2 -13
- package/dist/tools/setup.d.ts.map +1 -1
- package/package.json +6 -6
- package/skills/diffpi-setup/SKILL.md +13 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difflab/pi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Tools and skills for the pi coding agent",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,10 +48,12 @@
|
|
|
48
48
|
"license": "MIT",
|
|
49
49
|
"packageManager": "bun@1.4.0",
|
|
50
50
|
"engines": {
|
|
51
|
-
"node": ">=22.
|
|
51
|
+
"node": ">=22.19.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"
|
|
54
|
+
"@juicesharp/rpiv-ask-user-question": "^2.10.1",
|
|
55
|
+
"pi-mcp-adapter": "^2.33.0",
|
|
56
|
+
"zod": "^4.6.5"
|
|
55
57
|
},
|
|
56
58
|
"devDependencies": {
|
|
57
59
|
"@eslint/js": "^9.0.0",
|
|
@@ -69,12 +71,10 @@
|
|
|
69
71
|
"globals": "^15.0.0",
|
|
70
72
|
"prettier": "^3.0.0",
|
|
71
73
|
"semantic-release": "^24.0.0",
|
|
72
|
-
"typebox": "^1.0.0",
|
|
73
74
|
"typescript": "^5.0.0",
|
|
74
75
|
"typescript-eslint": "^8.0.0"
|
|
75
76
|
},
|
|
76
77
|
"peerDependencies": {
|
|
77
|
-
"@earendil-works/pi-coding-agent": "*"
|
|
78
|
-
"typebox": "*"
|
|
78
|
+
"@earendil-works/pi-coding-agent": "*"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: diffpi-setup
|
|
3
3
|
description: Set up or inspect the local @difflab/pi environment. Use when required tools, pi packages, skills, or MCP servers are missing.
|
|
4
|
-
allowed-tools: ask_user_question diffpi_setup diffpi_validate
|
|
4
|
+
allowed-tools: ask_user_question diffpi_reload diffpi_setup diffpi_validate
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# diffpi Setup
|
|
@@ -24,11 +24,18 @@ ask_user_question({
|
|
|
24
24
|
multiSelect: false,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
question:
|
|
28
|
-
|
|
27
|
+
question:
|
|
28
|
+
'Allow diffpi to install mise, add its activation hook to your shell configuration, and install required development tools if they are missing?',
|
|
29
|
+
header: 'Tooling',
|
|
29
30
|
options: [
|
|
30
|
-
{
|
|
31
|
-
|
|
31
|
+
{
|
|
32
|
+
label: 'Allow',
|
|
33
|
+
description: 'Install mise, Node.js, Zellij, Helix, tuicr, and Context Mode when missing.',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: 'Skip',
|
|
37
|
+
description: 'I will install and configure the required tooling myself.',
|
|
38
|
+
},
|
|
32
39
|
],
|
|
33
40
|
multiSelect: false,
|
|
34
41
|
},
|
|
@@ -36,4 +43,4 @@ ask_user_question({
|
|
|
36
43
|
});
|
|
37
44
|
```
|
|
38
45
|
|
|
39
|
-
Map `None`, `Linear`, and `Jira` to `none`, `linear`, and `jira`.
|
|
46
|
+
Map `None`, `Linear`, and `Jira` to `none`, `linear`, and `jira`. If the user selects `Skip` or declines the questionnaire, stop without calling `diffpi_setup`. After successful setup, call `diffpi_reload` when the setup result says pi must restart.
|