package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "vsix-cp-ai-ctx",
  3. "displayName": "Copy AI Context",
  4. "description": "Copy code context for AI assistants — selected code, file contents, with paths and formatting",
  5. "version": "0.0.1",
  6. "publisher": "your-publisher",
  7. "engines": {
  8. "vscode": "^1.85.0"
  9. },
  10. "categories": [
  11. "Other"
  12. ],
  13. "keywords": [
  14. "ai",
  15. "context",
  16. "copy",
  17. "clipboard",
  18. "chatgpt",
  19. "claude"
  20. ],
  21. "activationEvents": [],
  22. "main": "./dist/extension.js",
  23. "contributes": {
  24. "commands": [
  25. {
  26. "command": "vsix-cp-ai-ctx.copySelection",
  27. "title": "Copy AI Context: Selection"
  28. },
  29. {
  30. "command": "vsix-cp-ai-ctx.copyFile",
  31. "title": "Copy AI Context: Active File"
  32. },
  33. {
  34. "command": "vsix-cp-ai-ctx.copyWorkspaceFiles",
  35. "title": "Copy AI Context: Workspace Files"
  36. }
  37. ],
  38. "keybindings": [
  39. {
  40. "command": "vsix-cp-ai-ctx.copySelection",
  41. "key": "ctrl+alt+c",
  42. "mac": "cmd+alt+c"
  43. },
  44. {
  45. "command": "vsix-cp-ai-ctx.copyFile",
  46. "key": "ctrl+alt+f",
  47. "mac": "cmd+alt+f"
  48. }
  49. ],
  50. "menus": {
  51. "editor/context": [
  52. {
  53. "command": "vsix-cp-ai-ctx.copySelection",
  54. "when": "editorHasSelection",
  55. "group": "9_cutcopypaste@10"
  56. }
  57. ],
  58. "explorer/context": [
  59. {
  60. "command": "vsix-cp-ai-ctx.copyFile",
  61. "when": "!editorHasSelection",
  62. "group": "9_cutcopypaste@10"
  63. }
  64. ]
  65. }
  66. },
  67. "scripts": {
  68. "vscode:prepublish": "node esbuild.js --minify",
  69. "build": "node esbuild.js",
  70. "watch": "node esbuild.js --watch",
  71. "lint": "eslint src --ext .ts",
  72. "package": "vsce package",
  73. "publish": "vsce publish"
  74. },
  75. "devDependencies": {
  76. "@types/vscode": "^1.85.0",
  77. "@types/node": "^20.0.0",
  78. "esbuild": "^0.20.0",
  79. "typescript": "^5.3.0",
  80. "eslint": "^8.56.0",
  81. "@typescript-eslint/eslint-plugin": "^6.0.0",
  82. "@typescript-eslint/parser": "^6.0.0",
  83. "@vscode/vsce": "^2.22.0"
  84. },
  85. "repository": {
  86. "type": "git",
  87. "url": "https://git.ooo.ink/vsix/vsix-cp-ai-ctx.git"
  88. }
  89. }