@theia/ai-ide 1.77.0-next.95 → 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.d.ts.map +1 -1
- package/lib/browser/open-editors-hint-contribution.js +11 -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 +2 -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
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
import { AGENTS_MD_PROMPT_FRAGMENT_ID, PromptVariantSet } from '@theia/ai-core/lib/common';
|
|
18
18
|
import {
|
|
19
19
|
GET_WORKSPACE_FILE_LIST_FUNCTION_ID, FILE_CONTENT_FUNCTION_ID, SEARCH_IN_WORKSPACE_FUNCTION_ID, FIND_FILES_BY_PATTERN_FUNCTION_ID
|
|
20
|
-
} from '../common/workspace-functions';
|
|
21
|
-
import { CONTEXT_FILES_VARIABLE_ID, TASK_CONTEXT_SUMMARY_VARIABLE_ID } from '../common/context-variables';
|
|
22
|
-
import { OPEN_EDITORS_HINT_FRAGMENT_ID } from '../common/open-editors-hint-fragment-id';
|
|
20
|
+
} from '../common/workspace-functions.js';
|
|
21
|
+
import { CONTEXT_FILES_VARIABLE_ID, TASK_CONTEXT_SUMMARY_VARIABLE_ID } from '../common/context-variables.js';
|
|
22
|
+
import { OPEN_EDITORS_HINT_FRAGMENT_ID } from '../common/open-editors-hint-fragment-id.js';
|
|
23
23
|
import {
|
|
24
24
|
CREATE_TASK_CONTEXT_FUNCTION_ID,
|
|
25
25
|
GET_TASK_CONTEXT_FUNCTION_ID,
|
|
26
26
|
EDIT_TASK_CONTEXT_FUNCTION_ID,
|
|
27
27
|
LIST_TASK_CONTEXTS_FUNCTION_ID,
|
|
28
28
|
REWRITE_TASK_CONTEXT_FUNCTION_ID
|
|
29
|
-
} from '../common/task-context-function-ids';
|
|
30
|
-
import { CoderAgentId } from './coder-agent';
|
|
31
|
-
import { ExploreAgentId } from './explore-agent';
|
|
29
|
+
} from '../common/task-context-function-ids.js';
|
|
30
|
+
import { CoderAgentId } from './coder-agent.js';
|
|
31
|
+
import { ExploreAgentId } from './explore-agent.js';
|
|
32
32
|
|
|
33
33
|
export const ARCHITECT_PLANNING_PROMPT_ID = 'architect-system-plan';
|
|
34
34
|
export const ARCHITECT_SIMPLE_PROMPT_ID = 'architect-system-simple';
|
|
@@ -22,8 +22,8 @@ import { buttonKeyboardProps, codicon, HoverService, isActivationKey } from '@th
|
|
|
22
22
|
import { MarkdownRenderer } from '@theia/core/lib/browser/markdown-rendering/markdown-renderer';
|
|
23
23
|
import { nls } from '@theia/core/lib/common/nls';
|
|
24
24
|
import * as React from '@theia/core/shared/react';
|
|
25
|
-
import { ChatSessionItemAction } from './chat-session-item-action-contribution';
|
|
26
|
-
import { buildRestoredSessionTooltip, buildSessionTooltip } from './chat-session-tooltip';
|
|
25
|
+
import { ChatSessionItemAction } from './chat-session-item-action-contribution.js';
|
|
26
|
+
import { buildRestoredSessionTooltip, buildSessionTooltip } from './chat-session-tooltip.js';
|
|
27
27
|
|
|
28
28
|
/** Minimal view of the unread state that React components can subscribe to. */
|
|
29
29
|
export interface UnreadStateProvider {
|
|
@@ -23,8 +23,8 @@ import { Emitter } from '@theia/core';
|
|
|
23
23
|
import { ChatAgentLocation, ChatService, ChatSession, ChatSessionMetadata, ChatSessionStatus } from '@theia/ai-chat';
|
|
24
24
|
import { ChatViewWidget } from '@theia/ai-chat-ui/lib/browser/chat-view-widget';
|
|
25
25
|
import { ApplicationShell, Widget } from '@theia/core/lib/browser';
|
|
26
|
-
import { ChatSessionListService } from './chat-session-list-service';
|
|
27
|
-
import { SectionedSessions, SessionRow, computeVisibleSessionSlots } from './chat-session-list-components';
|
|
26
|
+
import { ChatSessionListService } from './chat-session-list-service.js';
|
|
27
|
+
import { SectionedSessions, SessionRow, computeVisibleSessionSlots } from './chat-session-list-components.js';
|
|
28
28
|
disableJSDOM();
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -20,8 +20,8 @@ import { ChatViewWidget } from '@theia/ai-chat-ui/lib/browser/chat-view-widget';
|
|
|
20
20
|
import { DisposableCollection, Emitter, Event, ILogger, PreferenceService } from '@theia/core';
|
|
21
21
|
import { ApplicationShell } from '@theia/core/lib/browser';
|
|
22
22
|
import { inject, injectable, named, postConstruct } from '@theia/core/shared/inversify';
|
|
23
|
-
import { UnreadStateProvider } from './chat-session-item';
|
|
24
|
-
import { SectionedSessions, SessionRow, parentIdOf } from './chat-session-list-components';
|
|
23
|
+
import { UnreadStateProvider } from './chat-session-item.js';
|
|
24
|
+
import { SectionedSessions, SessionRow, parentIdOf } from './chat-session-list-components.js';
|
|
25
25
|
|
|
26
26
|
@injectable()
|
|
27
27
|
export class ChatSessionListService implements UnreadStateProvider {
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
} from '@theia/ai-chat';
|
|
22
22
|
import { BYPASS_MODEL_REQUIREMENT_PREF, WELCOME_SCREEN_SESSIONS_PREF } from '@theia/ai-chat/lib/common/ai-chat-preferences';
|
|
23
23
|
import { AI_CHAT_SHOW_CHATS_COMMAND } from '@theia/ai-chat-ui/lib/browser/chat-view-commands';
|
|
24
|
-
import { ChatSessionItemAction, ChatSessionItemActionContribution } from './chat-session-item-action-contribution';
|
|
25
|
-
import { ChatSessionListService } from './chat-session-list-service';
|
|
26
|
-
import { SectionedSessions, SessionRow, SessionsList } from './chat-session-list-components';
|
|
27
|
-
import { ChatSessionItem } from './chat-session-item';
|
|
24
|
+
import { ChatSessionItemAction, ChatSessionItemActionContribution } from './chat-session-item-action-contribution.js';
|
|
25
|
+
import { ChatSessionListService } from './chat-session-list-service.js';
|
|
26
|
+
import { SectionedSessions, SessionRow, SessionsList } from './chat-session-list-components.js';
|
|
27
|
+
import { ChatSessionItem } from './chat-session-item.js';
|
|
28
28
|
import { FrontendLanguageModelRegistry } from '@theia/ai-core/lib/common';
|
|
29
29
|
import { CommandRegistry, ContributionProvider, Emitter, Event, PreferenceService } from '@theia/core';
|
|
30
30
|
import { ApplicationShell, HoverService } from '@theia/core/lib/browser';
|
|
31
|
-
import { AISessionsWidget } from './ai-sessions-widget';
|
|
31
|
+
import { AISessionsWidget } from './ai-sessions-widget.js';
|
|
32
32
|
import { MarkdownRenderer, MarkdownRendererFactory } from '@theia/core/lib/browser/markdown-rendering/markdown-renderer';
|
|
33
33
|
import { inject, injectable, named, postConstruct } from '@theia/core/shared/inversify';
|
|
34
34
|
import * as React from '@theia/core/shared/react';
|
|
@@ -18,7 +18,7 @@ import { FrontendApplicationContribution } from '@theia/core/lib/browser';
|
|
|
18
18
|
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
19
19
|
import { PromptService } from '@theia/ai-core';
|
|
20
20
|
import { nls } from '@theia/core';
|
|
21
|
-
import { CodeReviewerAgentId } from './code-reviewer-agent';
|
|
21
|
+
import { CodeReviewerAgentId } from './code-reviewer-agent.js';
|
|
22
22
|
|
|
23
23
|
@injectable()
|
|
24
24
|
export class CodeReviewCapabilityContribution implements FrontendApplicationContribution {
|
|
@@ -18,7 +18,7 @@ import { AbstractStreamParsingChatAgent } from '@theia/ai-chat/lib/common/chat-a
|
|
|
18
18
|
import { LanguageModelRequirement } from '@theia/ai-core/lib/common';
|
|
19
19
|
import { ILogger, nls } from '@theia/core';
|
|
20
20
|
import { inject, injectable, named } from '@theia/core/shared/inversify';
|
|
21
|
-
import { codeReviewerSystemPrompt, CODE_REVIEWER_SYSTEM_PROMPT_ID } from './code-reviewer-prompt-template';
|
|
21
|
+
import { codeReviewerSystemPrompt, CODE_REVIEWER_SYSTEM_PROMPT_ID } from './code-reviewer-prompt-template.js';
|
|
22
22
|
|
|
23
23
|
export const CodeReviewerAgentId = 'code-reviewer';
|
|
24
24
|
|
|
@@ -26,14 +26,14 @@ import {
|
|
|
26
26
|
getCoderAgentModePromptTemplate,
|
|
27
27
|
getCoderAgentModeNextPromptTemplate,
|
|
28
28
|
getCoderPromptTemplateEdit
|
|
29
|
-
} from '../common/coder-replace-prompt-template';
|
|
29
|
+
} from '../common/coder-replace-prompt-template.js';
|
|
30
30
|
import { LanguageModelRequirement, PromptVariantSet } from '@theia/ai-core';
|
|
31
31
|
import { ILogger, nls } from '@theia/core';
|
|
32
32
|
import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider';
|
|
33
33
|
import { MarkdownStringImpl } from '@theia/core/lib/common/markdown-rendering';
|
|
34
34
|
import { AI_CHAT_HOME, ChatCommands } from '@theia/ai-chat-ui/lib/browser/chat-view-commands';
|
|
35
|
-
import { AbstractModeAwareChatAgent } from './mode-aware-chat-agent';
|
|
36
|
-
import { AgentModeConfirmationService } from './agent-mode-confirmation-service';
|
|
35
|
+
import { AbstractModeAwareChatAgent } from './mode-aware-chat-agent.js';
|
|
36
|
+
import { AgentModeConfirmationService } from './agent-mode-confirmation-service.js';
|
|
37
37
|
|
|
38
38
|
export const CoderAgentId = 'Coder';
|
|
39
39
|
|
|
@@ -18,8 +18,8 @@ import { expect } from 'chai';
|
|
|
18
18
|
import * as sinon from 'sinon';
|
|
19
19
|
import { Container } from '@theia/core/shared/inversify';
|
|
20
20
|
import { LanguageModel, LanguageModelRegistry, LanguageModelService, PromptService, UserRequest } from '@theia/ai-core';
|
|
21
|
-
import { CommitMessageAgent } from './commit-message-agent';
|
|
22
|
-
import { COMMIT_MESSAGE_SYSTEM_PROMPT_ID, COMMIT_MESSAGE_USER_PROMPT_ID } from './commit-message-prompt-template';
|
|
21
|
+
import { CommitMessageAgent } from './commit-message-agent.js';
|
|
22
|
+
import { COMMIT_MESSAGE_SYSTEM_PROMPT_ID, COMMIT_MESSAGE_USER_PROMPT_ID } from './commit-message-prompt-template.js';
|
|
23
23
|
|
|
24
24
|
describe('CommitMessageAgent', () => {
|
|
25
25
|
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import { generateUuid, nls } from '@theia/core';
|
|
27
27
|
import { CancellationToken } from '@theia/core/lib/common/cancellation';
|
|
28
28
|
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
29
|
-
import { commitMessagePrompts, COMMIT_MESSAGE_SYSTEM_PROMPT_ID, COMMIT_MESSAGE_USER_PROMPT_ID } from './commit-message-prompt-template';
|
|
29
|
+
import { commitMessagePrompts, COMMIT_MESSAGE_SYSTEM_PROMPT_ID, COMMIT_MESSAGE_USER_PROMPT_ID } from './commit-message-prompt-template.js';
|
|
30
30
|
|
|
31
31
|
export const COMMIT_MESSAGE_AGENT_ID = 'Commit Message';
|
|
32
32
|
|
|
@@ -19,9 +19,9 @@ import { inject, injectable } from '@theia/core/shared/inversify';
|
|
|
19
19
|
import { AgentService } from '@theia/ai-core/lib/common';
|
|
20
20
|
import { AICommandHandlerFactory } from '@theia/ai-core/lib/browser';
|
|
21
21
|
import { ScmService } from '@theia/scm/lib/browser/scm-service';
|
|
22
|
-
import { COMMIT_MESSAGE_AGENT_ID } from './commit-message-agent';
|
|
23
|
-
import { CommitMessageCommands } from './commit-message-commands';
|
|
24
|
-
import { CommitMessageRunner } from './commit-message-runner';
|
|
22
|
+
import { COMMIT_MESSAGE_AGENT_ID } from './commit-message-agent.js';
|
|
23
|
+
import { CommitMessageCommands } from './commit-message-commands.js';
|
|
24
|
+
import { CommitMessageRunner } from './commit-message-runner.js';
|
|
25
25
|
|
|
26
26
|
@injectable()
|
|
27
27
|
export class CommitMessageCommandContribution implements CommandContribution {
|
|
@@ -26,9 +26,9 @@ import { CancellationToken, ILogger, MessageService } from '@theia/core';
|
|
|
26
26
|
import { ConfirmDialog } from '@theia/core/lib/browser/dialogs';
|
|
27
27
|
import { ScmService } from '@theia/scm/lib/browser/scm-service';
|
|
28
28
|
import { ScmInput } from '@theia/scm/lib/browser/scm-input';
|
|
29
|
-
import { CommitMessageAgent } from './commit-message-agent';
|
|
30
|
-
import { CommitMessageRunner } from './commit-message-runner';
|
|
31
|
-
import { GetGitChangesTool } from './git-changes-tool';
|
|
29
|
+
import { CommitMessageAgent } from './commit-message-agent.js';
|
|
30
|
+
import { CommitMessageRunner } from './commit-message-runner.js';
|
|
31
|
+
import { GetGitChangesTool } from './git-changes-tool.js';
|
|
32
32
|
|
|
33
33
|
disableJSDOM();
|
|
34
34
|
|
|
@@ -20,8 +20,8 @@ import { CancellationTokenSource } from '@theia/core/lib/common/cancellation';
|
|
|
20
20
|
import { inject, injectable, named } from '@theia/core/shared/inversify';
|
|
21
21
|
import { ScmRepository } from '@theia/scm/lib/browser/scm-repository';
|
|
22
22
|
import { ScmService } from '@theia/scm/lib/browser/scm-service';
|
|
23
|
-
import { CommitMessageAgent } from './commit-message-agent';
|
|
24
|
-
import { GetGitChangesTool } from './git-changes-tool';
|
|
23
|
+
import { CommitMessageAgent } from './commit-message-agent.js';
|
|
24
|
+
import { GetGitChangesTool } from './git-changes-tool.js';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Drives the {@link CommitMessageAgent}: reads the staged git diff of the selected repository,
|
|
@@ -26,8 +26,8 @@ import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
|
26
26
|
import { WorkspaceService } from '@theia/workspace/lib/browser/workspace-service';
|
|
27
27
|
import { FileStat } from '@theia/filesystem/lib/common/files';
|
|
28
28
|
import { ContextFileValidationService, FileValidationState } from '@theia/ai-chat/lib/browser/context-file-validation-service';
|
|
29
|
-
import { ContextFileValidationServiceImpl } from './context-file-validation-service-impl';
|
|
30
|
-
import { WorkspaceFunctionScope } from './workspace-functions';
|
|
29
|
+
import { ContextFileValidationServiceImpl } from './context-file-validation-service-impl.js';
|
|
30
|
+
import { WorkspaceFunctionScope } from './workspace-functions.js';
|
|
31
31
|
import { AiConfigurationService } from '@theia/ai-core';
|
|
32
32
|
import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
|
33
33
|
import { MockLogger } from '@theia/core/lib/common/test/mock-logger';
|
|
@@ -19,7 +19,7 @@ import { URI } from '@theia/core';
|
|
|
19
19
|
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
20
20
|
import { WorkspaceService } from '@theia/workspace/lib/browser/workspace-service';
|
|
21
21
|
import { ContextFileValidationService, FileValidationResult, FileValidationState } from '@theia/ai-chat/lib/browser/context-file-validation-service';
|
|
22
|
-
import { WorkspaceFunctionScope } from './workspace-functions';
|
|
22
|
+
import { WorkspaceFunctionScope } from './workspace-functions.js';
|
|
23
23
|
|
|
24
24
|
@injectable()
|
|
25
25
|
export class ContextFileValidationServiceImpl implements ContextFileValidationService {
|
|
@@ -18,7 +18,7 @@ let disableJSDOM = enableJSDOM();
|
|
|
18
18
|
import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider';
|
|
19
19
|
FrontendApplicationConfigProvider.set({});
|
|
20
20
|
import { expect } from 'chai';
|
|
21
|
-
import { ListChatContext, ResolveChatContext, AddFileToChatContext } from './context-functions';
|
|
21
|
+
import { ListChatContext, ResolveChatContext, AddFileToChatContext } from './context-functions.js';
|
|
22
22
|
import { CancellationTokenSource } from '@theia/core';
|
|
23
23
|
import { ChatContextManager, ChatToolContext, MutableChatModel, MutableChatRequestModel, MutableChatResponseModel } from '@theia/ai-chat';
|
|
24
24
|
import { fail } from 'assert';
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { assertChatContext } from '@theia/ai-chat';
|
|
18
18
|
import { ToolInvocationContext, ToolProvider, ToolRequest } from '@theia/ai-core';
|
|
19
19
|
import { inject, injectable, optional } from '@theia/core/shared/inversify';
|
|
20
|
-
import { LIST_CHAT_CONTEXT_FUNCTION_ID, RESOLVE_CHAT_CONTEXT_FUNCTION_ID, UPDATE_CONTEXT_FILES_FUNCTION_ID } from '../common/context-functions';
|
|
20
|
+
import { LIST_CHAT_CONTEXT_FUNCTION_ID, RESOLVE_CHAT_CONTEXT_FUNCTION_ID, UPDATE_CONTEXT_FILES_FUNCTION_ID } from '../common/context-functions.js';
|
|
21
21
|
import { FILE_VARIABLE } from '@theia/ai-core/lib/browser/file-variable-contribution';
|
|
22
22
|
import { ContextFileValidationService, FileValidationState } from '@theia/ai-chat/lib/browser/context-file-validation-service';
|
|
23
23
|
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
CREATE_SKILL_SYSTEM_PROMPT_TEMPLATE_ID,
|
|
22
22
|
CREATE_SKILL_SYSTEM_DEFAULT_TEMPLATE_ID,
|
|
23
23
|
CREATE_SKILL_SYSTEM_AGENT_MODE_TEMPLATE_ID,
|
|
24
|
-
} from '../common/create-skill-prompt-template';
|
|
25
|
-
import { AbstractModeAwareChatAgent } from './mode-aware-chat-agent';
|
|
24
|
+
} from '../common/create-skill-prompt-template.js';
|
|
25
|
+
import { AbstractModeAwareChatAgent } from './mode-aware-chat-agent.js';
|
|
26
26
|
import { ILogger, nls } from '@theia/core';
|
|
27
27
|
|
|
28
28
|
@injectable()
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
import { injectable } from '@theia/core/shared/inversify';
|
|
18
18
|
import { ChatAgentRecommendationService, RecommendedAgent } from '@theia/ai-chat/lib/common';
|
|
19
19
|
import { nls } from '@theia/core/lib/common/nls';
|
|
20
|
-
import { CoderAgentId } from './coder-agent';
|
|
21
|
-
import { ArchitectAgentId } from './architect-agent';
|
|
20
|
+
import { CoderAgentId } from './coder-agent.js';
|
|
21
|
+
import { ArchitectAgentId } from './architect-agent.js';
|
|
22
22
|
|
|
23
23
|
@injectable()
|
|
24
24
|
export class DefaultChatAgentRecommendationService implements ChatAgentRecommendationService {
|
|
@@ -18,8 +18,8 @@ import { AbstractStreamParsingChatAgent } from '@theia/ai-chat/lib/common/chat-a
|
|
|
18
18
|
import { LanguageModelRequirement } from '@theia/ai-core/lib/common';
|
|
19
19
|
import { ILogger, nls } from '@theia/core';
|
|
20
20
|
import { inject, injectable, named } from '@theia/core/shared/inversify';
|
|
21
|
-
import { exploreSystemPrompt, EXPLORE_SYSTEM_PROMPT_ID } from './explore-prompt-template';
|
|
22
|
-
import { ExploreAgentId } from '../common/agent-ids';
|
|
21
|
+
import { exploreSystemPrompt, EXPLORE_SYSTEM_PROMPT_ID } from './explore-prompt-template.js';
|
|
22
|
+
import { ExploreAgentId } from '../common/agent-ids.js';
|
|
23
23
|
|
|
24
24
|
export { ExploreAgentId };
|
|
25
25
|
|
|
@@ -22,7 +22,7 @@ FrontendApplicationConfigProvider.set({});
|
|
|
22
22
|
import { ChatToolContext, MutableChatRequestModel, MutableChatResponseModel } from '@theia/ai-chat';
|
|
23
23
|
import { Container } from '@theia/core/shared/inversify';
|
|
24
24
|
import { expect } from 'chai';
|
|
25
|
-
import { DefaultFileChangeSetTitleProvider } from './file-changeset-functions';
|
|
25
|
+
import { DefaultFileChangeSetTitleProvider } from './file-changeset-functions.js';
|
|
26
26
|
|
|
27
27
|
disableJSDOM();
|
|
28
28
|
|
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
FileChangeSetTitleProvider,
|
|
35
35
|
DefaultFileChangeSetTitleProvider,
|
|
36
36
|
ReplaceContentInFileFunctionHelperV2
|
|
37
|
-
} from './file-changeset-functions';
|
|
37
|
+
} from './file-changeset-functions.js';
|
|
38
38
|
import { ChatToolContext, FileReadTracker, MutableChatRequestModel, MutableChatResponseModel, MutableChatModel } from '@theia/ai-chat';
|
|
39
39
|
import { ChangeSet, ChangeSetElement } from '@theia/ai-chat/lib/common/change-set';
|
|
40
40
|
import { Container } from '@theia/core/shared/inversify';
|
|
41
|
-
import { AccessibleRootContribution, WorkspaceFunctionScope } from './workspace-functions';
|
|
41
|
+
import { AccessibleRootContribution, WorkspaceFunctionScope } from './workspace-functions.js';
|
|
42
42
|
import { bindRootContributionProvider } from '@theia/core/lib/common/contribution-provider';
|
|
43
43
|
import { AiConfigurationService } from '@theia/ai-core';
|
|
44
44
|
import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';
|
|
@@ -48,7 +48,7 @@ import { ChangeSetElementArgs, ChangeSetFileElementFactory, ChangeSetFileElement
|
|
|
48
48
|
import { URI } from '@theia/core/lib/common/uri';
|
|
49
49
|
import { MockLogger } from '@theia/core/lib/common/test/mock-logger';
|
|
50
50
|
import { withWorkspaceServiceDefaults } from '@theia/workspace/lib/browser/test/with-workspace-service-defaults';
|
|
51
|
-
import { WRITE_CONTENT_MAX_SIZE_KB_PREF } from '../common/workspace-preferences';
|
|
51
|
+
import { WRITE_CONTENT_MAX_SIZE_KB_PREF } from '../common/workspace-preferences.js';
|
|
52
52
|
|
|
53
53
|
disableJSDOM();
|
|
54
54
|
|
|
@@ -22,7 +22,7 @@ import { ContentReplacerV2Impl } from '@theia/core/lib/common/content-replacer-v
|
|
|
22
22
|
import { URI } from '@theia/core/lib/common/uri';
|
|
23
23
|
import { inject, injectable, named, optional } from '@theia/core/shared/inversify';
|
|
24
24
|
import { FileService } from '@theia/filesystem/lib/browser/file-service';
|
|
25
|
-
import { WorkspaceFunctionScope } from './workspace-functions';
|
|
25
|
+
import { WorkspaceFunctionScope } from './workspace-functions.js';
|
|
26
26
|
|
|
27
27
|
import { nls, ILogger, PreferenceService } from '@theia/core';
|
|
28
28
|
import { extractJsonStringField } from '@theia/ai-chat-ui/lib/browser/chat-response-renderer/toolcall-utils';
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
WRITE_FILE_REPLACEMENTS_ID,
|
|
36
36
|
SUGGEST_FILE_REPLACEMENTS_SIMPLE_ID,
|
|
37
37
|
WRITE_FILE_REPLACEMENTS_SIMPLE_ID
|
|
38
|
-
} from '../common/file-changeset-function-ids';
|
|
39
|
-
import { WRITE_CONTENT_MAX_SIZE_KB_PREF } from '../common/workspace-preferences';
|
|
38
|
+
} from '../common/file-changeset-function-ids.js';
|
|
39
|
+
import { WRITE_CONTENT_MAX_SIZE_KB_PREF } from '../common/workspace-preferences.js';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Description of the `path` parameter shared by all file changeset tools, so that they advertise the
|
|
@@ -19,9 +19,9 @@ import '../../src/browser/style/index.css';
|
|
|
19
19
|
import { ContainerModule } from '@theia/core/shared/inversify';
|
|
20
20
|
import { ChatAgent, ChatAgentRecommendationService } from '@theia/ai-chat/lib/common';
|
|
21
21
|
import { Agent, AIVariableContribution, bindToolProvider } from '@theia/ai-core/lib/common';
|
|
22
|
-
import { ArchitectAgent } from './architect-agent';
|
|
23
|
-
import { CoderAgent } from './coder-agent';
|
|
24
|
-
import { SummarizeSessionCommandContribution } from './summarize-session-command-contribution';
|
|
22
|
+
import { ArchitectAgent } from './architect-agent.js';
|
|
23
|
+
import { CoderAgent } from './coder-agent.js';
|
|
24
|
+
import { SummarizeSessionCommandContribution } from './summarize-session-command-contribution.js';
|
|
25
25
|
import {
|
|
26
26
|
AccessibleRootContribution,
|
|
27
27
|
FileContentFunction,
|
|
@@ -30,9 +30,9 @@ import {
|
|
|
30
30
|
GetWorkspaceDirectoryStructure,
|
|
31
31
|
GetWorkspaceFileList,
|
|
32
32
|
WorkspaceFunctionScope
|
|
33
|
-
} from './workspace-functions';
|
|
34
|
-
import { WorkspaceSearchProvider } from './workspace-search-provider';
|
|
35
|
-
import { MemoryDirectoryVariableContribution } from './memory-directory-variable-contribution';
|
|
33
|
+
} from './workspace-functions.js';
|
|
34
|
+
import { WorkspaceSearchProvider } from './workspace-search-provider.js';
|
|
35
|
+
import { MemoryDirectoryVariableContribution } from './memory-directory-variable-contribution.js';
|
|
36
36
|
import {
|
|
37
37
|
FrontendApplicationContribution,
|
|
38
38
|
WidgetFactory,
|
|
@@ -40,13 +40,13 @@ import {
|
|
|
40
40
|
RemoteConnectionProvider,
|
|
41
41
|
ServiceConnectionProvider
|
|
42
42
|
} from '@theia/core/lib/browser';
|
|
43
|
-
import { TaskListProvider, TaskRunnerProvider } from './workspace-task-provider';
|
|
43
|
+
import { TaskListProvider, TaskRunnerProvider } from './workspace-task-provider.js';
|
|
44
44
|
import {
|
|
45
45
|
LaunchListProvider,
|
|
46
46
|
LaunchRunnerProvider,
|
|
47
47
|
LaunchStopProvider,
|
|
48
|
-
} from './workspace-launch-provider';
|
|
49
|
-
import { WorkspacePreferencesSchema } from '../common/workspace-preferences';
|
|
48
|
+
} from './workspace-launch-provider.js';
|
|
49
|
+
import { WorkspacePreferencesSchema } from '../common/workspace-preferences.js';
|
|
50
50
|
import {
|
|
51
51
|
ClearFileChanges,
|
|
52
52
|
GetProposedFileState,
|
|
@@ -62,101 +62,101 @@ import {
|
|
|
62
62
|
FileChangeSetTitleProvider,
|
|
63
63
|
DefaultFileChangeSetTitleProvider,
|
|
64
64
|
ReplaceContentInFileFunctionHelperV2
|
|
65
|
-
} from './file-changeset-functions';
|
|
66
|
-
import { OrchestratorChatAgent } from '../common/orchestrator-chat-agent';
|
|
67
|
-
import { UniversalChatAgent } from '../common/universal-chat-agent';
|
|
68
|
-
import { AppTesterChatAgent } from './app-tester-chat-agent';
|
|
69
|
-
import { GitHubChatAgent } from './github-chat-agent';
|
|
70
|
-
import { CommandChatAgent } from '../common/command-chat-agents';
|
|
71
|
-
import { ListChatContext, ResolveChatContext, AddFileToChatContext } from './context-functions';
|
|
72
|
-
import { AgentsConfigurationCategory } from './ai-configuration/categories/agents-configuration-category';
|
|
73
|
-
import { GeneralConfigurationCategory } from './ai-configuration/categories/general-configuration-category';
|
|
74
|
-
import { ModelsConfigurationCategory } from './ai-configuration/categories/models-configuration-category';
|
|
75
|
-
import { ModelAliasesConfigurationCategory } from './ai-configuration/categories/model-aliases-configuration-category';
|
|
76
|
-
import { VariablesConfigurationCategory } from './ai-configuration/categories/variables-configuration-category';
|
|
77
|
-
import { TokenUsageConfigurationCategory } from './ai-configuration/categories/token-usage-configuration-category';
|
|
78
|
-
import { ToolsConfigurationCategory } from './ai-configuration/categories/tools-configuration-category';
|
|
79
|
-
import { PromptsAndSkillsConfigurationCategory } from './ai-configuration/categories/prompts-and-skills-configuration-category';
|
|
80
|
-
import { PromptSnippetsConfigurationCategory } from './ai-configuration/categories/prompt-snippets-configuration-category';
|
|
81
|
-
import { AiConfigurationOpenPreferenceRenderer, AiConfigurationOpenPreferenceRendererContribution } from './ai-configuration/ai-configuration-open-preference-renderer';
|
|
65
|
+
} from './file-changeset-functions.js';
|
|
66
|
+
import { OrchestratorChatAgent } from '../common/orchestrator-chat-agent.js';
|
|
67
|
+
import { UniversalChatAgent } from '../common/universal-chat-agent.js';
|
|
68
|
+
import { AppTesterChatAgent } from './app-tester-chat-agent.js';
|
|
69
|
+
import { GitHubChatAgent } from './github-chat-agent.js';
|
|
70
|
+
import { CommandChatAgent } from '../common/command-chat-agents.js';
|
|
71
|
+
import { ListChatContext, ResolveChatContext, AddFileToChatContext } from './context-functions.js';
|
|
72
|
+
import { AgentsConfigurationCategory } from './ai-configuration/categories/agents-configuration-category.js';
|
|
73
|
+
import { GeneralConfigurationCategory } from './ai-configuration/categories/general-configuration-category.js';
|
|
74
|
+
import { ModelsConfigurationCategory } from './ai-configuration/categories/models-configuration-category.js';
|
|
75
|
+
import { ModelAliasesConfigurationCategory } from './ai-configuration/categories/model-aliases-configuration-category.js';
|
|
76
|
+
import { VariablesConfigurationCategory } from './ai-configuration/categories/variables-configuration-category.js';
|
|
77
|
+
import { TokenUsageConfigurationCategory } from './ai-configuration/categories/token-usage-configuration-category.js';
|
|
78
|
+
import { ToolsConfigurationCategory } from './ai-configuration/categories/tools-configuration-category.js';
|
|
79
|
+
import { PromptsAndSkillsConfigurationCategory } from './ai-configuration/categories/prompts-and-skills-configuration-category.js';
|
|
80
|
+
import { PromptSnippetsConfigurationCategory } from './ai-configuration/categories/prompt-snippets-configuration-category.js';
|
|
81
|
+
import { AiConfigurationOpenPreferenceRenderer, AiConfigurationOpenPreferenceRendererContribution } from './ai-configuration/ai-configuration-open-preference-renderer.js';
|
|
82
82
|
import { PreferenceNodeRendererContribution } from '@theia/preferences/lib/browser/views/components/preference-node-renderer-creator';
|
|
83
|
-
import { AiConfigurationBreadcrumbsContribution } from './ai-configuration/ai-configuration-breadcrumbs-contribution';
|
|
83
|
+
import { AiConfigurationBreadcrumbsContribution } from './ai-configuration/ai-configuration-breadcrumbs-contribution.js';
|
|
84
84
|
import { BreadcrumbsContribution } from '@theia/core/lib/browser/breadcrumbs/breadcrumbs-constants';
|
|
85
|
-
import { AiConfigurationLabelProviderContribution } from './ai-configuration/ai-configuration-label-provider-contribution';
|
|
85
|
+
import { AiConfigurationLabelProviderContribution } from './ai-configuration/ai-configuration-label-provider-contribution.js';
|
|
86
86
|
import { LabelProviderContribution } from '@theia/core/lib/browser/label-provider';
|
|
87
87
|
import { AiConfigurationCategory } from '@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category';
|
|
88
|
-
import { AIConfigurationSelectionService } from './ai-configuration/ai-configuration-service';
|
|
89
|
-
import { AIConfigurationViewContribution } from './ai-configuration/ai-configuration-view-contribution';
|
|
90
|
-
import { AIConfigurationContainerWidget } from './ai-configuration/ai-configuration-widget';
|
|
91
|
-
import { AiConfigurationDetailWidget } from './ai-configuration/ai-configuration-detail-widget';
|
|
92
|
-
import { AiConfigurationTreeWidget, createAiConfigurationTreeContainer } from './ai-configuration/ai-configuration-tree-widget';
|
|
93
|
-
import { AiConfigurationSearchWidget } from './ai-configuration/ai-configuration-search-widget';
|
|
94
|
-
import { ContextFilesVariableContribution } from '../common/context-files-variable';
|
|
88
|
+
import { AIConfigurationSelectionService } from './ai-configuration/ai-configuration-service.js';
|
|
89
|
+
import { AIConfigurationViewContribution } from './ai-configuration/ai-configuration-view-contribution.js';
|
|
90
|
+
import { AIConfigurationContainerWidget } from './ai-configuration/ai-configuration-widget.js';
|
|
91
|
+
import { AiConfigurationDetailWidget } from './ai-configuration/ai-configuration-detail-widget.js';
|
|
92
|
+
import { AiConfigurationTreeWidget, createAiConfigurationTreeContainer } from './ai-configuration/ai-configuration-tree-widget.js';
|
|
93
|
+
import { AiConfigurationSearchWidget } from './ai-configuration/ai-configuration-search-widget.js';
|
|
94
|
+
import { ContextFilesVariableContribution } from '../common/context-files-variable.js';
|
|
95
95
|
import { TabBarToolbarContribution } from '@theia/core/lib/browser/shell/tab-bar-toolbar';
|
|
96
|
-
import { TemplatePreferenceContribution } from './template-preference-contribution';
|
|
96
|
+
import { TemplatePreferenceContribution } from './template-preference-contribution.js';
|
|
97
97
|
import { ChatWelcomeMessageProvider } from '@theia/ai-chat-ui/lib/browser/chat-tree-view';
|
|
98
98
|
import { WalkthroughProvider } from '@theia/getting-started/lib/common/walkthrough-provider';
|
|
99
|
-
import { IdeChatWelcomeMessageProvider } from './ide-chat-welcome-message-provider';
|
|
100
|
-
import { AiGettingStartedWalkthroughProvider } from './ai-getting-started-walkthrough';
|
|
101
|
-
import { AiGettingStartedContribution } from './ai-getting-started-contribution';
|
|
102
|
-
import { AiWalkthroughContextKeys } from './ai-walkthrough-context-keys';
|
|
103
|
-
import { ChatSessionsWelcomeMessageProvider } from './chat-sessions-welcome-message-provider';
|
|
104
|
-
import { ChatSessionItemActionContribution, DefaultChatSessionItemActionContribution } from './chat-session-item-action-contribution';
|
|
105
|
-
import { AiAllowAllModeChatBanner } from './ai-allow-all-mode-chat-banner';
|
|
99
|
+
import { IdeChatWelcomeMessageProvider } from './ide-chat-welcome-message-provider.js';
|
|
100
|
+
import { AiGettingStartedWalkthroughProvider } from './ai-getting-started-walkthrough.js';
|
|
101
|
+
import { AiGettingStartedContribution } from './ai-getting-started-contribution.js';
|
|
102
|
+
import { AiWalkthroughContextKeys } from './ai-walkthrough-context-keys.js';
|
|
103
|
+
import { ChatSessionsWelcomeMessageProvider } from './chat-sessions-welcome-message-provider.js';
|
|
104
|
+
import { ChatSessionItemActionContribution, DefaultChatSessionItemActionContribution } from './chat-session-item-action-contribution.js';
|
|
105
|
+
import { AiAllowAllModeChatBanner } from './ai-allow-all-mode-chat-banner.js';
|
|
106
106
|
import { ChatBannerProvider } from '@theia/ai-chat-ui/lib/browser/chat-banner-provider';
|
|
107
|
-
import { DefaultChatAgentRecommendationService } from './default-chat-agent-recommendation-service';
|
|
108
|
-
import { TaskContextSummaryVariableContribution } from './task-background-summary-variable';
|
|
109
|
-
import { GitHubRepoVariableContribution } from './github-repo-variable-contribution';
|
|
110
|
-
import { TaskContextFileStorageService } from './task-context-file-storage-service';
|
|
107
|
+
import { DefaultChatAgentRecommendationService } from './default-chat-agent-recommendation-service.js';
|
|
108
|
+
import { TaskContextSummaryVariableContribution } from './task-background-summary-variable.js';
|
|
109
|
+
import { GitHubRepoVariableContribution } from './github-repo-variable-contribution.js';
|
|
110
|
+
import { TaskContextFileStorageService } from './task-context-file-storage-service.js';
|
|
111
111
|
import { TaskContextStorageService } from '@theia/ai-chat/lib/browser/task-context-service';
|
|
112
112
|
import { bindRootContributionProvider, CommandContribution, PreferenceContribution } from '@theia/core';
|
|
113
|
-
import { BrowserAutomation, browserAutomationPath } from '../common/browser-automation-protocol';
|
|
114
|
-
import { GitHubRepoService, githubRepoServicePath } from '../common/github-repo-protocol';
|
|
115
|
-
import { CloseBrowserProvider, IsBrowserRunningProvider, LaunchBrowserProvider, QueryDomProvider } from './app-tester-chat-functions';
|
|
116
|
-
import { GetSkillFileContent, ListSkills } from './skill-file-functions';
|
|
117
|
-
import { aiIdePreferenceSchema } from '../common/ai-ide-preferences';
|
|
113
|
+
import { BrowserAutomation, browserAutomationPath } from '../common/browser-automation-protocol.js';
|
|
114
|
+
import { GitHubRepoService, githubRepoServicePath } from '../common/github-repo-protocol.js';
|
|
115
|
+
import { CloseBrowserProvider, IsBrowserRunningProvider, LaunchBrowserProvider, QueryDomProvider } from './app-tester-chat-functions.js';
|
|
116
|
+
import { GetSkillFileContent, ListSkills } from './skill-file-functions.js';
|
|
117
|
+
import { aiIdePreferenceSchema } from '../common/ai-ide-preferences.js';
|
|
118
118
|
import { AIActivationService } from '@theia/ai-core/lib/browser';
|
|
119
|
-
import { AIIdeActivationServiceImpl } from './ai-ide-activation-service';
|
|
120
|
-
import { AiConfigurationPreferences } from '../common/ai-configuration-preferences';
|
|
119
|
+
import { AIIdeActivationServiceImpl } from './ai-ide-activation-service.js';
|
|
120
|
+
import { AiConfigurationPreferences } from '../common/ai-configuration-preferences.js';
|
|
121
121
|
import { WorkspaceRestrictionContribution } from '@theia/workspace/lib/browser/workspace-trust-service';
|
|
122
|
-
import { AIWorkspaceRestrictionContribution } from './ai-workspace-restriction-contribution';
|
|
123
|
-
|
|
124
|
-
import { AgentsMdAgent } from './agents-md-agent';
|
|
125
|
-
import { CreateSkillAgent } from './create-skill-agent';
|
|
126
|
-
import { SuggestTerminalCommand } from './ai-terminal-functions';
|
|
127
|
-
import { TodoWriteTool } from './todo-tool';
|
|
128
|
-
import { TodoToolRenderer } from './todo-tool-renderer';
|
|
129
|
-
import { UserInteractionTool } from './user-interaction-tool';
|
|
130
|
-
import { UserInteractionToolRenderer } from './user-interaction-tool-renderer';
|
|
122
|
+
import { AIWorkspaceRestrictionContribution } from './ai-workspace-restriction-contribution.js';
|
|
123
|
+
|
|
124
|
+
import { AgentsMdAgent } from './agents-md-agent.js';
|
|
125
|
+
import { CreateSkillAgent } from './create-skill-agent.js';
|
|
126
|
+
import { SuggestTerminalCommand } from './ai-terminal-functions.js';
|
|
127
|
+
import { TodoWriteTool } from './todo-tool.js';
|
|
128
|
+
import { TodoToolRenderer } from './todo-tool-renderer.js';
|
|
129
|
+
import { UserInteractionTool } from './user-interaction-tool.js';
|
|
130
|
+
import { UserInteractionToolRenderer } from './user-interaction-tool-renderer.js';
|
|
131
131
|
import { ChatResponsePartRenderer } from '@theia/ai-chat-ui/lib/browser/chat-response-part-renderer';
|
|
132
132
|
import { ContextFileValidationService } from '@theia/ai-chat/lib/browser/context-file-validation-service';
|
|
133
|
-
import { ContextFileValidationServiceImpl } from './context-file-validation-service-impl';
|
|
134
|
-
import { RememberCommandContribution } from './remember-command-contribution';
|
|
135
|
-
import { CreateTaskContextFunction, GetTaskContextFunction, EditTaskContextFunction, ListTaskContextsFunction, RewriteTaskContextFunction } from './task-context-functions';
|
|
136
|
-
import { FixGitHubTicketCommandContribution } from './implement-gh-ticket-command-contribution';
|
|
137
|
-
import { AnalyzesGhTicketCommandContribution } from './analyze-gh-ticket-command-contribution';
|
|
138
|
-
import { AddressGhReviewCommandContribution } from './address-pr-review-command-contribution';
|
|
139
|
-
import { AppTesterCapabilityContribution } from './apptester-capability-contribution';
|
|
140
|
-
import { GitHubCapabilityContribution } from './github-capability-contribution';
|
|
141
|
-
import { ShellExecutionCapabilityContribution } from './shell-execution-capability-contribution';
|
|
142
|
-
import { MemoryCapabilityContribution } from './memory-capability-contribution';
|
|
143
|
-
import { OpenEditorsHintContribution } from './open-editors-hint-contribution';
|
|
144
|
-
import { AgentModeConfirmationService, AgentModeConfirmationServiceImpl } from './agent-mode-confirmation-service';
|
|
145
|
-
import { ExploreAgent } from './explore-agent';
|
|
146
|
-
import { CodeReviewerAgent } from './code-reviewer-agent';
|
|
147
|
-
import { CodeReviewCapabilityContribution } from './code-review-capability-contribution';
|
|
148
|
-
import { PRReviewAgent } from './review/pr-review-agent';
|
|
149
|
-
import { PRReviewCapabilityContribution } from './review/pr-review-capability-contribution';
|
|
133
|
+
import { ContextFileValidationServiceImpl } from './context-file-validation-service-impl.js';
|
|
134
|
+
import { RememberCommandContribution } from './remember-command-contribution.js';
|
|
135
|
+
import { CreateTaskContextFunction, GetTaskContextFunction, EditTaskContextFunction, ListTaskContextsFunction, RewriteTaskContextFunction } from './task-context-functions.js';
|
|
136
|
+
import { FixGitHubTicketCommandContribution } from './implement-gh-ticket-command-contribution.js';
|
|
137
|
+
import { AnalyzesGhTicketCommandContribution } from './analyze-gh-ticket-command-contribution.js';
|
|
138
|
+
import { AddressGhReviewCommandContribution } from './address-pr-review-command-contribution.js';
|
|
139
|
+
import { AppTesterCapabilityContribution } from './apptester-capability-contribution.js';
|
|
140
|
+
import { GitHubCapabilityContribution } from './github-capability-contribution.js';
|
|
141
|
+
import { ShellExecutionCapabilityContribution } from './shell-execution-capability-contribution.js';
|
|
142
|
+
import { MemoryCapabilityContribution } from './memory-capability-contribution.js';
|
|
143
|
+
import { OpenEditorsHintContribution } from './open-editors-hint-contribution.js';
|
|
144
|
+
import { AgentModeConfirmationService, AgentModeConfirmationServiceImpl } from './agent-mode-confirmation-service.js';
|
|
145
|
+
import { ExploreAgent } from './explore-agent.js';
|
|
146
|
+
import { CodeReviewerAgent } from './code-reviewer-agent.js';
|
|
147
|
+
import { CodeReviewCapabilityContribution } from './code-review-capability-contribution.js';
|
|
148
|
+
import { PRReviewAgent } from './review/pr-review-agent.js';
|
|
149
|
+
import { PRReviewCapabilityContribution } from './review/pr-review-capability-contribution.js';
|
|
150
150
|
import { PerspectiveContribution } from '@theia/core/lib/browser/perspective-service';
|
|
151
|
-
import { AIFirstPerspectiveContribution } from './ai-first-perspective-contribution';
|
|
152
|
-
import { ChatSessionListService } from './chat-session-list-service';
|
|
153
|
-
import { AISessionsWidget } from './ai-sessions-widget';
|
|
154
|
-
import { AISessionsViewContribution } from './ai-sessions-view-contribution';
|
|
155
|
-
import { CommitMessageAgent } from './commit-message-agent';
|
|
156
|
-
import { CommitMessageRunner } from './commit-message-runner';
|
|
157
|
-
import { CommitMessageCommandContribution } from './commit-message-command-contribution';
|
|
158
|
-
import { GetGitChangesTool } from './git-changes-tool';
|
|
159
|
-
import { AiAwareScmCommitWidget } from './ai-aware-scm-commit-widget';
|
|
151
|
+
import { AIFirstPerspectiveContribution } from './ai-first-perspective-contribution.js';
|
|
152
|
+
import { ChatSessionListService } from './chat-session-list-service.js';
|
|
153
|
+
import { AISessionsWidget } from './ai-sessions-widget.js';
|
|
154
|
+
import { AISessionsViewContribution } from './ai-sessions-view-contribution.js';
|
|
155
|
+
import { CommitMessageAgent } from './commit-message-agent.js';
|
|
156
|
+
import { CommitMessageRunner } from './commit-message-runner.js';
|
|
157
|
+
import { CommitMessageCommandContribution } from './commit-message-command-contribution.js';
|
|
158
|
+
import { GetGitChangesTool } from './git-changes-tool.js';
|
|
159
|
+
import { AiAwareScmCommitWidget } from './ai-aware-scm-commit-widget.js';
|
|
160
160
|
import { ScmCommitWidget } from '@theia/scm/lib/browser/scm-commit-widget';
|
|
161
161
|
|
|
162
162
|
export default new ContainerModule((bind, _unbind, _isBound, rebind) => {
|
|
@@ -27,7 +27,7 @@ import { WorkspaceService } from '@theia/workspace/lib/browser/workspace-service
|
|
|
27
27
|
import { ScmRepository } from '@theia/scm/lib/browser/scm-repository';
|
|
28
28
|
import { ScmService } from '@theia/scm/lib/browser/scm-service';
|
|
29
29
|
import { ShellExecutionRequest, ShellExecutionResult, ShellExecutionServer } from '@theia/ai-terminal/lib/common/shell-execution-server';
|
|
30
|
-
import { GET_GIT_CHANGES_FUNCTION_ID, GetGitChangesTool, GitChangesRepositoryError } from './git-changes-tool';
|
|
30
|
+
import { GET_GIT_CHANGES_FUNCTION_ID, GetGitChangesTool, GitChangesRepositoryError } from './git-changes-tool.js';
|
|
31
31
|
import { withWorkspaceServiceDefaults } from '@theia/workspace/lib/browser/test/with-workspace-service-defaults';
|
|
32
32
|
|
|
33
33
|
disableJSDOM();
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { FrontendApplicationContribution } from '@theia/core/lib/browser';
|
|
18
18
|
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
19
19
|
import { AGENT_DELEGATION_FUNCTION_ID, PromptService } from '@theia/ai-core';
|
|
20
|
-
import { GitHubChatAgentId } from './github-chat-agent';
|
|
20
|
+
import { GitHubChatAgentId } from './github-chat-agent.js';
|
|
21
21
|
import { nls } from '@theia/core';
|
|
22
22
|
|
|
23
23
|
@injectable()
|