diff --git a/README.md b/README.md index d9c500ea5..0c6d7fc03 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,38 @@

-
- -**Ship faster with Continuous AI** - -**The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff** +**Source-controlled AI checks, enforceable in CI**
-Get started in [Mission Control](https://continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) +## Getting started -### Quick Install +Paste this into your coding agent of choice: + +``` +Help me write checks for this codebase: https://continue.dev/walkthrough +``` + +## How it works + +Continue runs agents on every pull request as GitHub status checks. Each agent is a markdown file in your repo at `.continue/checks/`. Green if the code looks good, red with a suggested diff if not. Here is an example that performs a security review: + +```yaml +--- +name: Security Review +description: Review PR for basic security vulnerabilities +--- + +Review this PR and check that: + +- No secrets or API keys are hardcoded +- All new API endpoints have input validation +- Error responses use the standard error format +``` + +## Install CLI + +AI checks are powered by the open-source Continue CLI (`cn`). **macOS / Linux:** @@ -44,7 +65,7 @@ curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extension irm https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.ps1 | iex ``` -Or with npm: +Or with npm (requires Node.js 20+): ```bash npm i -g @continuedev/cli @@ -56,25 +77,7 @@ Then run: cn ``` -## Cloud Agents - -Set workflows to run automatically on [PR opens](https://docs.continue.dev/guides/continuous-ai#pattern-2-the-pr-review-agent), [schedules](https://docs.continue.dev/guides/continuous-ai#pattern-1-the-async-triage-bot), or [any event trigger](https://docs.continue.dev/cli/quick-start#headless-mode) - -![Cloud Agents](docs/images/background-agent.gif) - -## CLI Agents - -Watch workflows execute in real-time and approve decisions step-by-step from your [terminal](https://docs.continue.dev/cli/quick-start#tui-mode) - -![CLI Agents](docs/images/cli-agent.gif) - -## IDE Agents - -Trigger workflows from [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension)—let agents handle the refactoring while you keep coding - -![IDE Agents](docs/images/agent.gif) - - +Looking for the VS Code extension? [See here](extensions/vscode/README.md). ## Contributing diff --git a/core/index.d.ts b/core/index.d.ts index 1e7c6ac4b..82941d189 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -4,6 +4,7 @@ import { PromptTemplates, ToolOverrideConfig, } from "@continuedev/config-yaml"; +import { ToolPolicy } from "@continuedev/terminal-security"; import { McpUiResourceMeta } from "@modelcontextprotocol/ext-apps"; import { TextResourceContents } from "@modelcontextprotocol/sdk/types.js"; import Parser from "web-tree-sitter"; diff --git a/core/tools/definitions/createRuleBlock.ts b/core/tools/definitions/createRuleBlock.ts index 2b8f1c4ed..f236bdb0f 100644 --- a/core/tools/definitions/createRuleBlock.ts +++ b/core/tools/definitions/createRuleBlock.ts @@ -59,7 +59,7 @@ export const createRuleBlock: Tool = { }, }, }, - defaultToolPolicy: "allowedWithPermission", + defaultToolPolicy: "disabled", systemMessageDescription: { prefix: `Sometimes the user will provide feedback or guidance on your output. If you were not aware of these "rules", consider using the ${BuiltInToolNames.CreateRuleBlock} tool to persist the rule for future interactions. This tool cannot be used to edit existing rules, but you can search in the ".continue/rules" folder and use the edit tool to manage rules. diff --git a/extensions/intellij/README.md b/extensions/intellij/README.md index b9db148b1..8fc151f10 100644 --- a/extensions/intellij/README.md +++ b/extensions/intellij/README.md @@ -13,29 +13,23 @@

-
+**[Source-controlled AI checks, enforceable in CI](https://docs.continue.dev)** -**Ship faster with Continuous AI** +> **Note:** The JetBrains plugin is now community-maintained. We strongly recommend using the [Continue CLI](https://docs.continue.dev/cli/quick-start) instead. It works in any environment, it's where our active development is happening, and it's a better experience than we can reliably provide through the plugin right now. Run `cn` in your terminal alongside your IDE and you get the same agent capabilities, the same model access, and the same configuration, without depending on a plugin framework we can't give the attention it deserves. -**The future of coding isn't writing more code. It's delegating the boring parts, so you can build the interesting stuff** - -
- -Get started in [Mission Control](https://continue.dev/hub?type=agents), [CLI (Headless Mode)](https://docs.continue.dev/cli/quick-start#headless-mode), or [CLI (TUI mode)](https://docs.continue.dev/cli/quick-start#tui-mode) - -## Agent +## JetBrains Agent [Agent](https://docs.continue.dev/features/agent/quick-start) to work on development tasks together with AI -## Chat +## JetBrains Chat [Chat](https://docs.continue.dev/features/chat/quick-start) to ask general questions and clarify code sections -## Edit +## JetBrains Edit [Edit](https://docs.continue.dev/features/edit/quick-start) to modify a code section without leaving your current file -## Autocomplete +## JetBrains Autocomplete [Autocomplete](https://docs.continue.dev/features/autocomplete/quick-start) to receive inline code suggestions as you type diff --git a/extensions/intellij/gradle.properties b/extensions/intellij/gradle.properties index 8a356c1e1..d0546f198 100644 --- a/extensions/intellij/gradle.properties +++ b/extensions/intellij/gradle.properties @@ -1,5 +1,5 @@ pluginGroup=com.github.continuedev.continueintellijextension -pluginVersion=1.0.60 +pluginVersion=1.0.61 platformVersion=2024.1 kotlin.stdlib.default.dependency=false org.gradle.configuration-cache=true diff --git a/extensions/vscode/README.md b/extensions/vscode/README.md index 26100f9c2..a91ffe425 100644 --- a/extensions/vscode/README.md +++ b/extensions/vscode/README.md @@ -19,31 +19,29 @@
-**Ship faster with Continuous AI** - -**Build and run custom agents across your IDE, terminal, and CI** +**[Source-controlled AI checks, enforceable in CI](https://docs.continue.dev)**
-## Agent +## VS Code Agent [Agent](https://docs.continue.dev/features/agent/quick-start) to work on development tasks together with AI ![agent](docs/images/agent.gif) -## Chat +## VS Code Chat [Chat](https://docs.continue.dev/features/chat/quick-start) to ask general questions and clarify code sections ![chat](docs/images/chat.gif) -## Edit +## VS Code Edit [Edit](https://docs.continue.dev/features/edit/quick-start) to modify a code section without leaving your current file ![edit](docs/images/edit.gif) -## Autocomplete +## VS Code Autocomplete [Autocomplete](https://docs.continue.dev/features/autocomplete/quick-start) to receive inline code suggestions as you type diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 9fbb02323..cfe48996f 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.31", + "version": "1.3.32", "repository": { "type": "git", "url": "https://github.com/continuedev/continue"