You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update documentation and workspace schema for agents and tools
- revise codecompanion-workspace.json schema to clarify extension structure, group descriptions, and tool integration
- update codecompanion.txt with expanded documentation for Agent Client Protocol, agent adapters, tool usage, security, super diff, and configuration options
- reorganize and enhance sections on adapters, agents, tools, completion, folding, and system prompts for improved clarity and usability
- add new examples and notes for ACP adapters, agent workflows, and YOLO mode
- fix outdated references and improve consistency across documentation
"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.",
5
+
"description": "What functionality would you like to understand in the codecompanion-gitcommit extension?",
6
+
"system_prompt": "You are an expert in the codecompanion-gitcommit.nvim plugin, which is a Neovim extension for CodeCompanion that generates AI-powered Git commit messages following the Conventional Commits specification. You have deep knowledge of its architecture, Git integration, tool system, and AI generation capabilities.",
"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.",
14
-
"data": [
15
-
"main_init",
16
-
"extension_config",
17
-
"type_definitions"
18
-
]
13
+
"name": "Core System",
14
+
"description": "I need help understanding the core initialization and configuration system of the gitcommit extension",
15
+
"system_prompt": "Focus on the main entry points, extension setup, configuration management, and how the extension integrates with CodeCompanion's ecosystem.",
16
+
"data": ["init", "config", "types"]
19
17
},
20
18
{
21
-
"name": "git_operations",
22
-
"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.",
23
-
"data": [
24
-
"git_core",
25
-
"git_buffer_integration"
26
-
]
19
+
"name": "Git Operations",
20
+
"description": "I need help with Git repository operations and version control functionality",
21
+
"system_prompt": "Focus on Git repository detection, diff analysis, commit operations, branch management, and how the extension interacts with Git commands.",
"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.",
31
-
"data": [
32
-
"message_generator",
33
-
"language_selection"
34
-
]
25
+
"name": "AI Generation",
26
+
"description": "I need help with the AI-powered commit message generation system",
27
+
"system_prompt": "Focus on prompt construction, LLM integration, Conventional Commits formatting, multi-language support, and commit history context usage.",
28
+
"data": ["generator", "langs", "init"]
35
29
},
36
30
{
37
-
"name": "user_interface",
38
-
"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.",
39
-
"data": [
40
-
"buffer_management",
41
-
"ui_components"
42
-
]
31
+
"name": "User Interface",
32
+
"description": "I need help with the UI components and buffer integration",
33
+
"system_prompt": "Focus on gitcommit buffer handling, keymaps, auto-generation behavior, user interactions, and the commit message preview interface.",
34
+
"data": ["ui", "buffer", "init"]
43
35
},
44
36
{
45
-
"name": "git_tools",
46
-
"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.",
47
-
"data": [
48
-
"git_tools_core",
49
-
"git_read_tool",
50
-
"git_edit_tool"
51
-
]
37
+
"name": "Tools System",
38
+
"description": "I need help understanding the Git tools (@{git_read}, @{git_edit}, @{git_bot}) for chat interactions",
39
+
"system_prompt": "Focus on tool schemas, parameter validation, operation execution, async handling, and how tools integrate with CodeCompanion's chat buffer.",
"system_prompt": "This group contains project documentation, usage examples, and configuration templates. Focus on user guidance, feature documentation, and setup instructions.",
56
-
"data": [
57
-
"readme_docs",
58
-
"config_examples",
59
-
"help_documentation"
60
-
]
43
+
"name": "Documentation",
44
+
"description": "I need help with the documentation, usage examples, and API reference",
45
+
"system_prompt": "Focus on installation instructions, configuration options, usage examples, API documentation, and best practices.",
"description": "I need a comprehensive understanding of the entire gitcommit extension",
51
+
"system_prompt": "You have complete knowledge of all aspects of the codecompanion-gitcommit extension, including its architecture, features, configuration, and implementation details.",
"description": "Main extension entry point with setup function, command registration, tool integration, and programmatic API exports"
61
+
"path": "${project_root}/init.lua",
62
+
"description": "The main entry point for the gitcommit extension. Contains setup logic, command registration, tool initialization, and public API methods."
"description": "Extension configuration management with default options and validation"
64
+
"config": {
65
+
"type": "symbols",
66
+
"path": "${project_root}/config.lua",
67
+
"description": "Configuration module defining default options for the extension including adapter settings, language support, buffer behavior, and feature toggles."
"description": "Git commit buffer integration with automatic message generation and keymap setup"
81
+
"path": "${project_root}/generator.lua",
82
+
"description": "AI-powered commit message generation module that constructs prompts, interacts with LLMs, and formats commit messages following Conventional Commits."
"description": "Floating window UI for displaying commit messages with interactive options (copy, commit, edit)"
101
+
"path": "${tool_path}/git_read.lua",
102
+
"description": "Read-only Git operations tool providing 16 operations like status, log, diff, blame, and branch listing for use in CodeCompanion chat."
0 commit comments