@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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2026 EclipseSource GmbH.
|
|
4
3
|
//
|
|
@@ -14,37 +13,35 @@
|
|
|
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
|
-
const
|
|
25
|
-
const ai_sessions_widget_1 = require("./ai-sessions-widget");
|
|
26
|
-
exports.AI_FIRST_PERSPECTIVE_ID = 'ai-first';
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { injectable } from '@theia/core/shared/inversify';
|
|
18
|
+
import { nls } from '@theia/core';
|
|
19
|
+
import { EXPLORER_VIEW_CONTAINER_ID } from '@theia/navigator/lib/browser';
|
|
20
|
+
import { SCM_VIEW_CONTAINER_ID } from '@theia/scm/lib/browser/scm-contribution';
|
|
21
|
+
import { ChatViewWidget } from '@theia/ai-chat-ui/lib/browser/chat-view-widget';
|
|
22
|
+
import { AISessionsWidget } from './ai-sessions-widget.js';
|
|
23
|
+
export const AI_FIRST_PERSPECTIVE_ID = 'ai-first';
|
|
27
24
|
let AIFirstPerspectiveContribution = class AIFirstPerspectiveContribution {
|
|
28
25
|
registerPerspectives(service) {
|
|
29
26
|
const chromeOptions = {
|
|
30
27
|
collapseAreas: ['bottom']
|
|
31
28
|
};
|
|
32
29
|
service.registerPerspective({
|
|
33
|
-
id:
|
|
34
|
-
label:
|
|
30
|
+
id: AI_FIRST_PERSPECTIVE_ID,
|
|
31
|
+
label: nls.localize('theia/ai-ide/perspective/aiFirst', 'AI First'),
|
|
35
32
|
viewPlacements: new Map([
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
33
|
+
[ChatViewWidget.ID, 'main'],
|
|
34
|
+
[EXPLORER_VIEW_CONTAINER_ID, 'right'],
|
|
35
|
+
[SCM_VIEW_CONTAINER_ID, 'right'],
|
|
36
|
+
[AISessionsWidget.ID, 'left']
|
|
40
37
|
]),
|
|
41
|
-
primaryViews: { right:
|
|
38
|
+
primaryViews: { right: EXPLORER_VIEW_CONTAINER_ID },
|
|
42
39
|
chromeOptions
|
|
43
40
|
});
|
|
44
41
|
}
|
|
45
42
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
(0, inversify_1.injectable)()
|
|
43
|
+
AIFirstPerspectiveContribution = __decorate([
|
|
44
|
+
injectable()
|
|
49
45
|
], AIFirstPerspectiveContribution);
|
|
46
|
+
export { AIFirstPerspectiveContribution };
|
|
50
47
|
//# sourceMappingURL=ai-first-perspective-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-first-perspective-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-first-perspective-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai-first-perspective-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-first-perspective-contribution.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAEhF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAGlC,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;AAG3C,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAEvC,oBAAoB,CAAC,OAA2B;QAC5C,MAAM,aAAa,GAA6B;YAC5C,aAAa,EAAE,CAAC,QAAQ,CAAC;SAC5B,CAAC;QACF,OAAO,CAAC,mBAAmB,CAAC;YACxB,EAAE,EAAE,uBAAuB;YAC3B,KAAK,EAAE,GAAG,CAAC,QAAQ,CAAC,kCAAkC,EAAE,UAAU,CAAC;YACnE,cAAc,EAAE,IAAI,GAAG,CAAgC;gBACnD,CAAC,cAAc,CAAC,EAAE,EAAE,MAAM,CAAC;gBAC3B,CAAC,0BAA0B,EAAE,OAAO,CAAC;gBACrC,CAAC,qBAAqB,EAAE,OAAO,CAAC;gBAChC,CAAC,gBAAgB,CAAC,EAAE,EAAE,MAAM,CAAC;aAChC,CAAC;YACF,YAAY,EAAE,EAAE,KAAK,EAAE,0BAA0B,EAAE;YACnD,aAAa;SAChB,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAnBY,8BAA8B;IAD1C,UAAU,EAAE;GACA,8BAA8B,CAmB1C"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2026 EclipseSource GmbH.
|
|
4
3
|
//
|
|
@@ -14,11 +13,9 @@
|
|
|
14
13
|
//
|
|
15
14
|
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
|
16
15
|
// *****************************************************************************
|
|
17
|
-
|
|
18
|
-
exports.AI_SET_DEFAULT_CHAT_AGENT = exports.AI_OPEN_GETTING_STARTED_WALKTHROUGH = void 0;
|
|
19
|
-
const command_1 = require("@theia/core/lib/common/command");
|
|
16
|
+
import { Command } from '@theia/core/lib/common/command';
|
|
20
17
|
/** Opens the AI getting started walkthrough, from the chat view, a menu or the command palette. */
|
|
21
|
-
|
|
18
|
+
export const AI_OPEN_GETTING_STARTED_WALKTHROUGH = Command.toLocalizedCommand({
|
|
22
19
|
id: 'ai.openGettingStartedWalkthrough',
|
|
23
20
|
label: 'Get Started with AI'
|
|
24
21
|
}, 'theia/ai/ide/openGettingStartedWalkthrough');
|
|
@@ -27,7 +24,7 @@ exports.AI_OPEN_GETTING_STARTED_WALKTHROUGH = command_1.Command.toLocalizedComma
|
|
|
27
24
|
* Lets the walkthrough offer the recommended agents as one click each, rather than sending the user to the
|
|
28
25
|
* preference row to pick one there.
|
|
29
26
|
*/
|
|
30
|
-
|
|
27
|
+
export const AI_SET_DEFAULT_CHAT_AGENT = Command.toLocalizedCommand({
|
|
31
28
|
id: 'ai.setDefaultChatAgent',
|
|
32
29
|
label: 'Set Default Chat Agent'
|
|
33
30
|
}, 'theia/ai/ide/setDefaultChatAgent');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-getting-started-commands.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-commands.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai-getting-started-commands.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-commands.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;AAEhF,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAEzD,mGAAmG;AACnG,MAAM,CAAC,MAAM,mCAAmC,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAC1E,EAAE,EAAE,kCAAkC;IACtC,KAAK,EAAE,qBAAqB;CAC/B,EAAE,4CAA4C,CAAC,CAAC;AAEjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAChE,EAAE,EAAE,wBAAwB;IAC5B,KAAK,EAAE,wBAAwB;CAClC,EAAE,kCAAkC,CAAC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2026 EclipseSource GmbH.
|
|
4
3
|
//
|
|
@@ -14,18 +13,16 @@
|
|
|
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
|
-
const ai_getting_started_walkthrough_1 = require("./ai-getting-started-walkthrough");
|
|
28
|
-
const ai_getting_started_commands_1 = require("./ai-getting-started-commands");
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { PreferenceScope, PreferenceService } from '@theia/core/lib/common/preferences';
|
|
18
|
+
import { MessageService } from '@theia/core/lib/common/message-service';
|
|
19
|
+
import { nls } from '@theia/core/lib/common/nls';
|
|
20
|
+
import { ChatAgentService } from '@theia/ai-chat/lib/common';
|
|
21
|
+
import { DEFAULT_CHAT_AGENT_PREF } from '@theia/ai-chat/lib/common/ai-chat-preferences';
|
|
22
|
+
import { WalkthroughCommands } from '@theia/getting-started/lib/common/walkthrough-commands';
|
|
23
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
24
|
+
import { AI_GETTING_STARTED_WALKTHROUGH_ID } from './ai-getting-started-walkthrough.js';
|
|
25
|
+
import { AI_OPEN_GETTING_STARTED_WALKTHROUGH, AI_SET_DEFAULT_CHAT_AGENT } from './ai-getting-started-commands.js';
|
|
29
26
|
/**
|
|
30
27
|
* Opens the AI getting started walkthrough from anywhere - the chat view, the command palette or a menu -
|
|
31
28
|
* without every caller having to know the walkthrough id.
|
|
@@ -33,10 +30,10 @@ const ai_getting_started_commands_1 = require("./ai-getting-started-commands");
|
|
|
33
30
|
let AiGettingStartedContribution = class AiGettingStartedContribution {
|
|
34
31
|
registerCommands(commands) {
|
|
35
32
|
// Deliberately not gated on the AI features being enabled: this is where they get enabled.
|
|
36
|
-
commands.registerCommand(
|
|
37
|
-
execute: () => commands.executeCommand(
|
|
33
|
+
commands.registerCommand(AI_OPEN_GETTING_STARTED_WALKTHROUGH, {
|
|
34
|
+
execute: () => commands.executeCommand(WalkthroughCommands.OPEN_WALKTHROUGH.id, AI_GETTING_STARTED_WALKTHROUGH_ID)
|
|
38
35
|
});
|
|
39
|
-
commands.registerCommand(
|
|
36
|
+
commands.registerCommand(AI_SET_DEFAULT_CHAT_AGENT, {
|
|
40
37
|
execute: (agentId) => this.setDefaultChatAgent(agentId),
|
|
41
38
|
isEnabled: (agentId) => typeof agentId === 'string' && !!agentId
|
|
42
39
|
});
|
|
@@ -46,25 +43,22 @@ let AiGettingStartedContribution = class AiGettingStartedContribution {
|
|
|
46
43
|
* without the message the only feedback would be the step ticking itself off further up the page.
|
|
47
44
|
*/
|
|
48
45
|
async setDefaultChatAgent(agentId) {
|
|
49
|
-
await this.preferenceService.set(
|
|
46
|
+
await this.preferenceService.set(DEFAULT_CHAT_AGENT_PREF, agentId, PreferenceScope.User);
|
|
50
47
|
const label = this.chatAgentService.getAgent(agentId)?.name ?? agentId;
|
|
51
|
-
this.messageService.info(
|
|
48
|
+
this.messageService.info(nls.localize('theia/ai/ide/defaultChatAgentSet', 'The default chat agent is now {0}.', label));
|
|
52
49
|
}
|
|
53
50
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(0, inversify_1.inject)(preferences_1.PreferenceService),
|
|
57
|
-
tslib_1.__metadata("design:type", Object)
|
|
51
|
+
__decorate([
|
|
52
|
+
inject(PreferenceService)
|
|
58
53
|
], AiGettingStartedContribution.prototype, "preferenceService", void 0);
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
tslib_1.__metadata("design:type", message_service_1.MessageService)
|
|
54
|
+
__decorate([
|
|
55
|
+
inject(MessageService)
|
|
62
56
|
], AiGettingStartedContribution.prototype, "messageService", void 0);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
tslib_1.__metadata("design:type", Object)
|
|
57
|
+
__decorate([
|
|
58
|
+
inject(ChatAgentService)
|
|
66
59
|
], AiGettingStartedContribution.prototype, "chatAgentService", void 0);
|
|
67
|
-
|
|
68
|
-
|
|
60
|
+
AiGettingStartedContribution = __decorate([
|
|
61
|
+
injectable()
|
|
69
62
|
], AiGettingStartedContribution);
|
|
63
|
+
export { AiGettingStartedContribution };
|
|
70
64
|
//# sourceMappingURL=ai-getting-started-contribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-getting-started-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-contribution.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai-getting-started-contribution.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-contribution.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,yDAAyD;AACzD,uDAAuD;AACvD,EAAE;AACF,gFAAgF;AAChF,gFAAgF;;AAGhF,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,GAAG,EAAE,MAAM,4BAA4B,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,wDAAwD,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,mCAAmC,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAElH;;;GAGG;AAEI,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;IAWrC,gBAAgB,CAAC,QAAyB;QACtC,2FAA2F;QAC3F,QAAQ,CAAC,eAAe,CAAC,mCAAmC,EAAE;YAC1D,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,EAAE,iCAAiC,CAAC;SACrH,CAAC,CAAC;QACH,QAAQ,CAAC,eAAe,CAAC,yBAAyB,EAAE;YAChD,OAAO,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC;YAC/D,SAAS,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,OAAO,KAAK,QAAQ,IAAI,CAAC,CAAC,OAAO;SAC5E,CAAC,CAAC;IACP,CAAC;IAED;;;OAGG;IACO,KAAK,CAAC,mBAAmB,CAAC,OAAe;QAC/C,MAAM,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,EAAE,eAAe,CAAC,IAAI,CAAC,CAAC;QACzF,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,IAAI,OAAO,CAAC;QACvE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,kCAAkC,EAAE,oCAAoC,EAAE,KAAK,CAAC,CAAC,CAAC;IAC5H,CAAC;CACJ,CAAA;AA5BsB;IADlB,MAAM,CAAC,iBAAiB,CAAC;uEAC8B;AAGrC;IADlB,MAAM,CAAC,cAAc,CAAC;oEAC2B;AAG/B;IADlB,MAAM,CAAC,gBAAgB,CAAC;sEAC6B;AAT7C,4BAA4B;IADxC,UAAU,EAAE;GACA,4BAA4B,CA+BxC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// *****************************************************************************
|
|
3
2
|
// Copyright (C) 2026 EclipseSource GmbH.
|
|
4
3
|
//
|
|
@@ -14,27 +13,25 @@
|
|
|
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
|
-
const ai_configuration_view_contribution_1 = require("./ai-configuration/ai-configuration-view-contribution");
|
|
32
|
-
const ai_walkthrough_context_keys_1 = require("./ai-walkthrough-context-keys");
|
|
16
|
+
import { __decorate } from "tslib";
|
|
17
|
+
import { AI_CHAT_TOGGLE_COMMAND_ID } from '@theia/ai-chat-ui/lib/browser/ai-chat-ui-contribution';
|
|
18
|
+
import { ChatAgentRecommendationService } from '@theia/ai-chat/lib/common';
|
|
19
|
+
import { DEFAULT_CHAT_AGENT_PREF } from '@theia/ai-chat/lib/common/ai-chat-preferences';
|
|
20
|
+
import { ENABLE_AI_CONTEXT_KEY } from '@theia/ai-core/lib/browser/ai-activation-service';
|
|
21
|
+
import { AiConfigurationCategoryId } from '@theia/ai-core-ui/lib/browser/ai-configuration/ai-configuration-category';
|
|
22
|
+
import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider';
|
|
23
|
+
import { PerspectiveServiceImpl } from '@theia/core/lib/browser/perspective-service';
|
|
24
|
+
import { nls } from '@theia/core/lib/common/nls';
|
|
25
|
+
import { inject, injectable } from '@theia/core/shared/inversify';
|
|
26
|
+
import { WorkspaceCommands } from '@theia/workspace/lib/browser/workspace-commands';
|
|
27
|
+
import { AI_SET_DEFAULT_CHAT_AGENT } from './ai-getting-started-commands.js';
|
|
28
|
+
import { OPEN_AI_CONFIG_VIEW, OPEN_AI_CONFIG_VIEW_TOOLS } from './ai-configuration/ai-configuration-view-contribution.js';
|
|
29
|
+
import { AI_CHAT_USED_CONTEXT_KEY, AI_DEFAULT_AGENT_CONTEXT_KEY, AI_MODEL_READY_CONTEXT_KEY, AI_TOOL_CONFIRMATION_CONFIGURED_CONTEXT_KEY } from './ai-walkthrough-context-keys.js';
|
|
33
30
|
/**
|
|
34
31
|
* Id of the walkthrough that guides a new user through setting up and using the AI features.
|
|
35
32
|
* Also the argument of the `walkthrough.open` command.
|
|
36
33
|
*/
|
|
37
|
-
|
|
34
|
+
export const AI_GETTING_STARTED_WALKTHROUGH_ID = 'ai-features.getting-started';
|
|
38
35
|
const AI_DOC_URL = 'https://theia-ide.org/docs/user_ai/';
|
|
39
36
|
const THEIA_AI_DOC_URL = 'https://theia-ide.org/docs/theia_ai/';
|
|
40
37
|
const FEEDBACK_URL = 'https://github.com/eclipse-theia/theia/issues/new/choose';
|
|
@@ -49,18 +46,18 @@ let AiGettingStartedWalkthroughProvider = class AiGettingStartedWalkthroughProvi
|
|
|
49
46
|
return [this.walkthrough];
|
|
50
47
|
}
|
|
51
48
|
get applicationName() {
|
|
52
|
-
return
|
|
49
|
+
return FrontendApplicationConfigProvider.get().applicationName;
|
|
53
50
|
}
|
|
54
51
|
/** Deep-links into the AI Configuration view, which takes a category id or an `ai-features.*` preference id. */
|
|
55
52
|
aiConfiguration(target) {
|
|
56
|
-
return `command:${
|
|
53
|
+
return `command:${OPEN_AI_CONFIG_VIEW.id}${target ? `?${target}` : ''}`;
|
|
57
54
|
}
|
|
58
55
|
createWalkthrough() {
|
|
59
56
|
return {
|
|
60
|
-
id:
|
|
57
|
+
id: AI_GETTING_STARTED_WALKTHROUGH_ID,
|
|
61
58
|
icon: 'sparkle',
|
|
62
|
-
title:
|
|
63
|
-
description:
|
|
59
|
+
title: nls.localize('theia/ai/ide/walkthrough/title', 'Get started with AI'),
|
|
60
|
+
description: nls.localize('theia/ai/ide/walkthrough/description', 'Set up the AI features of {0} and learn how to work with them.', this.applicationName),
|
|
64
61
|
steps: [
|
|
65
62
|
this.createAiSupportStep(),
|
|
66
63
|
this.createEnableStep(),
|
|
@@ -79,8 +76,8 @@ let AiGettingStartedWalkthroughProvider = class AiGettingStartedWalkthroughProvi
|
|
|
79
76
|
createAiSupportStep() {
|
|
80
77
|
return {
|
|
81
78
|
id: 'ai-support',
|
|
82
|
-
title:
|
|
83
|
-
description:
|
|
79
|
+
title: nls.localize('theia/ai/ide/walkthrough/aiSupport/title', 'AI support in {0}', this.applicationName),
|
|
80
|
+
description: nls.localize('theia/ai/ide/walkthrough/aiSupport/description', `
|
|
84
81
|
{0} comes with AI support: chat with specialized agents about your project, let them change code and run tasks, complete code as you type and get help in the terminal.
|
|
85
82
|
|
|
86
83
|
These features are disabled by default, so that you can opt in at your own discretion.
|
|
@@ -94,26 +91,26 @@ We welcome your feedback, contributions and sponsorship! Visit the [GitHub proje
|
|
|
94
91
|
All of this is built on Theia AI, the framework for AI-powered tools and IDEs, published as a stable release. [Read the framework documentation]({3}).
|
|
95
92
|
`, this.applicationName, AI_DOC_URL, FEEDBACK_URL, THEIA_AI_DOC_URL).trim(),
|
|
96
93
|
// Reading it is done once the user acts on it, either by following a link or by turning the features on.
|
|
97
|
-
completionEvents: [`onContext:${
|
|
94
|
+
completionEvents: [`onContext:${ENABLE_AI_CONTEXT_KEY}`, `onLink:${AI_DOC_URL}`]
|
|
98
95
|
};
|
|
99
96
|
}
|
|
100
97
|
createEnableStep() {
|
|
101
98
|
return {
|
|
102
99
|
id: 'enable-ai',
|
|
103
|
-
title:
|
|
104
|
-
description:
|
|
100
|
+
title: nls.localize('theia/ai/ide/walkthrough/enableAi/title', 'Turn on the AI features'),
|
|
101
|
+
description: nls.localize('theia/ai/ide/walkthrough/enableAi/description', `
|
|
105
102
|
Nothing is sent anywhere until you switch the AI features on, and you can switch them off again at any time.
|
|
106
103
|
|
|
107
104
|
[Open the AI Configuration]({0}) and enable them there.
|
|
108
|
-
`, this.aiConfiguration(
|
|
109
|
-
completionEvents: [`onContext:${
|
|
105
|
+
`, this.aiConfiguration(ENABLE_AI_CONTEXT_KEY)).trim(),
|
|
106
|
+
completionEvents: [`onContext:${ENABLE_AI_CONTEXT_KEY}`]
|
|
110
107
|
};
|
|
111
108
|
}
|
|
112
109
|
createModelStep() {
|
|
113
110
|
return {
|
|
114
111
|
id: 'connect-model',
|
|
115
|
-
title:
|
|
116
|
-
description:
|
|
112
|
+
title: nls.localize('theia/ai/ide/walkthrough/connectModel/title', 'Connect a language model'),
|
|
113
|
+
description: nls.localize('theia/ai/ide/walkthrough/connectModel/description', `
|
|
117
114
|
Add an API key for a hosted provider:
|
|
118
115
|
|
|
119
116
|
- [OpenAI]({0})
|
|
@@ -123,25 +120,25 @@ Add an API key for a hosted provider:
|
|
|
123
120
|
Prefer to stay local or use another service? Ollama, llamafile and any OpenAI-compatible endpoint can be set up in the [Models]({3}) page.
|
|
124
121
|
|
|
125
122
|
Some agents bring their own model, for example Claude Code, and work without a provider.
|
|
126
|
-
`, this.aiConfiguration('ai-features.openAiOfficial.openAiApiKey'), this.aiConfiguration('ai-features.anthropic.AnthropicApiKey'), this.aiConfiguration('ai-features.google.apiKey'), this.aiConfiguration(
|
|
127
|
-
completionEvents: [`onContext:${
|
|
123
|
+
`, this.aiConfiguration('ai-features.openAiOfficial.openAiApiKey'), this.aiConfiguration('ai-features.anthropic.AnthropicApiKey'), this.aiConfiguration('ai-features.google.apiKey'), this.aiConfiguration(AiConfigurationCategoryId.MODELS)).trim(),
|
|
124
|
+
completionEvents: [`onContext:${AI_MODEL_READY_CONTEXT_KEY}`]
|
|
128
125
|
};
|
|
129
126
|
}
|
|
130
127
|
createAgentStep() {
|
|
131
|
-
const intro =
|
|
128
|
+
const intro = nls.localize('theia/ai/ide/walkthrough/chooseAgent/intro', `
|
|
132
129
|
Every chat request goes to an agent, and one of them answers whenever you do not name one yourself.
|
|
133
130
|
|
|
134
131
|
**Set your default agent:**
|
|
135
132
|
`).trim();
|
|
136
|
-
const outro =
|
|
133
|
+
const outro = nls.localize('theia/ai/ide/walkthrough/chooseAgent/outro', `
|
|
137
134
|
You can also [choose the default agent]({0}) in the settings, and address another one for a single message by starting it with *@AgentName*.
|
|
138
135
|
The [Agents]({1}) page lists them all.
|
|
139
|
-
`, this.aiConfiguration(
|
|
136
|
+
`, this.aiConfiguration(DEFAULT_CHAT_AGENT_PREF), this.aiConfiguration(AiConfigurationCategoryId.AGENTS)).trim();
|
|
140
137
|
return {
|
|
141
138
|
id: 'choose-agent',
|
|
142
|
-
title:
|
|
139
|
+
title: nls.localize('theia/ai/ide/walkthrough/chooseAgent/title', 'Choose your default agent'),
|
|
143
140
|
description: [intro, this.renderAgentChoices(), outro].filter(part => !!part).join('\n\n'),
|
|
144
|
-
completionEvents: [`onContext:${
|
|
141
|
+
completionEvents: [`onContext:${AI_DEFAULT_AGENT_CONTEXT_KEY}`]
|
|
145
142
|
};
|
|
146
143
|
}
|
|
147
144
|
/**
|
|
@@ -154,7 +151,7 @@ The [Agents]({1}) page lists them all.
|
|
|
154
151
|
renderAgentChoices() {
|
|
155
152
|
return this.recommendationService.getRecommendedAgents()
|
|
156
153
|
.map(agent => {
|
|
157
|
-
const command = `command:${
|
|
154
|
+
const command = `command:${AI_SET_DEFAULT_CHAT_AGENT.id}?${encodeURIComponent(JSON.stringify(agent.id))}`;
|
|
158
155
|
// Carried as the link title, so what the agent is good at stays available as a tooltip.
|
|
159
156
|
const title = agent.description ? ` "${agent.description.replace(/"/g, '')}"` : '';
|
|
160
157
|
return `[@${agent.label}](${command}${title})`;
|
|
@@ -164,8 +161,8 @@ The [Agents]({1}) page lists them all.
|
|
|
164
161
|
createFirstQuestionStep() {
|
|
165
162
|
return {
|
|
166
163
|
id: 'first-question',
|
|
167
|
-
title:
|
|
168
|
-
description:
|
|
164
|
+
title: nls.localize('theia/ai/ide/walkthrough/firstQuestion/title', 'Ask your first question'),
|
|
165
|
+
description: nls.localize('theia/ai/ide/walkthrough/firstQuestion/description', `
|
|
169
166
|
[Open the AI Chat]({0}) and ask something about your project.
|
|
170
167
|
|
|
171
168
|
Two things make the answers a lot better:
|
|
@@ -174,32 +171,32 @@ Two things make the answers a lot better:
|
|
|
174
171
|
- *#* attaches context, for example *#file* or *#selectedText*. The paperclip button next to the input does the same.
|
|
175
172
|
|
|
176
173
|
The chat remembers your sessions, so you can pick a conversation up later.
|
|
177
|
-
`, `command:${
|
|
178
|
-
completionEvents: [`onContext:${
|
|
174
|
+
`, `command:${AI_CHAT_TOGGLE_COMMAND_ID}`).trim(),
|
|
175
|
+
completionEvents: [`onContext:${AI_CHAT_USED_CONTEXT_KEY}`]
|
|
179
176
|
};
|
|
180
177
|
}
|
|
181
178
|
createToolConfirmationStep() {
|
|
182
179
|
return {
|
|
183
180
|
id: 'tool-confirmation',
|
|
184
|
-
title:
|
|
185
|
-
description:
|
|
181
|
+
title: nls.localize('theia/ai/ide/walkthrough/toolConfirmation/title', 'Stay in control of what agents do'),
|
|
182
|
+
description: nls.localize('theia/ai/ide/walkthrough/toolConfirmation/description', `
|
|
186
183
|
Agents act on your workspace through tools: they read files, run terminal commands or edit code.
|
|
187
184
|
|
|
188
185
|
Every tool call asks for your confirmation first. In the [Tools]({0}) page you can change that default or pre-approve the tools you trust.
|
|
189
186
|
|
|
190
187
|
AI features stay off entirely while a workspace is not trusted. [Manage workspace trust]({1}) to decide per project.
|
|
191
|
-
`, `command:${
|
|
188
|
+
`, `command:${OPEN_AI_CONFIG_VIEW_TOOLS.id}`, `command:${WorkspaceCommands.MANAGE_WORKSPACE_TRUST.id}`).trim(),
|
|
192
189
|
completionEvents: [
|
|
193
|
-
`onContext:${
|
|
194
|
-
`onLink:command:${
|
|
190
|
+
`onContext:${AI_TOOL_CONFIRMATION_CONFIGURED_CONTEXT_KEY}`,
|
|
191
|
+
`onLink:command:${OPEN_AI_CONFIG_VIEW_TOOLS.id}`
|
|
195
192
|
]
|
|
196
193
|
};
|
|
197
194
|
}
|
|
198
195
|
createGoFurtherStep() {
|
|
199
196
|
return {
|
|
200
197
|
id: 'go-further',
|
|
201
|
-
title:
|
|
202
|
-
description:
|
|
198
|
+
title: nls.localize('theia/ai/ide/walkthrough/goFurther/title', 'Go further'),
|
|
199
|
+
description: nls.localize('theia/ai/ide/walkthrough/goFurther/description', `
|
|
203
200
|
The chat is only the beginning. AI also completes code as you type and assists in the terminal with *Ctrl+I*.
|
|
204
201
|
|
|
205
202
|
- [Prompts and skills]({0}): read and adapt the instructions the agents work with.
|
|
@@ -210,16 +207,15 @@ The chat is only the beginning. AI also completes code as you type and assists i
|
|
|
210
207
|
The AI History view, where available, shows what was actually sent to the model.
|
|
211
208
|
|
|
212
209
|
There is more in [the documentation]({4}) - and your feedback is always welcome.
|
|
213
|
-
`, this.aiConfiguration(
|
|
210
|
+
`, this.aiConfiguration(AiConfigurationCategoryId.PROMPTS_AND_SKILLS), this.aiConfiguration(AiConfigurationCategoryId.MCP_SERVERS), this.aiConfiguration(AiConfigurationCategoryId.TOKEN_USAGE), this.applicationName, AI_DOC_URL, `command:${PerspectiveServiceImpl.SWITCH_PERSPECTIVE_COMMAND.id}`).trim()
|
|
214
211
|
};
|
|
215
212
|
}
|
|
216
213
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
(0, inversify_1.inject)(common_1.ChatAgentRecommendationService),
|
|
220
|
-
tslib_1.__metadata("design:type", Object)
|
|
214
|
+
__decorate([
|
|
215
|
+
inject(ChatAgentRecommendationService)
|
|
221
216
|
], AiGettingStartedWalkthroughProvider.prototype, "recommendationService", void 0);
|
|
222
|
-
|
|
223
|
-
|
|
217
|
+
AiGettingStartedWalkthroughProvider = __decorate([
|
|
218
|
+
injectable()
|
|
224
219
|
], AiGettingStartedWalkthroughProvider);
|
|
220
|
+
export { AiGettingStartedWalkthroughProvider };
|
|
225
221
|
//# sourceMappingURL=ai-getting-started-walkthrough.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-getting-started-walkthrough.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-walkthrough.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ai-getting-started-walkthrough.js","sourceRoot":"","sources":["../../src/browser/ai-getting-started-walkthrough.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,yCAAyC;AACzC,EAAE;AACF,2EAA2E;AAC3E,mEAAmE;AACnE,wCAAwC;AACxC,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,y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