Query
query WorktreePreparationOverview {
worktreePreparationOverview {
repositories {
repository {
id
canonicalOrigin
displayOrigin
name
description
jiraBranchRegex
}
worktrees {
worktree {
__typename
}
agent {
__typename
}
supported
unsupportedReason
overallState
statuses {
__typename
}
}
}
}
}Response
{
"data": {
"worktreePreparationOverview": {
"repositories": [
{
"repository": {
"id": "id",
"canonicalOrigin": "string",
"displayOrigin": "string",
"name": "string",
"description": "string",
"jiraBranchRegex": "string"
},
"worktrees": [
{
"worktree": {
"__typename": "Worktree"
},
"agent": {
"__typename": "Agent"
},
"supported": true,
"unsupportedReason": "string",
"overallState": "NOT_CONFIGURED",
"statuses": [
{
"__typename": "WorktreePreparationFileStatus"
}
]
}
]
}
]
}
}
}Queries
worktreePreparationOverview
Returns the preparation state of every known worktree.
QUERY
worktreePreparationOverview: WorktreePreparationOverview!Returns
repositories
Preparation state grouped across all known repositories.
Query
query WorktreePreparationOverview {
worktreePreparationOverview {
repositories {
repository {
id
canonicalOrigin
displayOrigin
name
description
jiraBranchRegex
}
worktrees {
worktree {
__typename
}
agent {
__typename
}
supported
unsupportedReason
overallState
statuses {
__typename
}
}
}
}
}Response
{
"data": {
"worktreePreparationOverview": {
"repositories": [
{
"repository": {
"id": "id",
"canonicalOrigin": "string",
"displayOrigin": "string",
"name": "string",
"description": "string",
"jiraBranchRegex": "string"
},
"worktrees": [
{
"worktree": {
"__typename": "Worktree"
},
"agent": {
"__typename": "Agent"
},
"supported": true,
"unsupportedReason": "string",
"overallState": "NOT_CONFIGURED",
"statuses": [
{
"__typename": "WorktreePreparationFileStatus"
}
]
}
]
}
]
}
}
}⌘I