airi/plugins/airi-plugin-vscode/package.json
2026-01-29 17:45:32 +08:00

80 lines
2 KiB
JSON

{
"publisher": "proj-airi",
"name": "@proj-airi/airi-plugin-vscode",
"displayName": "AIRI",
"version": "0.8.3",
"private": true,
"description": "VSCode extension that shares your coding context with AIRI",
"repository": {
"type": "git",
"url": "https://github.com/moeru-ai/airi.git",
"directory": "plugins/airi-plugin-vscode"
},
"categories": [
"Other"
],
"preview": true,
"main": "./dist/extension.cjs",
"icon": "res/logo.jpg",
"engines": {
"vscode": "^1.108.1"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "airi-vscode.enable",
"title": "AIRI: Enable"
},
{
"command": "airi-vscode.disable",
"title": "AIRI: Disable"
},
{
"command": "airi-vscode.status",
"title": "AIRI: Show Status"
}
],
"configuration": {
"title": "AIRI",
"properties": {
"airi-vscode.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the AIRI extension"
},
"airi-vscode.contextLines": {
"type": "number",
"default": 5,
"description": "Number of context lines to send (before and after current line)"
},
"airi-vscode.sendInterval": {
"type": "number",
"default": 3000,
"description": "Interval in milliseconds to send updates (0 for real-time)"
}
}
}
},
"scripts": {
"prepare": "pnpm run update",
"update": "tsx ./scripts/vscode-ext-gen.ts",
"dev": "tsdown --watch",
"build": "tsdown",
"publish": "tsx ./scripts/publish.ts",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@guiiai/logg": "catalog:",
"@moeru/std": "catalog:",
"@proj-airi/server-sdk": "workspace:*",
"@types/vscode": "^1.108.1",
"es-toolkit": "catalog:",
"injeca": "catalog:",
"nanoid": "catalog:",
"tinyexec": "^1.0.2",
"vscode-ext-gen": "^1.5.1"
}
}