This repository was archived by the owner on Jan 14, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecompanion-workspace.json
More file actions
140 lines (140 loc) · 6.1 KB
/
Copy pathcodecompanion-workspace.json
File metadata and controls
140 lines (140 loc) · 6.1 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"name": "CodeCompanion GitCommit Extension",
"version": "1.0.0",
"system_prompt": "You are helping with a Neovim plugin that extends CodeCompanion to provide AI-powered Git commit message generation following Conventional Commits specification. The plugin integrates deeply with Git workflows and provides comprehensive tooling for repository management through LLM-powered chat interfaces.",
"vars": {
"project_name": "codecompanion-gitcommit.nvim",
"main_module": "codecompanion._extensions.gitcommit"
},
"groups": [
{
"name": "core_extension",
"system_prompt": "This group contains the core extension entry point and configuration. Focus on the main initialization logic, extension setup, command registration, and overall architecture of how the plugin integrates with CodeCompanion.",
"data": [
"main_init",
"extension_config",
"type_definitions"
]
},
{
"name": "git_operations",
"system_prompt": "This group handles all Git repository operations including diff analysis, commit execution, repository validation, and file filtering. Focus on Git command execution, repository state management, and the core Git integration logic.",
"data": [
"git_core",
"git_buffer_integration"
]
},
{
"name": "ai_generation",
"system_prompt": "This group manages the AI-powered commit message generation using LLM adapters. Focus on prompt engineering, LLM communication, response handling, and the generation workflow for creating Conventional Commits compliant messages.",
"data": [
"message_generator",
"language_selection"
]
},
{
"name": "user_interface",
"system_prompt": "This group handles user interaction components including buffer integration for gitcommit buffers, floating window displays, and user interface elements. Focus on user experience, interactive elements, and visual presentation.",
"data": [
"buffer_management",
"ui_components"
]
},
{
"name": "git_tools",
"system_prompt": "This group provides comprehensive Git tooling for CodeCompanion chat integration, including read-only operations, write operations, and the Git bot assistant. Focus on tool schemas, command execution, safety mechanisms, and chat integration.",
"data": [
"git_tools_core",
"git_read_tool",
"git_edit_tool"
]
},
{
"name": "documentation_and_examples",
"system_prompt": "This group contains project documentation, usage examples, and configuration templates. Focus on user guidance, feature documentation, and setup instructions.",
"data": [
"readme_docs",
"config_examples",
"help_documentation"
]
}
],
"data": {
"main_init": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/init.lua",
"description": "Main extension entry point with setup function, command registration, tool integration, and programmatic API exports"
},
"extension_config": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/config.lua",
"description": "Extension configuration management with default options and validation"
},
"type_definitions": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/types.lua",
"description": "TypeScript-style type annotations and interface definitions for the extension"
},
"git_core": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/git.lua",
"description": "Core Git operations including repository validation, diff analysis, commit execution, and file filtering logic"
},
"git_buffer_integration": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/buffer.lua",
"description": "Git commit buffer integration with automatic message generation and keymap setup"
},
"message_generator": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/generator.lua",
"description": "AI-powered commit message generation using CodeCompanion's LLM adapters with prompt engineering and response handling"
},
"language_selection": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/langs.lua",
"description": "Multi-language support for commit message generation with language selection UI"
},
"buffer_management": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/buffer.lua",
"description": "Git commit buffer integration and automatic commit message insertion"
},
"ui_components": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/ui.lua",
"description": "Floating window UI for displaying commit messages with interactive options (copy, commit, edit)"
},
"git_tools_core": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/tools/git.lua",
"description": "Core Git tool utilities and shared functionality for read/write operations"
},
"git_read_tool": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/tools/git_read.lua",
"description": "Read-only Git operations tool for CodeCompanion chat (status, log, diff, blame, etc.)"
},
"git_edit_tool": {
"type": "file",
"path": "lua/codecompanion/_extensions/gitcommit/tools/git_edit.lua",
"description": "Write-access Git operations tool for CodeCompanion chat (stage, commit, branch management, etc.)"
},
"readme_docs": {
"type": "file",
"path": "README.md",
"description": "Main project documentation with features, installation, usage, and API reference"
},
"config_examples": {
"type": "file",
"path": "config_example.lua",
"description": "Basic configuration example for the extension setup"
},
"help_documentation": {
"type": "file",
"path": "doc/codecompanion-gitcommit.txt",
"description": "Vim help documentation for the extension"
}
}
}