forked from pixel-agents-hq/pixel-agents
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 5.52 KB
/
Copy pathpackage.json
File metadata and controls
160 lines (160 loc) · 5.52 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
{
"name": "pixel-agents",
"displayName": "Pixel Agents",
"description": "Pixel art office where your Claude Code agents come to life as animated characters",
"version": "1.3.0",
"publisher": "pablodelucca",
"repository": {
"type": "git",
"url": "https://github.com/pixel-agents-hq/pixel-agents"
},
"workspaces": ["server", "webview-ui"],
"icon": "icon.png",
"license": "MIT",
"engines": {
"node": ">=20",
"vscode": "^1.105.0"
},
"extensionKind": ["workspace"],
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"bin": {
"pixel-agents": "./dist/cli.js"
},
"files": [
"CHANGELOG.md",
"LICENSE",
"dist/cli.js",
"dist/extension.js",
"dist/hooks/claude-hook.js",
"dist/assets/",
"dist/webview/",
"icon.png"
],
"contributes": {
"commands": [
{
"command": "pixel-agents.showPanel",
"title": "Pixel Agents: Show Panel"
},
{
"command": "pixel-agents.exportDefaultLayout",
"title": "Pixel Agents: Export Layout as Default"
}
],
"viewsContainers": {
"panel": [
{
"id": "pixel-agents-panel",
"title": "Pixel Agents",
"icon": "$(window)"
}
]
},
"views": {
"pixel-agents-panel": [
{
"type": "webview",
"id": "pixel-agents.panelView",
"name": "Pixel Agents"
}
]
},
"configuration": {
"title": "Pixel Agents",
"properties": {
"pixel-agents.autoShowPanel": {
"type": "boolean",
"default": false,
"description": "Automatically open and focus the Pixel Agents panel when VS Code starts."
},
"pixel-agents.autoSpawnAgent": {
"type": "boolean",
"default": false,
"description": "Automatically spawn a Claude Code agent when VS Code starts, if no agents are currently running."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"prepack": "npm run package",
"build:extension": "node esbuild.js --production",
"build:webview": "cd webview-ui && npm run build",
"compile": "npm run asyncapi:generate && npm run check-types && npm run lint && node esbuild.js && npm run build:webview",
"build": "npm run compile",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run asyncapi:generate && npm run check-types && npm run lint && node esbuild.js --production && npm run build:webview",
"asyncapi:generate": "tsx scripts/generate-messages.ts",
"asyncapi:validate": "asyncapi validate core/asyncapi.yaml",
"asyncapi:docs": "asyncapi start studio --file core/asyncapi.yaml",
"check-types": "tsc --noEmit && tsc --noEmit -p server/tsconfig.test.json",
"prepare": "husky",
"lint": "eslint adapters/vscode server core && cd webview-ui && eslint .",
"lint:fix": "eslint adapters/vscode server core --fix && cd webview-ui && eslint . --fix",
"import-tileset": "tsx scripts/import-tileset-cli.ts",
"format": "prettier --write \"adapters/vscode/**/*.ts\" \"server/**/*.ts\" \"core/src/**/*.ts\" \"webview-ui/src/**/*.{ts,tsx,css}\" \"*.{js,mjs}\" \"webview-ui/*.{js,ts}\"",
"format:check": "prettier --check \"adapters/vscode/**/*.ts\" \"server/**/*.ts\" \"core/src/**/*.ts\" \"webview-ui/src/**/*.{ts,tsx,css}\" \"*.{js,mjs}\" \"webview-ui/*.{js,ts}\"",
"test:webview": "cd webview-ui && npm test",
"test:server": "cd server && npm test",
"test:package-contract": "node --test scripts/npm-package-contract.test.mjs",
"test": "npm run test:webview && npm run test:server && npm run test:package-contract",
"verify:npm-package": "node scripts/verify-npm-package.mjs",
"e2e": "node scripts/run-e2e.mjs",
"e2e:debug": "node scripts/run-e2e.mjs --debug",
"e2e:inventory": "node scripts/generate-e2e-inventory.mjs",
"test:report": "node scripts/build-allure-report.mjs",
"test:report:open": "allure open allure-report/allure",
"e2e:report": "npm run test:report",
"vercel:prepare": "npm run test:report && node scripts/assemble-vercel-output.mjs",
"knip": "knip"
},
"devDependencies": {
"@asyncapi/cli": "^6.0.0",
"@asyncapi/html-template": "^3.5.6",
"@asyncapi/modelina": "^5.10.1",
"@playwright/test": "^1.58.2",
"@types/node": "25.x",
"@types/pngjs": "^6.0.5",
"@types/vscode": "^1.105.0",
"@vscode/test-electron": "^2.5.2",
"allure-commandline": "^2.38.1",
"allure-playwright": "^3.7.1",
"esbuild": "^0.28.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-simple-import-sort": "^13.0.0",
"husky": "^9.1.7",
"knip": "^6.3.0",
"lint-staged": "^16.3.2",
"npm-run-all": "^4.1.5",
"pngjs": "^7.0.0",
"prettier": "^3.8.1",
"semver": "^7.8.5",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0"
},
"lint-staged": {
"adapters/vscode/**/*.ts": "eslint --fix",
"server/**/*.ts": "eslint --fix",
"core/src/**/*.ts": "eslint --fix",
"webview-ui/src/**/*.{ts,tsx}": "eslint --fix",
"scripts/**/*.{js,mjs}": "prettier --write",
"*.{ts,tsx,js,mjs,css,json,md}": "prettier --write",
"webview-ui/**/*.{ts,tsx,js,css,json}": "prettier --write"
},
"dependencies": {
"@fastify/cors": "^11.2.0",
"@fastify/static": "^9.1.1",
"@fastify/websocket": "^11.2.0",
"fastify": "^5.8.5"
}
}