diff --git a/core/config/createNewAssistantFile.ts b/core/config/createNewAssistantFile.ts index 1a823b987..dc6ecceff 100644 --- a/core/config/createNewAssistantFile.ts +++ b/core/config/createNewAssistantFile.ts @@ -1,17 +1,14 @@ import { IDE } from ".."; import { joinPathsToUri } from "../util/uri"; -const DEFAULT_ASSISTANT_FILE = `# This is an example agent configuration file -# It is used to define custom AI agents within Continue -# Each agent file can be accessed by selecting it from the agent dropdown - +const DEFAULT_ASSISTANT_FILE = `# This is an example configuration file # To learn more, see the full config.yaml reference: https://docs.continue.dev/reference -name: Example Agent +name: Example Config version: 1.0.0 schema: v1 -# Models define which AI models this agent can use +# Define which models can be used # https://docs.continue.dev/customization/models models: - name: my gpt-5 @@ -23,7 +20,7 @@ models: with: ANTHROPIC_API_KEY: \${{ secrets.ANTHROPIC_API_KEY }} -# MCP Servers the agent can use +# MCP Servers that Continue can access # https://docs.continue.dev/customization/mcp-tools mcpServers: - uses: anthropic/memory-mcp @@ -50,7 +47,7 @@ export async function createNewAssistantFile( let assistantFileUri: string; do { const suffix = counter === 0 ? "" : `-${counter}`; - assistantFileUri = joinPathsToUri(baseDirUri, `new-agent${suffix}.yaml`); + assistantFileUri = joinPathsToUri(baseDirUri, `new-config${suffix}.yaml`); counter++; } while (await ide.fileExists(assistantFileUri)); diff --git a/core/config/default.ts b/core/config/default.ts index 1719cdc09..817bd791e 100644 --- a/core/config/default.ts +++ b/core/config/default.ts @@ -1,7 +1,7 @@ import { ConfigYaml } from "@continuedev/config-yaml"; export const defaultConfig: ConfigYaml = { - name: "Local Agent", + name: "Local Config", version: "1.0.0", schema: "v1", models: [], diff --git a/core/config/profile/LocalProfileLoader.ts b/core/config/profile/LocalProfileLoader.ts index 9c5345fbd..9c57ae94c 100644 --- a/core/config/profile/LocalProfileLoader.ts +++ b/core/config/profile/LocalProfileLoader.ts @@ -32,7 +32,7 @@ export default class LocalProfileLoader implements IProfileLoader { iconUrl: "", title: overrideAssistantFile?.path ? getUriPathBasename(overrideAssistantFile.path) - : "Local Agent", + : "Local Config", errors: undefined, uri: overrideAssistantFile?.path ?? @@ -47,7 +47,7 @@ export default class LocalProfileLoader implements IProfileLoader { ); this.description.title = parsedAssistant.name; } catch (e) { - console.error("Failed to parse agent file: ", e); + console.error("Failed to parse config file: ", e); } } } diff --git a/core/config/yaml/default.ts b/core/config/yaml/default.ts index 22c1d8955..22d7d0685 100644 --- a/core/config/yaml/default.ts +++ b/core/config/yaml/default.ts @@ -4,7 +4,7 @@ import { AssistantUnrolled } from "@continuedev/config-yaml"; export const defaultConfigYaml: AssistantUnrolled = { models: [], context: [], - name: "Local Agent", + name: "Local Config", version: "1.0.0", schema: "v1", }; @@ -12,7 +12,7 @@ export const defaultConfigYaml: AssistantUnrolled = { export const defaultConfigYamlJetBrains: AssistantUnrolled = { models: [], context: [], - name: "Local Agent", + name: "Local Config", version: "1.0.0", schema: "v1", }; diff --git a/core/core.ts b/core/core.ts index 2587fc0af..87512ccf5 100644 --- a/core/core.ts +++ b/core/core.ts @@ -881,9 +881,9 @@ export class Core { }); } - // If it's a local agent being created, we want to reload all agent so it shows up in the list + // If it's a local config being created, we want to reload all configs so it shows up in the list if (nonColocatedRuleUris.some(isContinueAgentConfigFile)) { - await this.configHandler.refreshAll("Local assistant file created"); + await this.configHandler.refreshAll("Local config file created"); } else if (nonColocatedRuleUris.some(isContinueConfigRelatedUri)) { await this.configHandler.reloadConfig( ".continue config-related file created", @@ -913,9 +913,9 @@ export class Core { }); } - // If it's a local agent being deleted, we want to reload all agent so it disappears from the list + // If it's a local config being deleted, we want to reload all configs so it disappears from the list if (nonColocatedRuleUris.some(isContinueAgentConfigFile)) { - await this.configHandler.refreshAll("Local assistant file deleted"); + await this.configHandler.refreshAll("Local config file deleted"); } else if (nonColocatedRuleUris.some(isContinueConfigRelatedUri)) { await this.configHandler.reloadConfig( ".continue config-related file deleted", diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 242eadca6..41a94453e 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "1.3.17", + "version": "1.3.18", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" diff --git a/gui/src/components/AssistantAndOrgListbox/AssistantIcon.tsx b/gui/src/components/AssistantAndOrgListbox/AssistantIcon.tsx index 19aa0c418..f1b68266e 100644 --- a/gui/src/components/AssistantAndOrgListbox/AssistantIcon.tsx +++ b/gui/src/components/AssistantAndOrgListbox/AssistantIcon.tsx @@ -1,7 +1,6 @@ -import { SparklesIcon } from "@heroicons/react/24/outline"; +import { ComputerDesktopIcon, SparklesIcon } from "@heroicons/react/24/outline"; import { ProfileDescription } from "core/config/ProfileLifecycleManager"; import { isLocalProfile } from "../../util"; -import { BotIcon } from "../svg/BotIcon"; export interface AssistantIconProps { assistant: ProfileDescription; @@ -13,7 +12,11 @@ export function AssistantIcon({ size = "h-4 w-4", }: AssistantIconProps) { if (isLocalProfile(assistant)) { - return ; + return ( + + ); } else if (assistant.iconUrl) { return ( { e.stopPropagation(); - navigate(CONFIG_ROUTES.AGENTS); + navigate(CONFIG_ROUTES.CONFIGS); }} > diff --git a/gui/src/components/AssistantAndOrgListbox/AssistantOptions.tsx b/gui/src/components/AssistantAndOrgListbox/AssistantOptions.tsx index a8baff971..63fb604e2 100644 --- a/gui/src/components/AssistantAndOrgListbox/AssistantOptions.tsx +++ b/gui/src/components/AssistantAndOrgListbox/AssistantOptions.tsx @@ -16,7 +16,7 @@ export function AssistantOptions({
{profiles?.length === 0 ? (
- No agents found + No config found
) : ( profiles?.map((profile, idx) => ( diff --git a/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx b/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx index b842cda77..0344abc71 100644 --- a/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx +++ b/gui/src/components/AssistantAndOrgListbox/SelectedAssistantButton.tsx @@ -34,7 +34,7 @@ export function SelectedAssistantButton({ >
{selectedProfile === null ? ( - "Create your first agent" + "Set up config file" ) : configLoading ? ( ) : ( <> - + {selectedProfile.iconUrl && ( + + )} diff --git a/gui/src/components/AssistantAndOrgListbox/index.tsx b/gui/src/components/AssistantAndOrgListbox/index.tsx index 4bc002c2e..cf767c6c3 100644 --- a/gui/src/components/AssistantAndOrgListbox/index.tsx +++ b/gui/src/components/AssistantAndOrgListbox/index.tsx @@ -80,8 +80,8 @@ export function AssistantAndOrgListbox({ close(); } - function onAgentsConfig() { - navigate(CONFIG_ROUTES.AGENTS); + function onConfigsConfig() { + navigate(CONFIG_ROUTES.CONFIGS); close(); } @@ -155,7 +155,7 @@ export function AssistantAndOrgListbox({ >
- Agents + Configs
- - { - ideMessenger.request("controlPlane/openUrl", { - path: "/new?type=assistant", - orgSlug: undefined, - }); - }} - > -
- Or, create your own agent from scratch - -
-
-
- - ); -} diff --git a/gui/src/components/config/FatalErrorNotice.tsx b/gui/src/components/config/FatalErrorNotice.tsx index 4d20aba1c..b7e0b76bf 100644 --- a/gui/src/components/config/FatalErrorNotice.tsx +++ b/gui/src/components/config/FatalErrorNotice.tsx @@ -19,9 +19,8 @@ export const FatalErrorIndicator = () => { const configLoading = useAppSelector((state) => state.config.loading); const showConfigPage = () => { - navigate(CONFIG_ROUTES.AGENTS); + navigate(CONFIG_ROUTES.CONFIGS); }; - // const onAgentsPage = location. const currentPath = `${location.pathname}${location.search}`; const { selectedProfile } = useAuth(); @@ -33,7 +32,7 @@ export const FatalErrorIndicator = () => { const displayName = selectedProfile ? (selectedProfile.title ?? `${selectedProfile.fullSlug?.ownerSlug}/${selectedProfile.fullSlug?.packageSlug}`) - : "agent"; + : "config"; return ( @@ -65,7 +64,7 @@ export const FatalErrorIndicator = () => { Reload
)} - {currentPath !== CONFIG_ROUTES.AGENTS && ( + {currentPath !== CONFIG_ROUTES.CONFIGS && (
View
diff --git a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx index 3f5d66d88..2f022ea5a 100644 --- a/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx +++ b/gui/src/components/mainInput/Lump/LumpToolbar/BlockSettingsTopToolbar.tsx @@ -81,11 +81,11 @@ export function BlockSettingsTopToolbar() {
navigate(CONFIG_ROUTES.AGENTS)} + onClick={() => navigate(CONFIG_ROUTES.CONFIGS)} onKeyDown={(e) => { if (e.key === "Enter" || e.key === " ") { e.preventDefault(); - navigate(CONFIG_ROUTES.AGENTS); + navigate(CONFIG_ROUTES.CONFIGS); } }} data-testid="block-settings-toolbar-icon-error" @@ -135,7 +135,7 @@ export function BlockSettingsTopToolbar() { )}
- +
diff --git a/gui/src/pages/config/configTabs.tsx b/gui/src/pages/config/configTabs.tsx index 3739d6de9..b4687f1e3 100644 --- a/gui/src/pages/config/configTabs.tsx +++ b/gui/src/pages/config/configTabs.tsx @@ -4,13 +4,13 @@ import { CircleStackIcon, Cog6ToothIcon, CubeIcon, + DocumentIcon, PencilIcon, QuestionMarkCircleIcon, WrenchScrewdriverIcon, } from "@heroicons/react/24/outline"; -import { BotIcon } from "../../components/svg/BotIcon"; import { ConfigSection } from "./components/ConfigSection"; -import { AgentsSection } from "./sections/AgentsSection"; +import { ConfigsSection } from "./sections/ConfigsSection"; import { HelpSection } from "./sections/HelpSection"; import { IndexingSettingsSection } from "./sections/IndexingSettingsSection"; import { ModelsSection } from "./sections/ModelsSection"; @@ -89,16 +89,14 @@ export const topTabSections: TabSection[] = [ showTopDivider: true, tabs: [ { - id: "agents", - label: "Agents", + id: "configs", + label: "Configs", component: ( - + ), - icon: ( - - ), + icon: , }, { id: "organizations", diff --git a/gui/src/pages/config/features/indexing/IndexingProgressSubtext.tsx b/gui/src/pages/config/features/indexing/IndexingProgressSubtext.tsx index ce973d21a..9d8d16643 100644 --- a/gui/src/pages/config/features/indexing/IndexingProgressSubtext.tsx +++ b/gui/src/pages/config/features/indexing/IndexingProgressSubtext.tsx @@ -15,7 +15,7 @@ const STATUS_TO_SUBTITLE_TEXT: Record< indexing: "Click to pause", paused: "Click to resume", failed: "Click to retry", - disabled: "Click to open agent configuration", + disabled: "Click to open configuration", cancelled: "Click to restart", }; diff --git a/gui/src/pages/config/sections/AgentsSection.tsx b/gui/src/pages/config/sections/ConfigsSection.tsx similarity index 93% rename from gui/src/pages/config/sections/AgentsSection.tsx rename to gui/src/pages/config/sections/ConfigsSection.tsx index c1a2640e9..25d32ffed 100644 --- a/gui/src/pages/config/sections/AgentsSection.tsx +++ b/gui/src/pages/config/sections/ConfigsSection.tsx @@ -8,12 +8,12 @@ import { IdeMessengerContext } from "../../../context/IdeMessenger"; import { useAppSelector } from "../../../redux/hooks"; import { ConfigHeader } from "../components/ConfigHeader"; -export function AgentsSection() { +export function ConfigsSection() { const { profiles, selectedProfile } = useAuth(); const ideMessenger = useContext(IdeMessengerContext); const configError = useAppSelector((state) => state.config.configError); - function handleAddAgent() { + function handleAddConfig() { void ideMessenger.request("config/newAssistantFile", undefined); } @@ -24,9 +24,9 @@ export function AgentsSection() { return ( <> @@ -61,7 +61,7 @@ export function AgentsSection() { )}
- +