-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
251 lines (251 loc) · 6.27 KB
/
Copy pathpackage.json
File metadata and controls
251 lines (251 loc) · 6.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "pi-coding-agent",
"title": "Pi Coding Agent",
"description": "Raycast companion for the Pi coding agent: quick ask, session search, project launch, and terminal handoff.",
"icon": "icon.png",
"author": "qazi0",
"categories": [
"Developer Tools",
"Productivity"
],
"license": "MIT",
"commands": [
{
"name": "ask-pi",
"title": "Ask Pi",
"subtitle": "Show Result",
"description": "Ask Pi from Raycast root and show the streamed answer",
"mode": "view",
"arguments": [
{
"name": "question",
"placeholder": "What do you want to ask Pi?",
"type": "text",
"required": true
}
]
},
{
"name": "ask-pi-copy",
"title": "Ask Pi (Copy Answer)",
"subtitle": "No View",
"description": "Ask Pi and copy the answer without opening a view",
"mode": "no-view",
"arguments": [
{
"name": "question",
"placeholder": "What do you want to ask Pi?",
"type": "text",
"required": true
}
]
},
{
"name": "projects",
"title": "Launch Project",
"description": "Open Pi in a project discovered from session history",
"mode": "view"
},
{
"name": "sessions",
"title": "Browse Sessions",
"description": "Find, preview, resume, and fork Pi sessions",
"mode": "view"
},
{
"name": "transform-selection",
"title": "Transform Selection",
"description": "Use Pi to explain, refactor, test, or improve selected text",
"mode": "view"
},
{
"name": "git-actions",
"title": "Git Actions",
"description": "Launch Git-aware Pi workflows in a visible terminal",
"mode": "view"
},
{
"name": "resources",
"title": "Browse Pi Resources",
"description": "Browse Pi prompt templates and skills",
"mode": "view"
},
{
"name": "status",
"title": "Pi Status",
"description": "Show recent Pi session activity",
"mode": "menu-bar",
"interval": "5m"
}
],
"preferences": [
{
"name": "piBinaryPath",
"type": "textfield",
"title": "Pi Binary Path",
"description": "Path to the pi executable. Leave empty to auto-detect from PATH and common install locations.",
"required": false
},
{
"name": "agentDir",
"type": "directory",
"title": "Pi Agent Directory",
"description": "Directory containing Pi sessions, prompts, and skills. Defaults to ~/.pi/agent.",
"required": false
},
{
"name": "defaultProject",
"type": "directory",
"title": "Default Project",
"description": "Default working directory for Ask Pi and terminal handoffs.",
"required": false
},
{
"name": "defaultModel",
"type": "textfield",
"title": "Default Model",
"description": "Optional Pi model pattern, for example openai/gpt-4o or anthropic/claude-sonnet-4.",
"required": false
},
{
"name": "askExecutionMode",
"type": "dropdown",
"title": "Ask Pi Execution Mode",
"description": "Controls how much tool access hidden Ask/Transform commands get.",
"default": "safe-readonly",
"required": false,
"data": [
{
"title": "Safe Read-Only Project Tools",
"value": "safe-readonly"
},
{
"title": "Fast No Tools",
"value": "fast-no-tools"
}
]
},
{
"name": "maxIndexedSessions",
"type": "dropdown",
"title": "Max Indexed Sessions",
"description": "Limit session indexing for faster project/session lists.",
"default": "500",
"required": false,
"data": [
{
"title": "100 newest sessions",
"value": "100"
},
{
"title": "500 newest sessions",
"value": "500"
},
{
"title": "All sessions",
"value": "all"
}
]
},
{
"name": "thinkingLevel",
"type": "dropdown",
"title": "Thinking Level",
"description": "Optional thinking level passed to Pi.",
"default": "",
"required": false,
"data": [
{
"title": "Use Pi Default",
"value": ""
},
{
"title": "Off",
"value": "off"
},
{
"title": "Minimal",
"value": "minimal"
},
{
"title": "Low",
"value": "low"
},
{
"title": "Medium",
"value": "medium"
},
{
"title": "High",
"value": "high"
},
{
"title": "Extra High",
"value": "xhigh"
}
]
},
{
"name": "terminalApp",
"type": "dropdown",
"title": "Terminal Application",
"description": "Terminal used for visible Pi handoff.",
"default": "default",
"data": [
{
"title": "System Default",
"value": "default"
},
{
"title": "Terminal.app",
"value": "terminal"
},
{
"title": "iTerm",
"value": "iterm"
},
{
"title": "Ghostty",
"value": "ghostty"
},
{
"title": "Warp",
"value": "warp"
},
{
"title": "Kitty",
"value": "kitty"
},
{
"title": "Alacritty",
"value": "alacritty"
}
],
"required": false
}
],
"dependencies": {
"@raycast/api": "^1.104.13",
"@raycast/utils": "^1.19.1"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.11",
"@types/node": "^24.0.0",
"@types/react": "^19.0.0",
"eslint": "^8.57.1",
"prettier": "^3.5.0",
"typescript": "^5.8.0",
"vitest": "^3.2.0"
},
"scripts": {
"build": "ray build --skip-types -e dist -o dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"prepublishOnly": "echo 'Use npm run publish for Raycast Store publishing.' && exit 1",
"publish": "npx @raycast/api@latest publish"
}
}