@theia/ai-ide 1.77.0-next.99 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/address-pr-review-command-contribution.js +15 -19
- package/lib/browser/address-pr-review-command-contribution.js.map +1 -1
- package/lib/browser/agent-mode-confirmation-service.js +20 -24
- package/lib/browser/agent-mode-confirmation-service.js.map +1 -1
- package/lib/browser/agents-md-agent.js +15 -19
- package/lib/browser/agents-md-agent.js.map +1 -1
- package/lib/browser/ai-allow-all-mode-chat-banner.js +32 -39
- package/lib/browser/ai-allow-all-mode-chat-banner.js.map +1 -1
- package/lib/browser/ai-allow-all-mode-chat-banner.spec.js +49 -51
- package/lib/browser/ai-allow-all-mode-chat-banner.spec.js.map +1 -1
- package/lib/browser/ai-aware-scm-commit-widget.d.ts +1 -1
- package/lib/browser/ai-aware-scm-commit-widget.d.ts.map +1 -1
- package/lib/browser/ai-aware-scm-commit-widget.js +36 -47
- package/lib/browser/ai-aware-scm-commit-widget.js.map +1 -1
- package/lib/browser/ai-configuration/agent-icon.js +5 -9
- package/lib/browser/ai-configuration/agent-icon.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-breadcrumbs-contribution.js +28 -37
- package/lib/browser/ai-configuration/ai-configuration-breadcrumbs-contribution.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-detail-widget.js +29 -39
- package/lib/browser/ai-configuration/ai-configuration-detail-widget.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-detail-widget.spec.js +22 -24
- package/lib/browser/ai-configuration/ai-configuration-detail-widget.spec.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-label-provider-contribution.js +12 -15
- package/lib/browser/ai-configuration/ai-configuration-label-provider-contribution.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-open-preference-renderer.js +20 -24
- package/lib/browser/ai-configuration/ai-configuration-open-preference-renderer.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-preference-ownership.spec.js +37 -39
- package/lib/browser/ai-configuration/ai-configuration-preference-ownership.spec.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-resource.js +3 -7
- package/lib/browser/ai-configuration/ai-configuration-resource.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-search-widget.js +20 -26
- package/lib/browser/ai-configuration/ai-configuration-search-widget.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-search.js +2 -5
- package/lib/browser/ai-configuration/ai-configuration-search.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-search.spec.js +15 -17
- package/lib/browser/ai-configuration/ai-configuration-search.spec.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-service.js +9 -12
- package/lib/browser/ai-configuration/ai-configuration-service.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-tree-model.js +7 -10
- package/lib/browser/ai-configuration/ai-configuration-tree-model.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-tree-nodes.js +14 -17
- package/lib/browser/ai-configuration/ai-configuration-tree-nodes.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-tree-nodes.spec.js +47 -49
- package/lib/browser/ai-configuration/ai-configuration-tree-nodes.spec.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-tree-widget.d.ts +1 -1
- package/lib/browser/ai-configuration/ai-configuration-tree-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-tree-widget.js +68 -79
- package/lib/browser/ai-configuration/ai-configuration-tree-widget.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-view-contribution.d.ts +2 -2
- package/lib/browser/ai-configuration/ai-configuration-view-contribution.d.ts.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-view-contribution.js +47 -54
- package/lib/browser/ai-configuration/ai-configuration-view-contribution.js.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-widget.d.ts +4 -4
- package/lib/browser/ai-configuration/ai-configuration-widget.d.ts.map +1 -1
- package/lib/browser/ai-configuration/ai-configuration-widget.js +45 -57
- package/lib/browser/ai-configuration/ai-configuration-widget.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-capabilities-settings.d.ts +3 -0
- package/lib/browser/ai-configuration/categories/agent-capabilities-settings.d.ts.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-capabilities-settings.js +34 -40
- package/lib/browser/ai-configuration/categories/agent-capabilities-settings.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-capabilities-settings.spec.js +135 -140
- package/lib/browser/ai-configuration/categories/agent-capabilities-settings.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-chips.js +8 -13
- package/lib/browser/ai-configuration/categories/agent-chips.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-detail-model.js +7 -10
- package/lib/browser/ai-configuration/categories/agent-detail-model.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-detail-model.spec.js +13 -15
- package/lib/browser/ai-configuration/categories/agent-detail-model.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-detail-view.d.ts +1 -1
- package/lib/browser/ai-configuration/categories/agent-detail-view.d.ts.map +1 -1
- package/lib/browser/ai-configuration/categories/agent-detail-view.js +29 -34
- package/lib/browser/ai-configuration/categories/agent-detail-view.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agents-configuration-category.d.ts +1 -1
- package/lib/browser/ai-configuration/categories/agents-configuration-category.d.ts.map +1 -1
- package/lib/browser/ai-configuration/categories/agents-configuration-category.js +106 -128
- package/lib/browser/ai-configuration/categories/agents-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/agents-configuration-category.spec.js +32 -34
- package/lib/browser/ai-configuration/categories/agents-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/general-configuration-category.js +91 -101
- package/lib/browser/ai-configuration/categories/general-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/general-configuration-category.spec.js +38 -40
- package/lib/browser/ai-configuration/categories/general-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.js +53 -63
- package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.spec.js +25 -27
- package/lib/browser/ai-configuration/categories/model-aliases-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/models-configuration-category.js +45 -56
- package/lib/browser/ai-configuration/categories/models-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/models-configuration-category.spec.js +31 -33
- package/lib/browser/ai-configuration/categories/models-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.js +68 -76
- package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.spec.js +55 -57
- package/lib/browser/ai-configuration/categories/prompt-snippets-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.js +85 -100
- package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.spec.js +39 -41
- package/lib/browser/ai-configuration/categories/prompts-and-skills-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/provider-model-discovery-section.js +44 -49
- package/lib/browser/ai-configuration/categories/provider-model-discovery-section.js.map +1 -1
- package/lib/browser/ai-configuration/categories/provider-model-discovery-section.spec.js +71 -74
- package/lib/browser/ai-configuration/categories/provider-model-discovery-section.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/token-usage-configuration-category.js +34 -42
- package/lib/browser/ai-configuration/categories/token-usage-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/token-usage-configuration-category.spec.js +16 -18
- package/lib/browser/ai-configuration/categories/token-usage-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/tools-configuration-category.js +101 -112
- package/lib/browser/ai-configuration/categories/tools-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/tools-configuration-category.spec.js +46 -48
- package/lib/browser/ai-configuration/categories/tools-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/categories/variables-configuration-category.js +54 -63
- package/lib/browser/ai-configuration/categories/variables-configuration-category.js.map +1 -1
- package/lib/browser/ai-configuration/categories/variables-configuration-category.spec.js +27 -29
- package/lib/browser/ai-configuration/categories/variables-configuration-category.spec.js.map +1 -1
- package/lib/browser/ai-configuration/components/agent-notification-settings.js +12 -16
- package/lib/browser/ai-configuration/components/agent-notification-settings.js.map +1 -1
- package/lib/browser/ai-configuration/language-model-renderer.js +25 -31
- package/lib/browser/ai-configuration/language-model-renderer.js.map +1 -1
- package/lib/browser/ai-configuration/language-model-renderer.spec.js +29 -32
- package/lib/browser/ai-configuration/language-model-renderer.spec.js.map +1 -1
- package/lib/browser/ai-first-perspective-contribution.js +18 -21
- package/lib/browser/ai-first-perspective-contribution.js.map +1 -1
- package/lib/browser/ai-getting-started-commands.js +3 -6
- package/lib/browser/ai-getting-started-commands.js.map +1 -1
- package/lib/browser/ai-getting-started-contribution.js +24 -30
- package/lib/browser/ai-getting-started-contribution.js.map +1 -1
- package/lib/browser/ai-getting-started-walkthrough.js +54 -58
- package/lib/browser/ai-getting-started-walkthrough.js.map +1 -1
- package/lib/browser/ai-getting-started-walkthrough.spec.js +32 -34
- package/lib/browser/ai-getting-started-walkthrough.spec.js.map +1 -1
- package/lib/browser/ai-ide-activation-service.js +25 -34
- package/lib/browser/ai-ide-activation-service.js.map +1 -1
- package/lib/browser/ai-sessions-view-contribution.d.ts +1 -1
- package/lib/browser/ai-sessions-view-contribution.d.ts.map +1 -1
- package/lib/browser/ai-sessions-view-contribution.js +28 -33
- package/lib/browser/ai-sessions-view-contribution.js.map +1 -1
- package/lib/browser/ai-sessions-widget.d.ts +3 -3
- package/lib/browser/ai-sessions-widget.d.ts.map +1 -1
- package/lib/browser/ai-sessions-widget.js +42 -55
- package/lib/browser/ai-sessions-widget.js.map +1 -1
- package/lib/browser/ai-terminal-functions.js +18 -24
- package/lib/browser/ai-terminal-functions.js.map +1 -1
- package/lib/browser/ai-walkthrough-context-keys.js +35 -45
- package/lib/browser/ai-walkthrough-context-keys.js.map +1 -1
- package/lib/browser/ai-walkthrough-context-keys.spec.js +34 -36
- package/lib/browser/ai-walkthrough-context-keys.spec.js.map +1 -1
- package/lib/browser/ai-workspace-restriction-contribution.js +11 -15
- package/lib/browser/ai-workspace-restriction-contribution.js.map +1 -1
- package/lib/browser/analyze-gh-ticket-command-contribution.js +19 -23
- package/lib/browser/analyze-gh-ticket-command-contribution.js.map +1 -1
- package/lib/browser/app-tester-chat-agent.js +45 -51
- package/lib/browser/app-tester-chat-agent.js.map +1 -1
- package/lib/browser/app-tester-chat-functions.d.ts +1 -1
- package/lib/browser/app-tester-chat-functions.d.ts.map +1 -1
- package/lib/browser/app-tester-chat-functions.js +29 -34
- package/lib/browser/app-tester-chat-functions.js.map +1 -1
- package/lib/browser/app-tester-prompt-template.js +42 -45
- package/lib/browser/app-tester-prompt-template.js.map +1 -1
- package/lib/browser/apptester-capability-contribution.js +13 -17
- package/lib/browser/apptester-capability-contribution.js.map +1 -1
- package/lib/browser/architect-agent.d.ts +2 -2
- package/lib/browser/architect-agent.d.ts.map +1 -1
- package/lib/browser/architect-agent.js +38 -44
- package/lib/browser/architect-agent.js.map +1 -1
- package/lib/browser/architect-prompt-template.js +84 -87
- package/lib/browser/architect-prompt-template.js.map +1 -1
- package/lib/browser/chat-session-item-action-contribution.js +15 -18
- package/lib/browser/chat-session-item-action-contribution.js.map +1 -1
- package/lib/browser/chat-session-item.d.ts +1 -1
- package/lib/browser/chat-session-item.d.ts.map +1 -1
- package/lib/browser/chat-session-item.js +25 -29
- package/lib/browser/chat-session-item.js.map +1 -1
- package/lib/browser/chat-session-list-components.js +9 -14
- package/lib/browser/chat-session-list-components.js.map +1 -1
- package/lib/browser/chat-session-list-service.d.ts +2 -2
- package/lib/browser/chat-session-list-service.d.ts.map +1 -1
- package/lib/browser/chat-session-list-service.js +33 -43
- package/lib/browser/chat-session-list-service.js.map +1 -1
- package/lib/browser/chat-session-list-service.spec.js +56 -58
- package/lib/browser/chat-session-list-service.spec.js.map +1 -1
- package/lib/browser/chat-session-tooltip.js +31 -35
- package/lib/browser/chat-session-tooltip.js.map +1 -1
- package/lib/browser/chat-sessions-welcome-message-provider.d.ts +3 -3
- package/lib/browser/chat-sessions-welcome-message-provider.d.ts.map +1 -1
- package/lib/browser/chat-sessions-welcome-message-provider.js +54 -70
- package/lib/browser/chat-sessions-welcome-message-provider.js.map +1 -1
- package/lib/browser/code-review-capability-contribution.js +13 -17
- package/lib/browser/code-review-capability-contribution.js.map +1 -1
- package/lib/browser/code-reviewer-agent.js +17 -21
- package/lib/browser/code-reviewer-agent.js.map +1 -1
- package/lib/browser/code-reviewer-prompt-template.js +5 -8
- package/lib/browser/code-reviewer-prompt-template.js.map +1 -1
- package/lib/browser/coder-agent.d.ts +2 -2
- package/lib/browser/coder-agent.d.ts.map +1 -1
- package/lib/browser/coder-agent.js +44 -50
- package/lib/browser/coder-agent.js.map +1 -1
- package/lib/browser/commit-message-agent.js +26 -32
- package/lib/browser/commit-message-agent.js.map +1 -1
- package/lib/browser/commit-message-agent.spec.js +25 -28
- package/lib/browser/commit-message-agent.spec.js.map +1 -1
- package/lib/browser/commit-message-command-contribution.d.ts +1 -1
- package/lib/browser/commit-message-command-contribution.d.ts.map +1 -1
- package/lib/browser/commit-message-command-contribution.js +21 -28
- package/lib/browser/commit-message-command-contribution.js.map +1 -1
- package/lib/browser/commit-message-commands.js +4 -7
- package/lib/browser/commit-message-commands.js.map +1 -1
- package/lib/browser/commit-message-prompt-template.js +9 -12
- package/lib/browser/commit-message-prompt-template.js.map +1 -1
- package/lib/browser/commit-message-runner.d.ts +2 -2
- package/lib/browser/commit-message-runner.d.ts.map +1 -1
- package/lib/browser/commit-message-runner.js +33 -41
- package/lib/browser/commit-message-runner.js.map +1 -1
- package/lib/browser/commit-message-runner.spec.js +65 -68
- package/lib/browser/commit-message-runner.spec.js.map +1 -1
- package/lib/browser/context-file-validation-service-impl.d.ts +1 -1
- package/lib/browser/context-file-validation-service-impl.d.ts.map +1 -1
- package/lib/browser/context-file-validation-service-impl.js +20 -26
- package/lib/browser/context-file-validation-service-impl.js.map +1 -1
- package/lib/browser/context-file-validation-service-impl.spec.js +77 -79
- package/lib/browser/context-file-validation-service-impl.spec.js.map +1 -1
- package/lib/browser/context-functions.js +27 -31
- package/lib/browser/context-functions.js.map +1 -1
- package/lib/browser/context-functions.spec.js +64 -66
- package/lib/browser/context-functions.spec.js.map +1 -1
- package/lib/browser/create-skill-agent.d.ts +1 -1
- package/lib/browser/create-skill-agent.d.ts.map +1 -1
- package/lib/browser/create-skill-agent.js +19 -23
- package/lib/browser/create-skill-agent.js.map +1 -1
- package/lib/browser/default-chat-agent-recommendation-service.js +16 -19
- package/lib/browser/default-chat-agent-recommendation-service.js.map +1 -1
- package/lib/browser/explore-agent.d.ts +1 -1
- package/lib/browser/explore-agent.d.ts.map +1 -1
- package/lib/browser/explore-agent.js +18 -22
- package/lib/browser/explore-agent.js.map +1 -1
- package/lib/browser/explore-prompt-template.js +5 -8
- package/lib/browser/explore-prompt-template.js.map +1 -1
- package/lib/browser/file-changeset-function.spec.js +12 -14
- package/lib/browser/file-changeset-function.spec.js.map +1 -1
- package/lib/browser/file-changeset-functions.d.ts +1 -1
- package/lib/browser/file-changeset-functions.d.ts.map +1 -1
- package/lib/browser/file-changeset-functions.js +134 -164
- package/lib/browser/file-changeset-functions.js.map +1 -1
- package/lib/browser/file-changeset-functions.spec.js +136 -138
- package/lib/browser/file-changeset-functions.spec.js.map +1 -1
- package/lib/browser/frontend-module.js +293 -295
- package/lib/browser/frontend-module.js.map +1 -1
- package/lib/browser/git-changes-tool.js +22 -26
- package/lib/browser/git-changes-tool.js.map +1 -1
- package/lib/browser/git-changes-tool.spec.js +52 -55
- package/lib/browser/git-changes-tool.spec.js.map +1 -1
- package/lib/browser/github-capability-contribution.js +14 -18
- package/lib/browser/github-capability-contribution.js.map +1 -1
- package/lib/browser/github-chat-agent.js +58 -67
- package/lib/browser/github-chat-agent.js.map +1 -1
- package/lib/browser/github-prompt-template.js +6 -9
- package/lib/browser/github-prompt-template.js.map +1 -1
- package/lib/browser/github-repo-variable-contribution.d.ts +1 -1
- package/lib/browser/github-repo-variable-contribution.d.ts.map +1 -1
- package/lib/browser/github-repo-variable-contribution.js +23 -30
- package/lib/browser/github-repo-variable-contribution.js.map +1 -1
- package/lib/browser/ide-chat-welcome-message-provider.js +59 -71
- package/lib/browser/ide-chat-welcome-message-provider.js.map +1 -1
- package/lib/browser/implement-gh-ticket-command-contribution.js +15 -19
- package/lib/browser/implement-gh-ticket-command-contribution.js.map +1 -1
- package/lib/browser/memory-capability-contribution.d.ts.map +1 -1
- package/lib/browser/memory-capability-contribution.js +21 -25
- package/lib/browser/memory-capability-contribution.js.map +1 -1
- package/lib/browser/memory-capability-contribution.spec.js +30 -32
- package/lib/browser/memory-capability-contribution.spec.js.map +1 -1
- package/lib/browser/memory-directory-variable-contribution.d.ts +1 -1
- package/lib/browser/memory-directory-variable-contribution.d.ts.map +1 -1
- package/lib/browser/memory-directory-variable-contribution.js +19 -24
- package/lib/browser/memory-directory-variable-contribution.js.map +1 -1
- package/lib/browser/memory-directory-variable-contribution.spec.js +28 -30
- package/lib/browser/memory-directory-variable-contribution.spec.js.map +1 -1
- package/lib/browser/mode-aware-chat-agent.js +9 -12
- package/lib/browser/mode-aware-chat-agent.js.map +1 -1
- package/lib/browser/multi-root-paths.spec.js +86 -88
- package/lib/browser/multi-root-paths.spec.js.map +1 -1
- package/lib/browser/open-editors-hint-contribution.js +10 -14
- package/lib/browser/open-editors-hint-contribution.js.map +1 -1
- package/lib/browser/remember-command-contribution.js +17 -21
- package/lib/browser/remember-command-contribution.js.map +1 -1
- package/lib/browser/review/pr-review-agent.js +17 -21
- package/lib/browser/review/pr-review-agent.js.map +1 -1
- package/lib/browser/review/pr-review-capability-contribution.js +41 -45
- package/lib/browser/review/pr-review-capability-contribution.js.map +1 -1
- package/lib/browser/review/pr-review-prompt-template.js +48 -51
- package/lib/browser/review/pr-review-prompt-template.js.map +1 -1
- package/lib/browser/shell-execution-capability-contribution.js +17 -21
- package/lib/browser/shell-execution-capability-contribution.js.map +1 -1
- package/lib/browser/skill-file-functions.js +27 -33
- package/lib/browser/skill-file-functions.js.map +1 -1
- package/lib/browser/skill-file-functions.spec.js +19 -21
- package/lib/browser/skill-file-functions.spec.js.map +1 -1
- package/lib/browser/summarize-session-command-contribution.d.ts +1 -1
- package/lib/browser/summarize-session-command-contribution.d.ts.map +1 -1
- package/lib/browser/summarize-session-command-contribution.js +38 -50
- package/lib/browser/summarize-session-command-contribution.js.map +1 -1
- package/lib/browser/task-background-summary-variable.js +17 -20
- package/lib/browser/task-background-summary-variable.js.map +1 -1
- package/lib/browser/task-context-file-storage-service.js +39 -51
- package/lib/browser/task-context-file-storage-service.js.map +1 -1
- package/lib/browser/task-context-file-storage-service.spec.js +41 -43
- package/lib/browser/task-context-file-storage-service.spec.js.map +1 -1
- package/lib/browser/task-context-functions.js +44 -52
- package/lib/browser/task-context-functions.js.map +1 -1
- package/lib/browser/template-preference-contribution.js +30 -37
- package/lib/browser/template-preference-contribution.js.map +1 -1
- package/lib/browser/test/tool-provider-cancellation-test-util.spec.js +8 -10
- package/lib/browser/test/tool-provider-cancellation-test-util.spec.js.map +1 -1
- package/lib/browser/todo-tool-renderer.d.ts +1 -1
- package/lib/browser/todo-tool-renderer.d.ts.map +1 -1
- package/lib/browser/todo-tool-renderer.js +42 -51
- package/lib/browser/todo-tool-renderer.js.map +1 -1
- package/lib/browser/todo-tool.js +8 -11
- package/lib/browser/todo-tool.js.map +1 -1
- package/lib/browser/todo-tool.spec.js +14 -16
- package/lib/browser/todo-tool.spec.js.map +1 -1
- package/lib/browser/user-interaction-tool-renderer.d.ts +1 -1
- package/lib/browser/user-interaction-tool-renderer.d.ts.map +1 -1
- package/lib/browser/user-interaction-tool-renderer.js +81 -95
- package/lib/browser/user-interaction-tool-renderer.js.map +1 -1
- package/lib/browser/user-interaction-tool.d.ts +2 -2
- package/lib/browser/user-interaction-tool.d.ts.map +1 -1
- package/lib/browser/user-interaction-tool.js +56 -65
- package/lib/browser/user-interaction-tool.js.map +1 -1
- package/lib/browser/user-interaction-tool.spec.js +118 -121
- package/lib/browser/user-interaction-tool.spec.js.map +1 -1
- package/lib/browser/workspace-functions.d.ts +1 -1
- package/lib/browser/workspace-functions.d.ts.map +1 -1
- package/lib/browser/workspace-functions.js +126 -155
- package/lib/browser/workspace-functions.js.map +1 -1
- package/lib/browser/workspace-functions.spec.js +607 -600
- package/lib/browser/workspace-functions.spec.js.map +1 -1
- package/lib/browser/workspace-launch-provider.d.ts +1 -1
- package/lib/browser/workspace-launch-provider.d.ts.map +1 -1
- package/lib/browser/workspace-launch-provider.js +46 -57
- package/lib/browser/workspace-launch-provider.js.map +1 -1
- package/lib/browser/workspace-launch-provider.spec.js +119 -122
- package/lib/browser/workspace-launch-provider.spec.js.map +1 -1
- package/lib/browser/workspace-search-provider.d.ts +1 -1
- package/lib/browser/workspace-search-provider.d.ts.map +1 -1
- package/lib/browser/workspace-search-provider.js +25 -32
- package/lib/browser/workspace-search-provider.js.map +1 -1
- package/lib/browser/workspace-search-provider.spec.js +35 -38
- package/lib/browser/workspace-search-provider.spec.js.map +1 -1
- package/lib/browser/workspace-task-provider.d.ts +1 -1
- package/lib/browser/workspace-task-provider.d.ts.map +1 -1
- package/lib/browser/workspace-task-provider.js +42 -51
- package/lib/browser/workspace-task-provider.js.map +1 -1
- package/lib/browser/workspace-task-provider.spec.js +102 -105
- package/lib/browser/workspace-task-provider.spec.js.map +1 -1
- package/lib/common/agent-ids.js +2 -5
- package/lib/common/agent-ids.js.map +1 -1
- package/lib/common/agents-md-prompt-template.js +38 -41
- package/lib/common/agents-md-prompt-template.js.map +1 -1
- package/lib/common/ai-configuration-preferences.js +5 -8
- package/lib/common/ai-configuration-preferences.js.map +1 -1
- package/lib/common/ai-ide-preferences.js +16 -19
- package/lib/common/ai-ide-preferences.js.map +1 -1
- package/lib/common/ai-terminal-functions.js +1 -4
- package/lib/common/ai-terminal-functions.js.map +1 -1
- package/lib/common/app-tester-chat-functions.js +4 -7
- package/lib/common/app-tester-chat-functions.js.map +1 -1
- package/lib/common/browser-automation-protocol.js +3 -6
- package/lib/common/browser-automation-protocol.js.map +1 -1
- package/lib/common/coder-replace-prompt-template.js +102 -108
- package/lib/common/coder-replace-prompt-template.js.map +1 -1
- package/lib/common/command-chat-agents.js +34 -40
- package/lib/common/command-chat-agents.js.map +1 -1
- package/lib/common/command-prompt-template.js +1 -4
- package/lib/common/command-prompt-template.js.map +1 -1
- package/lib/common/context-files-variable.js +17 -20
- package/lib/common/context-files-variable.js.map +1 -1
- package/lib/common/context-functions.js +3 -6
- package/lib/common/context-functions.js.map +1 -1
- package/lib/common/context-variables.js +2 -5
- package/lib/common/context-variables.js.map +1 -1
- package/lib/common/create-skill-prompt-template.js +22 -25
- package/lib/common/create-skill-prompt-template.js.map +1 -1
- package/lib/common/file-changeset-function-ids.js +8 -11
- package/lib/common/file-changeset-function-ids.js.map +1 -1
- package/lib/common/github-repo-protocol.js +2 -5
- package/lib/common/github-repo-protocol.js.map +1 -1
- package/lib/common/open-editors-hint-fragment-id.js +1 -4
- package/lib/common/open-editors-hint-fragment-id.js.map +1 -1
- package/lib/common/orchestrator-chat-agent.js +36 -42
- package/lib/common/orchestrator-chat-agent.js.map +1 -1
- package/lib/common/orchestrator-prompt-template.js +1 -4
- package/lib/common/orchestrator-prompt-template.js.map +1 -1
- package/lib/common/summarize-session-commands.js +2 -5
- package/lib/common/summarize-session-commands.js.map +1 -1
- package/lib/common/task-context-function-ids.js +5 -8
- package/lib/common/task-context-function-ids.js.map +1 -1
- package/lib/common/todo-tool.js +2 -6
- package/lib/common/todo-tool.js.map +1 -1
- package/lib/common/universal-chat-agent.js +17 -21
- package/lib/common/universal-chat-agent.js.map +1 -1
- package/lib/common/universal-prompt-template.js +6 -9
- package/lib/common/universal-prompt-template.js.map +1 -1
- package/lib/common/user-interaction-tool.js +11 -21
- package/lib/common/user-interaction-tool.js.map +1 -1
- package/lib/common/user-interaction-tool.spec.js +52 -54
- package/lib/common/user-interaction-tool.spec.js.map +1 -1
- package/lib/common/workspace-functions.js +13 -16
- package/lib/common/workspace-functions.js.map +1 -1
- package/lib/common/workspace-preferences.js +41 -44
- package/lib/common/workspace-preferences.js.map +1 -1
- package/lib/common/workspace-search-provider-util.js +3 -6
- package/lib/common/workspace-search-provider-util.js.map +1 -1
- package/lib/common/workspace-search-provider-util.spec.js +13 -15
- package/lib/common/workspace-search-provider-util.spec.js.map +1 -1
- package/lib/node/app-tester-agent/browser-automation-impl.d.ts +1 -1
- package/lib/node/app-tester-agent/browser-automation-impl.d.ts.map +1 -1
- package/lib/node/app-tester-agent/browser-automation-impl.js +7 -10
- package/lib/node/app-tester-agent/browser-automation-impl.js.map +1 -1
- package/lib/node/backend-module.js +21 -23
- package/lib/node/backend-module.js.map +1 -1
- package/lib/node/github-repo-service-impl.d.ts +1 -1
- package/lib/node/github-repo-service-impl.d.ts.map +1 -1
- package/lib/node/github-repo-service-impl.js +11 -15
- package/lib/node/github-repo-service-impl.js.map +1 -1
- package/lib/package.spec.d.ts +1 -0
- package/lib/package.spec.js +1 -1
- package/lib/package.spec.js.map +1 -1
- package/package.json +33 -25
- package/src/browser/address-pr-review-command-contribution.ts +1 -1
- package/src/browser/agent-mode-confirmation-service.ts +1 -1
- package/src/browser/agents-md-agent.ts +1 -1
- package/src/browser/ai-allow-all-mode-chat-banner.spec.ts +1 -1
- package/src/browser/ai-aware-scm-commit-widget.tsx +3 -3
- package/src/browser/ai-configuration/ai-configuration-breadcrumbs-contribution.ts +2 -2
- package/src/browser/ai-configuration/ai-configuration-detail-widget.spec.ts +1 -1
- package/src/browser/ai-configuration/ai-configuration-label-provider-contribution.ts +1 -1
- package/src/browser/ai-configuration/ai-configuration-open-preference-renderer.ts +1 -1
- package/src/browser/ai-configuration/ai-configuration-preference-ownership.spec.ts +6 -6
- package/src/browser/ai-configuration/ai-configuration-search.spec.ts +1 -1
- package/src/browser/ai-configuration/ai-configuration-tree-nodes.spec.ts +1 -1
- package/src/browser/ai-configuration/ai-configuration-tree-widget.tsx +3 -3
- package/src/browser/ai-configuration/ai-configuration-view-contribution.ts +2 -2
- package/src/browser/ai-configuration/ai-configuration-widget.tsx +5 -5
- package/src/browser/ai-configuration/categories/agent-capabilities-settings.spec.ts +9 -9
- package/src/browser/ai-configuration/categories/agent-capabilities-settings.tsx +5 -2
- package/src/browser/ai-configuration/categories/agent-chips.tsx +1 -1
- package/src/browser/ai-configuration/categories/agent-detail-model.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/agent-detail-view.tsx +6 -6
- package/src/browser/ai-configuration/categories/agents-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/agents-configuration-category.tsx +5 -5
- package/src/browser/ai-configuration/categories/general-configuration-category.spec.ts +2 -2
- package/src/browser/ai-configuration/categories/general-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/categories/model-aliases-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/model-aliases-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/categories/models-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/models-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/categories/prompt-snippets-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/prompt-snippets-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/categories/prompts-and-skills-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/prompts-and-skills-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/categories/provider-model-discovery-section.spec.tsx +1 -1
- package/src/browser/ai-configuration/categories/provider-model-discovery-section.tsx +1 -1
- package/src/browser/ai-configuration/categories/token-usage-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/token-usage-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/categories/tools-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/variables-configuration-category.spec.ts +1 -1
- package/src/browser/ai-configuration/categories/variables-configuration-category.tsx +1 -1
- package/src/browser/ai-configuration/language-model-renderer.spec.ts +1 -1
- package/src/browser/ai-first-perspective-contribution.ts +1 -1
- package/src/browser/ai-getting-started-contribution.ts +2 -2
- package/src/browser/ai-getting-started-walkthrough.spec.ts +2 -2
- package/src/browser/ai-getting-started-walkthrough.ts +3 -3
- package/src/browser/ai-ide-activation-service.ts +1 -1
- package/src/browser/ai-sessions-view-contribution.ts +1 -1
- package/src/browser/ai-sessions-widget.tsx +4 -4
- package/src/browser/ai-terminal-functions.ts +1 -1
- package/src/browser/ai-walkthrough-context-keys.spec.ts +1 -1
- package/src/browser/analyze-gh-ticket-command-contribution.ts +3 -3
- package/src/browser/app-tester-chat-agent.ts +2 -2
- package/src/browser/app-tester-chat-functions.ts +2 -2
- package/src/browser/app-tester-prompt-template.ts +2 -2
- package/src/browser/apptester-capability-contribution.ts +1 -1
- package/src/browser/architect-agent.ts +4 -4
- package/src/browser/architect-prompt-template.ts +6 -6
- package/src/browser/chat-session-item.tsx +2 -2
- package/src/browser/chat-session-list-service.spec.ts +2 -2
- package/src/browser/chat-session-list-service.ts +2 -2
- package/src/browser/chat-sessions-welcome-message-provider.tsx +5 -5
- package/src/browser/code-review-capability-contribution.ts +1 -1
- package/src/browser/code-reviewer-agent.ts +1 -1
- package/src/browser/coder-agent.ts +3 -3
- package/src/browser/commit-message-agent.spec.ts +2 -2
- package/src/browser/commit-message-agent.ts +1 -1
- package/src/browser/commit-message-command-contribution.ts +3 -3
- package/src/browser/commit-message-runner.spec.ts +3 -3
- package/src/browser/commit-message-runner.ts +2 -2
- package/src/browser/context-file-validation-service-impl.spec.ts +2 -2
- package/src/browser/context-file-validation-service-impl.ts +1 -1
- package/src/browser/context-functions.spec.ts +1 -1
- package/src/browser/context-functions.ts +1 -1
- package/src/browser/create-skill-agent.ts +2 -2
- package/src/browser/default-chat-agent-recommendation-service.ts +2 -2
- package/src/browser/explore-agent.ts +2 -2
- package/src/browser/file-changeset-function.spec.ts +1 -1
- package/src/browser/file-changeset-functions.spec.ts +3 -3
- package/src/browser/file-changeset-functions.ts +3 -3
- package/src/browser/frontend-module.ts +89 -89
- package/src/browser/git-changes-tool.spec.ts +1 -1
- package/src/browser/github-capability-contribution.ts +1 -1
- package/src/browser/github-chat-agent.ts +3 -3
- package/src/browser/github-repo-variable-contribution.ts +1 -1
- package/src/browser/ide-chat-welcome-message-provider.tsx +3 -3
- package/src/browser/implement-gh-ticket-command-contribution.ts +1 -1
- package/src/browser/memory-capability-contribution.spec.ts +4 -4
- package/src/browser/memory-capability-contribution.ts +5 -3
- package/src/browser/memory-directory-variable-contribution.spec.ts +1 -1
- package/src/browser/memory-directory-variable-contribution.ts +1 -1
- package/src/browser/multi-root-paths.spec.ts +2 -2
- package/src/browser/open-editors-hint-contribution.ts +1 -1
- package/src/browser/remember-command-contribution.ts +2 -2
- package/src/browser/review/pr-review-agent.ts +1 -1
- package/src/browser/review/pr-review-capability-contribution.ts +6 -6
- package/src/browser/review/pr-review-prompt-template.ts +4 -4
- package/src/browser/shell-execution-capability-contribution.ts +1 -1
- package/src/browser/skill-file-functions.spec.ts +1 -1
- package/src/browser/skill-file-functions.ts +1 -1
- package/src/browser/summarize-session-command-contribution.ts +2 -2
- package/src/browser/task-background-summary-variable.ts +1 -1
- package/src/browser/task-context-file-storage-service.spec.ts +1 -1
- package/src/browser/task-context-file-storage-service.ts +1 -1
- package/src/browser/task-context-functions.ts +1 -1
- package/src/browser/template-preference-contribution.ts +1 -1
- package/src/browser/todo-tool-renderer.tsx +1 -1
- package/src/browser/todo-tool.spec.ts +1 -1
- package/src/browser/todo-tool.ts +1 -1
- package/src/browser/user-interaction-tool-renderer.tsx +3 -3
- package/src/browser/user-interaction-tool.spec.ts +3 -3
- package/src/browser/user-interaction-tool.ts +2 -2
- package/src/browser/workspace-functions.spec.ts +16 -7
- package/src/browser/workspace-functions.ts +7 -6
- package/src/browser/workspace-launch-provider.spec.ts +2 -2
- package/src/browser/workspace-launch-provider.ts +2 -2
- package/src/browser/workspace-search-provider.spec.ts +2 -2
- package/src/browser/workspace-search-provider.ts +4 -4
- package/src/browser/workspace-task-provider.spec.ts +2 -2
- package/src/browser/workspace-task-provider.ts +2 -2
- package/src/common/agents-md-prompt-template.ts +4 -4
- package/src/common/coder-replace-prompt-template.ts +8 -8
- package/src/common/command-chat-agents.ts +1 -1
- package/src/common/context-files-variable.ts +1 -1
- package/src/common/create-skill-prompt-template.ts +4 -4
- package/src/common/orchestrator-chat-agent.ts +2 -2
- package/src/common/universal-chat-agent.ts +1 -1
- package/src/common/universal-prompt-template.ts +1 -1
- package/src/common/user-interaction-tool.spec.ts +1 -1
- package/src/common/workspace-search-provider-util.spec.ts +1 -1
- package/src/node/app-tester-agent/browser-automation-impl.ts +1 -1
- package/src/node/backend-module.ts +7 -7
- package/src/node/github-repo-service-impl.ts +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2024 EclipseSource GmbH.
|
|
4
3
|
//
|
|
@@ -14,320 +13,319 @@
|
|
|
14
13
|
//
|
|
15
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
15
|
// *****************************************************************************
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
bind(
|
|
129
|
-
bind(
|
|
130
|
-
bind(
|
|
131
|
-
bind(
|
|
132
|
-
bind(ai_ide_activation_service_1.AIIdeActivationServiceImpl).toSelf().inSingletonScope();
|
|
16
|
+
import '../../src/browser/style/index.css';
|
|
17
|
+
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
18
|
+
import { ChatAgent, ChatAgentRecommendationService } from '@theia/ai-chat/lib/common';
|
|
19
|
+
import { Agent, AIVariableContribution, bindToolProvider } from '@theia/ai-core/lib/common';
|
|
20
|
+
import { ArchitectAgent } from './architect-agent.js';
|
|
21
|
+
import { CoderAgent } from './coder-agent.js';
|
|
22
|
+
import { SummarizeSessionCommandContribution } from './summarize-session-command-contribution.js';
|
|
23
|
+
import { AccessibleRootContribution, FileContentFunction, FileDiagnosticProvider, FindFilesByPattern, GetWorkspaceDirectoryStructure, GetWorkspaceFileList, WorkspaceFunctionScope } from './workspace-functions.js';
|
|
24
|
+
import { WorkspaceSearchProvider } from './workspace-search-provider.js';
|
|
25
|
+
import { MemoryDirectoryVariableContribution } from './memory-directory-variable-contribution.js';
|
|
26
|
+
import { FrontendApplicationContribution, WidgetFactory, bindViewContribution, RemoteConnectionProvider } from '@theia/core/lib/browser';
|
|
27
|
+
import { TaskListProvider, TaskRunnerProvider } from './workspace-task-provider.js';
|
|
28
|
+
import { LaunchListProvider, LaunchRunnerProvider, LaunchStopProvider, } from './workspace-launch-provider.js';
|
|
29
|
+
import { WorkspacePreferencesSchema } from '../common/workspace-preferences.js';
|
|
30
|
+
import { ClearFileChanges, GetProposedFileState, ReplaceContentInFileFunctionHelper, SuggestFileReplacements, SuggestFileReplacements_Simple, SimpleSuggestFileReplacements, SuggestFileContent, WriteFileContent, WriteFileReplacements, WriteFileReplacements_Simple, SimpleWriteFileReplacements, FileChangeSetTitleProvider, DefaultFileChangeSetTitleProvider, ReplaceContentInFileFunctionHelperV2 } from './file-changeset-functions.js';
|
|
31
|
+
import { OrchestratorChatAgent } from '../common/orchestrator-chat-agent.js';
|
|
32
|
+
import { UniversalChatAgent } from '../common/universal-chat-agent.js';
|
|
33
|
+
import { AppTesterChatAgent } from './app-tester-chat-agent.js';
|
|
34
|
+
import { GitHubChatAgent } from './github-chat-agent.js';
|
|
35
|
+
import { CommandChatAgent } from '../common/command-chat-agents.js';
|
|
36
|
+
import { ListChatContext, ResolveChatContext, AddFileToChatContext } from './context-functions.js';
|
|
37
|
+
import { AgentsConfigurationCategory } from './ai-configuration/categories/agents-configuration-category.js';
|
|
38
|
+
import { GeneralConfigurationCategory } from './ai-configuration/categories/general-configuration-category.js';
|
|
39
|
+
import { ModelsConfigurationCategory } from './ai-configuration/categories/models-configuration-category.js';
|
|
40
|
+
import { ModelAliasesConfigurationCategory } from './ai-configuration/categories/model-aliases-configuration-category.js';
|
|
41
|
+
import { VariablesConfigurationCategory } from './ai-configuration/categories/variables-configuration-category.js';
|
|
42
|
+
import { TokenUsageConfigurationCategory } from './ai-configuration/categories/token-usage-configuration-category.js';
|
|
43
|
+
import { ToolsConfigurationCategory } from './ai-configuration/categories/tools-configuration-category.js';
|
|
44
|
+
import { PromptsAndSkillsConfigurationCategory } from './ai-configuration/categories/prompts-and-skills-configuration-category.js';
|
|
45
|
+
import { PromptSnippetsConfigurationCategory } from './ai-configuration/categories/prompt-snippets-configuration-category.js';
|
|
46
|
+
import { AiConfigurationOpenPreferenceRenderer, AiConfigurationOpenPreferenceRendererContribution } from './ai-configuration/ai-configuration-open-preference-renderer.js';
|
|
47
|
+
import { PreferenceNodeRendererContribution } from '@theia/preferences/lib/browser/views/components/preference-node-renderer-creator';
|
|
48
|
+
import { AiConfigurationBreadcrumbsContribution } from './ai-configuration/ai-configuration-breadcrumbs-contribution.js';
|
|
49
|
+
import { BreadcrumbsContribution } from '@theia/core/lib/browser/breadcrumbs/breadcrumbs-constants';
|
|
50
|
+
import { AiConfigurationLabelProviderContribution } from './ai-configuration/ai-configuration-label-provider-contribution.js';
|
|
51
|
+
import { LabelProviderContribution } from '@theia/core/lib/browser/label-provider';
|
|
52
|
+
import { AiConfigurationCategory } from '@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category';
|
|
53
|
+
import { AIConfigurationSelectionService } from './ai-configuration/ai-configuration-service.js';
|
|
54
|
+
import { AIConfigurationViewContribution } from './ai-configuration/ai-configuration-view-contribution.js';
|
|
55
|
+
import { AIConfigurationContainerWidget } from './ai-configuration/ai-configuration-widget.js';
|
|
56
|
+
import { AiConfigurationDetailWidget } from './ai-configuration/ai-configuration-detail-widget.js';
|
|
57
|
+
import { AiConfigurationTreeWidget, createAiConfigurationTreeContainer } from './ai-configuration/ai-configuration-tree-widget.js';
|
|
58
|
+
import { AiConfigurationSearchWidget } from './ai-configuration/ai-configuration-search-widget.js';
|
|
59
|
+
import { ContextFilesVariableContribution } from '../common/context-files-variable.js';
|
|
60
|
+
import { TabBarToolbarContribution } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
|
|
61
|
+
import { TemplatePreferenceContribution } from './template-preference-contribution.js';
|
|
62
|
+
import { ChatWelcomeMessageProvider } from '@theia/ai-chat-ui/lib/browser/chat-tree-view';
|
|
63
|
+
import { WalkthroughProvider } from '@theia/getting-started/lib/common/walkthrough-provider';
|
|
64
|
+
import { IdeChatWelcomeMessageProvider } from './ide-chat-welcome-message-provider.js';
|
|
65
|
+
import { AiGettingStartedWalkthroughProvider } from './ai-getting-started-walkthrough.js';
|
|
66
|
+
import { AiGettingStartedContribution } from './ai-getting-started-contribution.js';
|
|
67
|
+
import { AiWalkthroughContextKeys } from './ai-walkthrough-context-keys.js';
|
|
68
|
+
import { ChatSessionsWelcomeMessageProvider } from './chat-sessions-welcome-message-provider.js';
|
|
69
|
+
import { ChatSessionItemActionContribution, DefaultChatSessionItemActionContribution } from './chat-session-item-action-contribution.js';
|
|
70
|
+
import { AiAllowAllModeChatBanner } from './ai-allow-all-mode-chat-banner.js';
|
|
71
|
+
import { ChatBannerProvider } from '@theia/ai-chat-ui/lib/browser/chat-banner-provider';
|
|
72
|
+
import { DefaultChatAgentRecommendationService } from './default-chat-agent-recommendation-service.js';
|
|
73
|
+
import { TaskContextSummaryVariableContribution } from './task-background-summary-variable.js';
|
|
74
|
+
import { GitHubRepoVariableContribution } from './github-repo-variable-contribution.js';
|
|
75
|
+
import { TaskContextFileStorageService } from './task-context-file-storage-service.js';
|
|
76
|
+
import { TaskContextStorageService } from '@theia/ai-chat/lib/browser/task-context-service';
|
|
77
|
+
import { bindRootContributionProvider, CommandContribution, PreferenceContribution } from '@theia/core';
|
|
78
|
+
import { BrowserAutomation, browserAutomationPath } from '../common/browser-automation-protocol.js';
|
|
79
|
+
import { GitHubRepoService, githubRepoServicePath } from '../common/github-repo-protocol.js';
|
|
80
|
+
import { CloseBrowserProvider, IsBrowserRunningProvider, LaunchBrowserProvider, QueryDomProvider } from './app-tester-chat-functions.js';
|
|
81
|
+
import { GetSkillFileContent, ListSkills } from './skill-file-functions.js';
|
|
82
|
+
import { aiIdePreferenceSchema } from '../common/ai-ide-preferences.js';
|
|
83
|
+
import { AIActivationService } from '@theia/ai-core/lib/browser';
|
|
84
|
+
import { AIIdeActivationServiceImpl } from './ai-ide-activation-service.js';
|
|
85
|
+
import { AiConfigurationPreferences } from '../common/ai-configuration-preferences.js';
|
|
86
|
+
import { WorkspaceRestrictionContribution } from '@theia/workspace/lib/browser/workspace-trust-service';
|
|
87
|
+
import { AIWorkspaceRestrictionContribution } from './ai-workspace-restriction-contribution.js';
|
|
88
|
+
import { AgentsMdAgent } from './agents-md-agent.js';
|
|
89
|
+
import { CreateSkillAgent } from './create-skill-agent.js';
|
|
90
|
+
import { SuggestTerminalCommand } from './ai-terminal-functions.js';
|
|
91
|
+
import { TodoWriteTool } from './todo-tool.js';
|
|
92
|
+
import { TodoToolRenderer } from './todo-tool-renderer.js';
|
|
93
|
+
import { UserInteractionTool } from './user-interaction-tool.js';
|
|
94
|
+
import { UserInteractionToolRenderer } from './user-interaction-tool-renderer.js';
|
|
95
|
+
import { ChatResponsePartRenderer } from '@theia/ai-chat-ui/lib/browser/chat-response-part-renderer';
|
|
96
|
+
import { ContextFileValidationService } from '@theia/ai-chat/lib/browser/context-file-validation-service';
|
|
97
|
+
import { ContextFileValidationServiceImpl } from './context-file-validation-service-impl.js';
|
|
98
|
+
import { RememberCommandContribution } from './remember-command-contribution.js';
|
|
99
|
+
import { CreateTaskContextFunction, GetTaskContextFunction, EditTaskContextFunction, ListTaskContextsFunction, RewriteTaskContextFunction } from './task-context-functions.js';
|
|
100
|
+
import { FixGitHubTicketCommandContribution } from './implement-gh-ticket-command-contribution.js';
|
|
101
|
+
import { AnalyzesGhTicketCommandContribution } from './analyze-gh-ticket-command-contribution.js';
|
|
102
|
+
import { AddressGhReviewCommandContribution } from './address-pr-review-command-contribution.js';
|
|
103
|
+
import { AppTesterCapabilityContribution } from './apptester-capability-contribution.js';
|
|
104
|
+
import { GitHubCapabilityContribution } from './github-capability-contribution.js';
|
|
105
|
+
import { ShellExecutionCapabilityContribution } from './shell-execution-capability-contribution.js';
|
|
106
|
+
import { MemoryCapabilityContribution } from './memory-capability-contribution.js';
|
|
107
|
+
import { OpenEditorsHintContribution } from './open-editors-hint-contribution.js';
|
|
108
|
+
import { AgentModeConfirmationService, AgentModeConfirmationServiceImpl } from './agent-mode-confirmation-service.js';
|
|
109
|
+
import { ExploreAgent } from './explore-agent.js';
|
|
110
|
+
import { CodeReviewerAgent } from './code-reviewer-agent.js';
|
|
111
|
+
import { CodeReviewCapabilityContribution } from './code-review-capability-contribution.js';
|
|
112
|
+
import { PRReviewAgent } from './review/pr-review-agent.js';
|
|
113
|
+
import { PRReviewCapabilityContribution } from './review/pr-review-capability-contribution.js';
|
|
114
|
+
import { PerspectiveContribution } from '@theia/core/lib/browser/perspective-service';
|
|
115
|
+
import { AIFirstPerspectiveContribution } from './ai-first-perspective-contribution.js';
|
|
116
|
+
import { ChatSessionListService } from './chat-session-list-service.js';
|
|
117
|
+
import { AISessionsWidget } from './ai-sessions-widget.js';
|
|
118
|
+
import { AISessionsViewContribution } from './ai-sessions-view-contribution.js';
|
|
119
|
+
import { CommitMessageAgent } from './commit-message-agent.js';
|
|
120
|
+
import { CommitMessageRunner } from './commit-message-runner.js';
|
|
121
|
+
import { CommitMessageCommandContribution } from './commit-message-command-contribution.js';
|
|
122
|
+
import { GetGitChangesTool } from './git-changes-tool.js';
|
|
123
|
+
import { AiAwareScmCommitWidget } from './ai-aware-scm-commit-widget.js';
|
|
124
|
+
import { ScmCommitWidget } from '@theia/scm/lib/browser/scm-commit-widget';
|
|
125
|
+
export default new ContainerModule((bind, _unbind, _isBound, rebind) => {
|
|
126
|
+
bind(PreferenceContribution).toConstantValue({ schema: aiIdePreferenceSchema });
|
|
127
|
+
bind(PreferenceContribution).toConstantValue({ schema: WorkspacePreferencesSchema });
|
|
128
|
+
bind(AgentModeConfirmationServiceImpl).toSelf().inSingletonScope();
|
|
129
|
+
bind(AgentModeConfirmationService).toService(AgentModeConfirmationServiceImpl);
|
|
130
|
+
bind(AIIdeActivationServiceImpl).toSelf().inSingletonScope();
|
|
133
131
|
// rebinds the default implementation of '@theia/ai-core'
|
|
134
|
-
rebind(
|
|
135
|
-
bind(
|
|
136
|
-
bind(
|
|
137
|
-
bind(
|
|
138
|
-
bind(
|
|
139
|
-
bind(
|
|
140
|
-
bind(
|
|
141
|
-
bind(
|
|
142
|
-
bind(
|
|
143
|
-
bind(
|
|
144
|
-
bind(
|
|
145
|
-
bind(
|
|
146
|
-
bind(
|
|
147
|
-
bind(
|
|
148
|
-
bind(
|
|
149
|
-
bind(
|
|
150
|
-
bind(
|
|
151
|
-
bind(
|
|
152
|
-
bind(
|
|
153
|
-
bind(
|
|
154
|
-
bind(
|
|
155
|
-
bind(
|
|
156
|
-
bind(
|
|
157
|
-
bind(
|
|
158
|
-
bind(
|
|
159
|
-
bind(
|
|
160
|
-
bind(
|
|
161
|
-
bind(
|
|
162
|
-
const provider = ctx.container.get(
|
|
163
|
-
return provider.createProxy(
|
|
132
|
+
rebind(AIActivationService).toService(AIIdeActivationServiceImpl);
|
|
133
|
+
bind(AIWorkspaceRestrictionContribution).toSelf().inSingletonScope();
|
|
134
|
+
bind(WorkspaceRestrictionContribution).toService(AIWorkspaceRestrictionContribution);
|
|
135
|
+
bind(ArchitectAgent).toSelf().inSingletonScope();
|
|
136
|
+
bind(Agent).toService(ArchitectAgent);
|
|
137
|
+
bind(ChatAgent).toService(ArchitectAgent);
|
|
138
|
+
bind(CoderAgent).toSelf().inSingletonScope();
|
|
139
|
+
bind(Agent).toService(CoderAgent);
|
|
140
|
+
bind(ChatAgent).toService(CoderAgent);
|
|
141
|
+
bind(AgentsMdAgent).toSelf().inSingletonScope();
|
|
142
|
+
bind(Agent).toService(AgentsMdAgent);
|
|
143
|
+
bind(ChatAgent).toService(AgentsMdAgent);
|
|
144
|
+
bind(CreateSkillAgent).toSelf().inSingletonScope();
|
|
145
|
+
bind(Agent).toService(CreateSkillAgent);
|
|
146
|
+
bind(ChatAgent).toService(CreateSkillAgent);
|
|
147
|
+
bind(OrchestratorChatAgent).toSelf().inSingletonScope();
|
|
148
|
+
bind(Agent).toService(OrchestratorChatAgent);
|
|
149
|
+
bind(ChatAgent).toService(OrchestratorChatAgent);
|
|
150
|
+
bind(UniversalChatAgent).toSelf().inSingletonScope();
|
|
151
|
+
bind(Agent).toService(UniversalChatAgent);
|
|
152
|
+
bind(ChatAgent).toService(UniversalChatAgent);
|
|
153
|
+
bind(AppTesterChatAgent).toSelf().inSingletonScope();
|
|
154
|
+
bind(Agent).toService(AppTesterChatAgent);
|
|
155
|
+
bind(ChatAgent).toService(AppTesterChatAgent);
|
|
156
|
+
bind(GitHubChatAgent).toSelf().inSingletonScope();
|
|
157
|
+
bind(Agent).toService(GitHubChatAgent);
|
|
158
|
+
bind(ChatAgent).toService(GitHubChatAgent);
|
|
159
|
+
bind(BrowserAutomation).toDynamicValue(ctx => {
|
|
160
|
+
const provider = ctx.container.get(RemoteConnectionProvider);
|
|
161
|
+
return provider.createProxy(browserAutomationPath);
|
|
164
162
|
}).inSingletonScope();
|
|
165
|
-
bind(
|
|
166
|
-
bind(
|
|
167
|
-
bind(
|
|
168
|
-
bind(
|
|
169
|
-
bind(
|
|
170
|
-
bind(
|
|
171
|
-
bind(
|
|
172
|
-
bind(
|
|
173
|
-
bind(
|
|
174
|
-
bind(
|
|
175
|
-
bind(
|
|
176
|
-
bind(
|
|
177
|
-
bind(
|
|
178
|
-
bind(
|
|
179
|
-
bind(
|
|
180
|
-
bind(
|
|
181
|
-
bind(
|
|
182
|
-
bind(
|
|
183
|
-
bind(
|
|
184
|
-
bind(
|
|
185
|
-
|
|
186
|
-
bind(
|
|
187
|
-
bind(
|
|
188
|
-
bind(
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
bind(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
bind(
|
|
200
|
-
bind(
|
|
201
|
-
bind(
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
bind(
|
|
210
|
-
bind(
|
|
211
|
-
bind(
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
bind(
|
|
163
|
+
bind(CommandChatAgent).toSelf().inSingletonScope();
|
|
164
|
+
bind(Agent).toService(CommandChatAgent);
|
|
165
|
+
bind(ChatAgent).toService(CommandChatAgent);
|
|
166
|
+
bind(ExploreAgent).toSelf().inSingletonScope();
|
|
167
|
+
bind(Agent).toService(ExploreAgent);
|
|
168
|
+
bind(ChatAgent).toService(ExploreAgent);
|
|
169
|
+
bind(CodeReviewerAgent).toSelf().inSingletonScope();
|
|
170
|
+
bind(Agent).toService(CodeReviewerAgent);
|
|
171
|
+
bind(ChatAgent).toService(CodeReviewerAgent);
|
|
172
|
+
bind(PRReviewAgent).toSelf().inSingletonScope();
|
|
173
|
+
bind(Agent).toService(PRReviewAgent);
|
|
174
|
+
bind(ChatAgent).toService(PRReviewAgent);
|
|
175
|
+
bind(ChatSessionListService).toSelf().inSingletonScope();
|
|
176
|
+
bind(WalkthroughProvider).to(AiGettingStartedWalkthroughProvider).inSingletonScope();
|
|
177
|
+
bind(CommandContribution).to(AiGettingStartedContribution).inSingletonScope();
|
|
178
|
+
bind(AiWalkthroughContextKeys).toSelf().inSingletonScope();
|
|
179
|
+
bind(FrontendApplicationContribution).toService(AiWalkthroughContextKeys);
|
|
180
|
+
bind(ChatWelcomeMessageProvider).to(IdeChatWelcomeMessageProvider).inSingletonScope();
|
|
181
|
+
bind(ChatWelcomeMessageProvider).to(ChatSessionsWelcomeMessageProvider).inSingletonScope();
|
|
182
|
+
bind(ChatBannerProvider).to(AiAllowAllModeChatBanner).inSingletonScope();
|
|
183
|
+
bindRootContributionProvider(bind, ChatSessionItemActionContribution);
|
|
184
|
+
bind(DefaultChatSessionItemActionContribution).toSelf().inSingletonScope();
|
|
185
|
+
bind(ChatSessionItemActionContribution).toService(DefaultChatSessionItemActionContribution);
|
|
186
|
+
bind(ChatAgentRecommendationService).to(DefaultChatAgentRecommendationService).inSingletonScope();
|
|
187
|
+
bindToolProvider(GetWorkspaceFileList, bind);
|
|
188
|
+
bindToolProvider(FileContentFunction, bind);
|
|
189
|
+
bindToolProvider(GetWorkspaceDirectoryStructure, bind);
|
|
190
|
+
bindToolProvider(FileDiagnosticProvider, bind);
|
|
191
|
+
bindToolProvider(FindFilesByPattern, bind);
|
|
192
|
+
bindToolProvider(GetSkillFileContent, bind);
|
|
193
|
+
bindToolProvider(ListSkills, bind);
|
|
194
|
+
bind(WorkspaceFunctionScope).toSelf().inSingletonScope();
|
|
195
|
+
bindToolProvider(WorkspaceSearchProvider, bind);
|
|
196
|
+
bindRootContributionProvider(bind, AccessibleRootContribution);
|
|
197
|
+
bind(MemoryDirectoryVariableContribution).toSelf().inSingletonScope();
|
|
198
|
+
bind(AIVariableContribution).toService(MemoryDirectoryVariableContribution);
|
|
199
|
+
bind(AccessibleRootContribution).toService(MemoryDirectoryVariableContribution);
|
|
200
|
+
bindToolProvider(SuggestFileContent, bind);
|
|
201
|
+
bindToolProvider(WriteFileContent, bind);
|
|
202
|
+
bindToolProvider(TaskListProvider, bind);
|
|
203
|
+
bindToolProvider(TaskRunnerProvider, bind);
|
|
204
|
+
bindToolProvider(LaunchListProvider, bind);
|
|
205
|
+
bindToolProvider(LaunchRunnerProvider, bind);
|
|
206
|
+
bindToolProvider(LaunchStopProvider, bind);
|
|
207
|
+
bind(ReplaceContentInFileFunctionHelper).toSelf().inSingletonScope();
|
|
208
|
+
bind(FileChangeSetTitleProvider).to(DefaultFileChangeSetTitleProvider).inSingletonScope();
|
|
209
|
+
bind(ReplaceContentInFileFunctionHelperV2).toSelf().inSingletonScope();
|
|
210
|
+
bindToolProvider(SuggestFileReplacements, bind);
|
|
211
|
+
bindToolProvider(SuggestFileReplacements_Simple, bind);
|
|
212
|
+
bindToolProvider(WriteFileReplacements, bind);
|
|
213
|
+
bindToolProvider(WriteFileReplacements_Simple, bind);
|
|
214
|
+
bindToolProvider(ListChatContext, bind);
|
|
215
|
+
bindToolProvider(ResolveChatContext, bind);
|
|
216
|
+
bind(AIConfigurationSelectionService).toSelf().inSingletonScope();
|
|
219
217
|
// The container widget owns these children and disposes them when the view is closed. They must
|
|
220
218
|
// therefore be transient: a reopened container gets fresh children instead of injecting the
|
|
221
219
|
// already-disposed singletons from the previous instance (which rendered an empty view and logged
|
|
222
220
|
// "node does not belong to this tree" errors on layout restore).
|
|
223
|
-
bind(
|
|
224
|
-
bind(
|
|
225
|
-
bind(
|
|
226
|
-
.toDynamicValue(({ container }) =>
|
|
227
|
-
bind(
|
|
228
|
-
bind(
|
|
221
|
+
bind(AiConfigurationSearchWidget).toSelf();
|
|
222
|
+
bind(AiConfigurationDetailWidget).toSelf();
|
|
223
|
+
bind(AiConfigurationTreeWidget)
|
|
224
|
+
.toDynamicValue(({ container }) => createAiConfigurationTreeContainer(container).get(AiConfigurationTreeWidget));
|
|
225
|
+
bind(AIConfigurationContainerWidget).toSelf();
|
|
226
|
+
bind(WidgetFactory)
|
|
229
227
|
.toDynamicValue(ctx => ({
|
|
230
|
-
id:
|
|
231
|
-
createWidget: () => ctx.container.get(
|
|
228
|
+
id: AIConfigurationContainerWidget.ID,
|
|
229
|
+
createWidget: () => ctx.container.get(AIConfigurationContainerWidget)
|
|
232
230
|
}))
|
|
233
231
|
.inSingletonScope();
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
bind(
|
|
240
|
-
bind(
|
|
241
|
-
bind(
|
|
242
|
-
bind(
|
|
243
|
-
bind(
|
|
244
|
-
bind(
|
|
245
|
-
bind(
|
|
246
|
-
bind(
|
|
247
|
-
bind(
|
|
248
|
-
bind(
|
|
249
|
-
bind(
|
|
250
|
-
bind(
|
|
251
|
-
bind(
|
|
252
|
-
bind(
|
|
253
|
-
bind(
|
|
254
|
-
bind(
|
|
255
|
-
bind(
|
|
256
|
-
bind(
|
|
257
|
-
bind(
|
|
232
|
+
bindToolProvider(LaunchBrowserProvider, bind);
|
|
233
|
+
bindToolProvider(CloseBrowserProvider, bind);
|
|
234
|
+
bindToolProvider(IsBrowserRunningProvider, bind);
|
|
235
|
+
bindToolProvider(QueryDomProvider, bind);
|
|
236
|
+
bindViewContribution(bind, AIConfigurationViewContribution);
|
|
237
|
+
bind(TabBarToolbarContribution).toService(AIConfigurationViewContribution);
|
|
238
|
+
bind(AgentsConfigurationCategory).toSelf().inSingletonScope();
|
|
239
|
+
bind(AiConfigurationCategory).toService(AgentsConfigurationCategory);
|
|
240
|
+
bind(GeneralConfigurationCategory).toSelf().inSingletonScope();
|
|
241
|
+
bind(AiConfigurationCategory).toService(GeneralConfigurationCategory);
|
|
242
|
+
bind(ModelsConfigurationCategory).toSelf().inSingletonScope();
|
|
243
|
+
bind(AiConfigurationCategory).toService(ModelsConfigurationCategory);
|
|
244
|
+
bind(ModelAliasesConfigurationCategory).toSelf().inSingletonScope();
|
|
245
|
+
bind(AiConfigurationCategory).toService(ModelAliasesConfigurationCategory);
|
|
246
|
+
bind(VariablesConfigurationCategory).toSelf().inSingletonScope();
|
|
247
|
+
bind(AiConfigurationCategory).toService(VariablesConfigurationCategory);
|
|
248
|
+
bind(TokenUsageConfigurationCategory).toSelf().inSingletonScope();
|
|
249
|
+
bind(AiConfigurationCategory).toService(TokenUsageConfigurationCategory);
|
|
250
|
+
bind(ToolsConfigurationCategory).toSelf().inSingletonScope();
|
|
251
|
+
bind(AiConfigurationCategory).toService(ToolsConfigurationCategory);
|
|
252
|
+
bind(PromptsAndSkillsConfigurationCategory).toSelf().inSingletonScope();
|
|
253
|
+
bind(AiConfigurationCategory).toService(PromptsAndSkillsConfigurationCategory);
|
|
254
|
+
bind(PromptSnippetsConfigurationCategory).toSelf().inSingletonScope();
|
|
255
|
+
bind(AiConfigurationCategory).toService(PromptSnippetsConfigurationCategory);
|
|
258
256
|
// Renders the Settings-UI "AI Features" placeholder as a button that opens the AI Configuration view (#316).
|
|
259
|
-
bind(
|
|
260
|
-
bind(
|
|
257
|
+
bind(AiConfigurationOpenPreferenceRenderer).toSelf();
|
|
258
|
+
bind(PreferenceNodeRendererContribution).to(AiConfigurationOpenPreferenceRendererContribution).inSingletonScope();
|
|
261
259
|
// Real Theia breadcrumbs for the AI Configuration view.
|
|
262
|
-
bind(
|
|
263
|
-
bind(
|
|
260
|
+
bind(AiConfigurationBreadcrumbsContribution).toSelf().inSingletonScope();
|
|
261
|
+
bind(BreadcrumbsContribution).toService(AiConfigurationBreadcrumbsContribution);
|
|
264
262
|
// Give the view's resource URI a readable name (window title, breadcrumbs) instead of "/".
|
|
265
|
-
bind(
|
|
266
|
-
bind(
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
bind(
|
|
273
|
-
bind(
|
|
274
|
-
bind(
|
|
275
|
-
bind(
|
|
276
|
-
bind(
|
|
277
|
-
bind(
|
|
278
|
-
const provider = ctx.container.get(
|
|
279
|
-
return provider.createProxy(
|
|
263
|
+
bind(AiConfigurationLabelProviderContribution).toSelf().inSingletonScope();
|
|
264
|
+
bind(LabelProviderContribution).toService(AiConfigurationLabelProviderContribution);
|
|
265
|
+
bindToolProvider(SimpleSuggestFileReplacements, bind);
|
|
266
|
+
bindToolProvider(SimpleWriteFileReplacements, bind);
|
|
267
|
+
bindToolProvider(ClearFileChanges, bind);
|
|
268
|
+
bindToolProvider(GetProposedFileState, bind);
|
|
269
|
+
bindToolProvider(AddFileToChatContext, bind);
|
|
270
|
+
bind(AIVariableContribution).to(ContextFilesVariableContribution).inSingletonScope();
|
|
271
|
+
bind(PreferenceContribution).toConstantValue({ schema: AiConfigurationPreferences });
|
|
272
|
+
bind(FrontendApplicationContribution).to(TemplatePreferenceContribution);
|
|
273
|
+
bind(TaskContextSummaryVariableContribution).toSelf().inSingletonScope();
|
|
274
|
+
bind(AIVariableContribution).toService(TaskContextSummaryVariableContribution);
|
|
275
|
+
bind(GitHubRepoService).toDynamicValue(ctx => {
|
|
276
|
+
const provider = ctx.container.get(RemoteConnectionProvider);
|
|
277
|
+
return provider.createProxy(githubRepoServicePath);
|
|
280
278
|
}).inSingletonScope();
|
|
281
|
-
bind(
|
|
282
|
-
bind(
|
|
283
|
-
bind(
|
|
284
|
-
rebind(
|
|
285
|
-
bind(
|
|
286
|
-
|
|
279
|
+
bind(GitHubRepoVariableContribution).toSelf().inSingletonScope();
|
|
280
|
+
bind(AIVariableContribution).toService(GitHubRepoVariableContribution);
|
|
281
|
+
bind(TaskContextFileStorageService).toSelf().inSingletonScope();
|
|
282
|
+
rebind(TaskContextStorageService).toService(TaskContextFileStorageService);
|
|
283
|
+
bind(CommandContribution).to(SummarizeSessionCommandContribution);
|
|
284
|
+
bindToolProvider(SuggestTerminalCommand, bind);
|
|
287
285
|
// Task context functions for Architect planning mode
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
bind(
|
|
296
|
-
bind(
|
|
297
|
-
bind(
|
|
298
|
-
bind(
|
|
299
|
-
bind(
|
|
300
|
-
bind(
|
|
301
|
-
bind(
|
|
302
|
-
bind(
|
|
303
|
-
bind(
|
|
304
|
-
bind(
|
|
305
|
-
bind(
|
|
306
|
-
bind(
|
|
307
|
-
bind(
|
|
308
|
-
bind(
|
|
309
|
-
bind(
|
|
310
|
-
bind(
|
|
311
|
-
bind(
|
|
312
|
-
bind(
|
|
313
|
-
bind(
|
|
286
|
+
bindToolProvider(CreateTaskContextFunction, bind);
|
|
287
|
+
bindToolProvider(GetTaskContextFunction, bind);
|
|
288
|
+
bindToolProvider(EditTaskContextFunction, bind);
|
|
289
|
+
bindToolProvider(ListTaskContextsFunction, bind);
|
|
290
|
+
bindToolProvider(RewriteTaskContextFunction, bind);
|
|
291
|
+
bindToolProvider(TodoWriteTool, bind);
|
|
292
|
+
bindToolProvider(UserInteractionTool, bind);
|
|
293
|
+
bind(ChatResponsePartRenderer).to(TodoToolRenderer).inSingletonScope();
|
|
294
|
+
bind(ChatResponsePartRenderer).to(UserInteractionToolRenderer).inSingletonScope();
|
|
295
|
+
bind(ContextFileValidationServiceImpl).toSelf().inSingletonScope();
|
|
296
|
+
bind(ContextFileValidationService).toService(ContextFileValidationServiceImpl);
|
|
297
|
+
bind(FrontendApplicationContribution).to(RememberCommandContribution);
|
|
298
|
+
bind(FrontendApplicationContribution).to(FixGitHubTicketCommandContribution);
|
|
299
|
+
bind(FrontendApplicationContribution).to(AddressGhReviewCommandContribution);
|
|
300
|
+
bind(FrontendApplicationContribution).to(AnalyzesGhTicketCommandContribution);
|
|
301
|
+
bind(FrontendApplicationContribution).to(AppTesterCapabilityContribution);
|
|
302
|
+
bind(FrontendApplicationContribution).to(GitHubCapabilityContribution);
|
|
303
|
+
bind(FrontendApplicationContribution).to(ShellExecutionCapabilityContribution);
|
|
304
|
+
bind(FrontendApplicationContribution).to(MemoryCapabilityContribution);
|
|
305
|
+
bind(FrontendApplicationContribution).to(OpenEditorsHintContribution);
|
|
306
|
+
bind(FrontendApplicationContribution).to(CodeReviewCapabilityContribution);
|
|
307
|
+
bind(FrontendApplicationContribution).to(PRReviewCapabilityContribution);
|
|
308
|
+
bind(AIFirstPerspectiveContribution).toSelf().inSingletonScope();
|
|
309
|
+
bind(PerspectiveContribution).toService(AIFirstPerspectiveContribution);
|
|
310
|
+
bind(AISessionsWidget).toSelf();
|
|
311
|
+
bind(WidgetFactory)
|
|
314
312
|
.toDynamicValue(ctx => ({
|
|
315
|
-
id:
|
|
316
|
-
createWidget: () => ctx.container.get(
|
|
313
|
+
id: AISessionsWidget.ID,
|
|
314
|
+
createWidget: () => ctx.container.get(AISessionsWidget)
|
|
317
315
|
}))
|
|
318
316
|
.inSingletonScope();
|
|
319
|
-
|
|
320
|
-
bind(
|
|
317
|
+
bindViewContribution(bind, AISessionsViewContribution);
|
|
318
|
+
bind(TabBarToolbarContribution).toService(AISessionsViewContribution);
|
|
321
319
|
// CommitMessageAgent is a plain (non-chat) `Agent`: it is driven exclusively from the SCM
|
|
322
320
|
// commit widget via `CommitMessageRunner`, so it does not appear in chat `@`-mention
|
|
323
321
|
// completion or the chat agent list. The `Agent` binding registers its prompt fragments
|
|
324
322
|
// with the prompt service.
|
|
325
|
-
bind(
|
|
326
|
-
bind(
|
|
327
|
-
|
|
328
|
-
bind(
|
|
329
|
-
bind(
|
|
330
|
-
bind(
|
|
331
|
-
rebind(
|
|
323
|
+
bind(CommitMessageAgent).toSelf().inSingletonScope();
|
|
324
|
+
bind(Agent).toService(CommitMessageAgent);
|
|
325
|
+
bindToolProvider(GetGitChangesTool, bind);
|
|
326
|
+
bind(CommitMessageRunner).toSelf().inSingletonScope();
|
|
327
|
+
bind(CommitMessageCommandContribution).toSelf().inSingletonScope();
|
|
328
|
+
bind(CommandContribution).toService(CommitMessageCommandContribution);
|
|
329
|
+
rebind(ScmCommitWidget).to(AiAwareScmCommitWidget);
|
|
332
330
|
});
|
|
333
331
|
//# sourceMappingURL=frontend-module.js.map
|