
- Added commands for adding context and summary to DevChat. - Updated the package.json file to include the new commands. - Added command handlers for indexing and describing codebase summaries. - Created a new file, askcode_summary_index.py, for indexing and describing codebase summaries. - Added a new setting file, _setting_.json, for the summary action in the auto_command workflow. - Added a new handler file, handler.py, for the summary action in the auto_command workflow.
15 lines
480 B
JSON
15 lines
480 B
JSON
{
|
|
"name": "summary",
|
|
"description": "Get summary of specified file or direcotry in workspace",
|
|
"type": ["project"],
|
|
"action": "summary",
|
|
"args": [
|
|
{
|
|
"name": "path",
|
|
"description": "The relative path of the specified file or folder, for example, /hello.py, represents the hello.py file in the root directory. This arg is required.",
|
|
"type": "string",
|
|
"from": "content.content.path"
|
|
}
|
|
],
|
|
"handler": ["${PythonVirtualEnv}", "${CurDir}/handler.py", "${path}"]
|
|
} |