aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
128
akode-rs/app-server-protocol/schema/json/v2/ReviewStartParams.json
generated
Normal file
128
akode-rs/app-server-protocol/schema/json/v2/ReviewStartParams.json
generated
Normal file
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"definitions": {
|
||||
"ReviewDelivery": {
|
||||
"enum": [
|
||||
"inline"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ReviewTarget": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Review the working tree: staged, unstaged, and untracked files.",
|
||||
"properties": {
|
||||
"type": {
|
||||
"enum": [
|
||||
"uncommittedChanges"
|
||||
],
|
||||
"title": "UncommittedChangesReviewTargetType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"title": "UncommittedChangesReviewTarget",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"description": "Review changes between the current branch and the given base branch.",
|
||||
"properties": {
|
||||
"branch": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"baseBranch"
|
||||
],
|
||||
"title": "BaseBranchReviewTargetType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"branch",
|
||||
"type"
|
||||
],
|
||||
"title": "BaseBranchReviewTarget",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"description": "Review the changes introduced by a specific commit.",
|
||||
"properties": {
|
||||
"sha": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"description": "Optional human-readable label (e.g., commit subject) for UIs.",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"commit"
|
||||
],
|
||||
"title": "CommitReviewTargetType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sha",
|
||||
"type"
|
||||
],
|
||||
"title": "CommitReviewTarget",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"description": "Arbitrary instructions, equivalent to the old free-form prompt.",
|
||||
"properties": {
|
||||
"instructions": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"custom"
|
||||
],
|
||||
"title": "CustomReviewTargetType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"instructions",
|
||||
"type"
|
||||
],
|
||||
"title": "CustomReviewTarget",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"delivery": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ReviewDelivery"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"description": "Reviews run inline on the supplied thread. Omit this field or pass `inline`. To review on a separate thread, start a thread first and use its id."
|
||||
},
|
||||
"target": {
|
||||
"$ref": "#/definitions/ReviewTarget"
|
||||
},
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"target",
|
||||
"threadId"
|
||||
],
|
||||
"title": "ReviewStartParams",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user