-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 4.73 KB
/
Copy pathpackage.json
File metadata and controls
187 lines (187 loc) · 4.73 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
{
"name": "phi-agent",
"displayName": "Phi — Pi AI Agent",
"description": "The Pi AI coding agent, natively inside VS Code. Full session continuity, real-time streaming, and deep editor context awareness.",
"version": "0.7.2",
"publisher": "gnassro",
"icon": "assets/phi-icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gnassro/phi"
},
"engines": {
"vscode": "^1.85.0"
},
"type": "module",
"categories": [
"AI",
"Chat",
"Programming Languages",
"Other"
],
"keywords": [
"ai",
"assistant",
"coding",
"pi",
"agent",
"phi"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "phi-sidebar",
"title": "Phi",
"icon": "assets/phi-chat.svg"
}
]
},
"views": {
"phi-sidebar": [
{
"type": "webview",
"id": "phi.chatView",
"name": "Phi"
}
]
},
"commands": [
{
"command": "phi.openChat",
"title": "Phi: Open Chat",
"icon": "$(comment-discussion)"
},
{
"command": "phi.addSelectionToChat",
"title": "Phi: Add to Chat",
"icon": "$(add)"
},
{
"command": "phi.addFileToChat",
"title": "Phi: Add File to Chat",
"icon": "$(add)"
},
{
"command": "phi.askAboutSelection",
"title": "Phi: Ask About Selection",
"icon": "$(sparkle)"
},
{
"command": "phi.newSession",
"title": "Phi: New Session",
"icon": "$(add)"
},
{
"command": "phi.abortSession",
"title": "Phi: Abort Current Turn",
"icon": "$(stop-circle)"
},
{
"command": "phi.login",
"title": "Phi: Login",
"icon": "$(sign-in)"
},
{
"command": "phi.logout",
"title": "Phi: Logout",
"icon": "$(sign-out)"
},
{
"command": "phi.addApiKey",
"title": "Phi: Add API Key",
"icon": "$(key)"
},
{
"command": "phi.removeApiKey",
"title": "Phi: Remove API Key",
"icon": "$(trash)"
},
{
"command": "phi.openTree",
"title": "Phi: Open Conversation Tree",
"icon": "$(git-branch)"
}
],
"keybindings": [
{
"command": "phi.openChat",
"key": "ctrl+shift+l",
"mac": "cmd+shift+l"
},
{
"command": "phi.addSelectionToChat",
"key": "ctrl+shift+=",
"mac": "cmd+shift+=",
"when": "editorHasSelection"
}
],
"menus": {
"editor/context": [
{
"command": "phi.addSelectionToChat",
"when": "editorHasSelection",
"group": "phi@1"
}
],
"explorer/context": [
{
"command": "phi.addFileToChat",
"when": "!explorerResourceIsFolder",
"group": "phi@1"
}
]
},
"configuration": {
"title": "Phi",
"properties": {
"phi.autoContext": {
"type": "boolean",
"default": true,
"description": "Automatically send editor context (active file, selection) to Pi when opening the chat panel."
},
"phi.disabledExtensions": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Pi extension IDs disabled in Phi. Managed by the Extensions section in Phi Settings."
}
}
}
},
"scripts": {
"build": "node scripts/build-num.mjs && pnpm run build:ext && pnpm run build:web",
"build:ext": "node scripts/build-ext.mjs",
"build:web": "esbuild public/app.js --bundle --outdir=dist/public --format=esm && cp public/style.css dist/public/style.css",
"watch": "node scripts/build-num.mjs && concurrently \"pnpm run build:ext -- --watch\" \"pnpm run build:web -- --watch\"",
"typecheck": "tsc --noEmit",
"package": "pnpm run build && pnpm exec vsce package --no-dependencies",
"release": "node scripts/release.mjs",
"release:status": "node scripts/release.mjs status",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vscode/vsce": "^2.24.0",
"concurrently": "^8.0.0",
"esbuild": "^0.20.0",
"ovsx": "^0.10.10",
"typescript": "^5.3.0"
},
"dependencies": {
"@google/genai": "1.46.0",
"@mariozechner/pi-ai": "0.70.6",
"@mariozechner/pi-coding-agent": "^0.73.0",
"shiki": "^4.0.2"
}
}