@difflab/pi 0.1.0-rc.202609140747.4d45e72.2

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.
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: diffpi-setup
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
5
+ ---
6
+
7
+ # diffpi Setup
8
+
9
+ Use `diffpi_validate` when the user asks only to inspect the environment.
10
+
11
+ Before `diffpi_setup`, use `ask_user_question` for choices the user has not already supplied. Include only unanswered questions from the template below. Do not ask these questions as plain chat text.
12
+
13
+ ```typescript
14
+ ask_user_question({
15
+ questions: [
16
+ {
17
+ question: 'Which issue tracker MCP server should diffpi configure?',
18
+ header: 'Issue tracker',
19
+ options: [
20
+ { label: 'None', description: 'Do not configure Linear or Jira.' },
21
+ { label: 'Linear', description: 'Configure the Linear MCP server with OAuth.' },
22
+ { label: 'Jira', description: 'Configure the Atlassian MCP server with OAuth.' },
23
+ ],
24
+ multiSelect: false,
25
+ },
26
+ {
27
+ question: 'Should diffpi add the mise activation hook to your shell configuration?',
28
+ header: 'Mise hook',
29
+ options: [
30
+ { label: 'Add hook', description: 'Activate mise automatically in new shell sessions.' },
31
+ { label: 'Skip hook', description: 'Leave the shell configuration unchanged.' },
32
+ ],
33
+ multiSelect: false,
34
+ },
35
+ ],
36
+ });
37
+ ```
38
+
39
+ Map `None`, `Linear`, and `Jira` to `none`, `linear`, and `jira`. Map `Add hook` and `Skip hook` to `true` and `false`. If the user declines the questionnaire, stop without calling `diffpi_setup`.