|
4246 | 4246 | "preview" |
4247 | 4247 | ] |
4248 | 4248 | }, |
| 4249 | + "gitlens.ai.experimental.generateCommits.enabled": { |
| 4250 | + "type": "boolean", |
| 4251 | + "default": false, |
| 4252 | + "markdownDescription": "Specifies whether to enable GitLens' experimental AI Commit Generation features", |
| 4253 | + "scope": "window", |
| 4254 | + "order": 1, |
| 4255 | + "tags": [ |
| 4256 | + "experimental" |
| 4257 | + ] |
| 4258 | + }, |
| 4259 | + "gitlens.ai.experimental.generateRebase.enabled": { |
| 4260 | + "type": "boolean", |
| 4261 | + "default": false, |
| 4262 | + "markdownDescription": "Specifies whether to enable GitLens' experimental AI Rebase features", |
| 4263 | + "scope": "window", |
| 4264 | + "order": 1, |
| 4265 | + "tags": [ |
| 4266 | + "experimental" |
| 4267 | + ] |
| 4268 | + }, |
4249 | 4269 | "gitlens.ai.generateStashMessage.customInstructions": { |
4250 | 4270 | "type": "string", |
4251 | 4271 | "default": null, |
|
6210 | 6230 | "title": "Generate Commit Message with GitLens", |
6211 | 6231 | "icon": "$(sparkle)" |
6212 | 6232 | }, |
| 6233 | + { |
| 6234 | + "command": "gitlens.ai.generateCommits", |
| 6235 | + "title": "Generate Commits with AI (Experimental)...", |
| 6236 | + "category": "GitLens", |
| 6237 | + "icon": "$(sparkle)" |
| 6238 | + }, |
| 6239 | + { |
| 6240 | + "command": "gitlens.ai.generateCommits:graph", |
| 6241 | + "title": "Generate Commits with AI (Experimental)", |
| 6242 | + "icon": "$(sparkle)" |
| 6243 | + }, |
| 6244 | + { |
| 6245 | + "command": "gitlens.ai.generateCommits:views", |
| 6246 | + "title": "Generate Commits with AI (Experimental)", |
| 6247 | + "icon": "$(sparkle)" |
| 6248 | + }, |
| 6249 | + { |
| 6250 | + "command": "gitlens.ai.generateRebase", |
| 6251 | + "title": "Rebase with AI (Experimental)...", |
| 6252 | + "category": "GitLens", |
| 6253 | + "icon": "$(sparkle)" |
| 6254 | + }, |
| 6255 | + { |
| 6256 | + "command": "gitlens.ai.rebaseOntoCommit:graph", |
| 6257 | + "title": "AI Rebase Current Branch onto Commit...", |
| 6258 | + "icon": "$(sparkle)", |
| 6259 | + "enablement": "!operationInProgress" |
| 6260 | + }, |
| 6261 | + { |
| 6262 | + "command": "gitlens.ai.rebaseOntoCommit:views", |
| 6263 | + "title": "AI Rebase Current Branch onto Commit...", |
| 6264 | + "icon": "$(sparkle)", |
| 6265 | + "enablement": "!operationInProgress" |
| 6266 | + }, |
6213 | 6267 | { |
6214 | 6268 | "command": "gitlens.ai.switchProvider", |
6215 | 6269 | "title": "Switch AI Provider/Model", |
|
10579 | 10633 | "command": "gitlens.ai.generateCommitMessage:scm", |
10580 | 10634 | "when": "false" |
10581 | 10635 | }, |
| 10636 | + { |
| 10637 | + "command": "gitlens.ai.generateCommits", |
| 10638 | + "when": "gitlens:enabled && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateCommits.enabled" |
| 10639 | + }, |
| 10640 | + { |
| 10641 | + "command": "gitlens.ai.generateCommits:graph", |
| 10642 | + "when": "false" |
| 10643 | + }, |
| 10644 | + { |
| 10645 | + "command": "gitlens.ai.generateCommits:views", |
| 10646 | + "when": "false" |
| 10647 | + }, |
| 10648 | + { |
| 10649 | + "command": "gitlens.ai.generateRebase", |
| 10650 | + "when": "gitlens:enabled && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateRebase.enabled" |
| 10651 | + }, |
| 10652 | + { |
| 10653 | + "command": "gitlens.ai.rebaseOntoCommit:graph", |
| 10654 | + "when": "false" |
| 10655 | + }, |
| 10656 | + { |
| 10657 | + "command": "gitlens.ai.rebaseOntoCommit:views", |
| 10658 | + "when": "false" |
| 10659 | + }, |
10582 | 10660 | { |
10583 | 10661 | "command": "gitlens.ai.switchProvider", |
10584 | 10662 | "when": "gitlens:enabled && gitlens:gk:organization:ai:enabled" |
|
14134 | 14212 | "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
14135 | 14213 | "group": "1_gitlens_actions@5" |
14136 | 14214 | }, |
| 14215 | + { |
| 14216 | + "command": "gitlens.ai.rebaseOntoCommit:views", |
| 14217 | + "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+current\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateRebase.enabled", |
| 14218 | + "group": "1_gitlens_actions@6" |
| 14219 | + }, |
14137 | 14220 | { |
14138 | 14221 | "command": "gitlens.views.rebaseOntoCommit", |
14139 | 14222 | "when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+current\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
16753 | 16836 | "when": "viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+rebase\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
16754 | 16837 | "group": "1_gitlens_actions@5" |
16755 | 16838 | }, |
| 16839 | + { |
| 16840 | + "command": "gitlens.ai.rebaseOntoCommit:views", |
| 16841 | + "when": "viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+rebase\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateRebase.enabled", |
| 16842 | + "group": "1_gitlens_actions@6" |
| 16843 | + }, |
16756 | 16844 | { |
16757 | 16845 | "command": "gitlens.views.rebaseOntoCommit", |
16758 | 16846 | "when": "viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+rebase\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
18016 | 18104 | "when": "viewItem =~ /gitlens:(worktree\\b(?=.*?\\b\\+working\\b)|uncommitted)\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled", |
18017 | 18105 | "group": "3_gitlens_ai@1" |
18018 | 18106 | }, |
| 18107 | + { |
| 18108 | + "command": "gitlens.ai.generateCommits:views", |
| 18109 | + "when": "viewItem =~ /gitlens:(worktree\\b(?=.*?\\b\\+working\\b)|uncommitted)\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateCommits.enabled", |
| 18110 | + "group": "3_gitlens_ai@1" |
| 18111 | + }, |
18019 | 18112 | { |
18020 | 18113 | "command": "gitlens.views.workspaces.addRepos", |
18021 | 18114 | "when": "viewItem =~ /gitlens:workspace\\b(?=.*?\\b\\+cloud\\b)/", |
|
20304 | 20397 | "when": "webviewItem =~ /gitlens:commit\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
20305 | 20398 | "group": "1_gitlens_actions@5" |
20306 | 20399 | }, |
| 20400 | + { |
| 20401 | + "command": "gitlens.ai.rebaseOntoCommit:graph", |
| 20402 | + "when": "webviewItem =~ /gitlens:commit\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateRebase.enabled", |
| 20403 | + "group": "1_gitlens_actions@6" |
| 20404 | + }, |
20307 | 20405 | { |
20308 | 20406 | "command": "gitlens.graph.rebaseOntoCommit", |
20309 | 20407 | "when": "webviewItem =~ /gitlens:commit\\b/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
20559 | 20657 | "when": "webviewItem == gitlens:wip && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled", |
20560 | 20658 | "group": "1_gitlens@2" |
20561 | 20659 | }, |
| 20660 | + { |
| 20661 | + "command": "gitlens.ai.generateCommits:graph", |
| 20662 | + "when": "webviewItem == gitlens:wip && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && gitlens:gk:organization:ai:enabled && config.gitlens.ai.experimental.generateCommits.enabled", |
| 20663 | + "group": "1_gitlens@2" |
| 20664 | + }, |
20562 | 20665 | { |
20563 | 20666 | "command": "gitlens.graph.stash.save", |
20564 | 20667 | "when": "webviewItem == gitlens:wip && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
0 commit comments