mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-04-24 13:54:59 +00:00
- Implement core components: CLI argument parsing, environment loading, GitHub service creation, and logging configuration. - Add support for OpenAI client setup and model resolution. - Develop SDLC context loader from GitHub and repository files. - Implement workflow context and engine builders. - Introduce major workflow packages: `game_tick_loop` and `contextual_iterative_loop`. - Update localization files with new package descriptions and labels. - Streamline web navigation by loading items from a dedicated JSON file.
251 lines
5.9 KiB
JSON
251 lines
5.9 KiB
JSON
[
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "create_branch",
|
|
"description": "Create a new git branch in the repository",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"branch_name": {
|
|
"type": "string",
|
|
"description": "The name of the new branch"
|
|
},
|
|
"base_branch": {
|
|
"type": "string",
|
|
"description": "The name of the base branch",
|
|
"default": "main"
|
|
}
|
|
},
|
|
"required": [
|
|
"branch_name"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "create_pull_request",
|
|
"description": "Create a new pull request",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"title": {
|
|
"type": "string",
|
|
"description": "The title of the PR"
|
|
},
|
|
"body": {
|
|
"type": "string",
|
|
"description": "The body content of the PR"
|
|
},
|
|
"head_branch": {
|
|
"type": "string",
|
|
"description": "The branch where changes are implemented"
|
|
},
|
|
"base_branch": {
|
|
"type": "string",
|
|
"description": "The branch to merge into",
|
|
"default": "main"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"body",
|
|
"head_branch"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "get_pull_request_comments",
|
|
"description": "Get comments from a specific pull request to read feedback",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"pr_number": {
|
|
"type": "integer",
|
|
"description": "The number of the pull request"
|
|
}
|
|
},
|
|
"required": [
|
|
"pr_number"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "update_roadmap",
|
|
"description": "Update the ROADMAP.md file with new progress",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"content": {
|
|
"type": "string",
|
|
"description": "The full new content for ROADMAP.md"
|
|
}
|
|
},
|
|
"required": [
|
|
"content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "list_files",
|
|
"description": "List all files in the repository for indexing and context",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"directory": {
|
|
"type": "string",
|
|
"description": "The directory to list (default is root)",
|
|
"default": "."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run_tests",
|
|
"description": "Run automated tests in the repository",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "The path to the tests directory",
|
|
"default": "tests"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run_lint",
|
|
"description": "Run linting on the codebase",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "The path to lint",
|
|
"default": "src"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run_docker_task",
|
|
"description": "Run a task inside a Docker container. Useful for git clone, TypeScript, or Python tasks in a isolated environment.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"image": {
|
|
"type": "string",
|
|
"description": "The Docker image to use (e.g., 'python:3.9', 'node:lts', 'alpine/git')"
|
|
},
|
|
"command": {
|
|
"type": "string",
|
|
"description": "The command to run inside the container"
|
|
},
|
|
"workdir": {
|
|
"type": "string",
|
|
"description": "The working directory inside the container",
|
|
"default": "/workspace"
|
|
}
|
|
},
|
|
"required": [
|
|
"image",
|
|
"command"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "read_file",
|
|
"description": "Read the content of a file",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "The path to the file to read"
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "write_file",
|
|
"description": "Write content to a file",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "The path to the file to write"
|
|
},
|
|
"content": {
|
|
"type": "string",
|
|
"description": "The content to write to the file"
|
|
}
|
|
},
|
|
"required": [
|
|
"path",
|
|
"content"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "edit_file",
|
|
"description": "Edit a file using search and replace",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "The path to the file to edit"
|
|
},
|
|
"search": {
|
|
"type": "string",
|
|
"description": "The exact string to search for"
|
|
},
|
|
"replace": {
|
|
"type": "string",
|
|
"description": "The string to replace it with"
|
|
}
|
|
},
|
|
"required": [
|
|
"path",
|
|
"search",
|
|
"replace"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|