Add plugins
Add a plugin with one line in your config, pass it options, turn one off, and see the plugins conciv ships.
A plugin adds tools for the agent and screens for the widget. You add one with the plugins option of your conciv
config.
List your plugins
List plugins in plugins:
import {} from 'vite'
import from '@conciv/it/plugin/vite'
export default ({
: [
({
: ['@conciv/plugin-test-runner', './tools/deploy'],
}),
],
})import type {NextConfig} from 'next'
import {} from '@conciv/it/plugin/nextjs'
const : NextConfig = {}
export default (, {
: ['@conciv/plugin-test-runner', './tools/deploy'],
})const conciv = require('@conciv/it/plugin/webpack')
module.exports = {
mode: 'development',
plugins: [
conciv.default({
plugins: ['@conciv/plugin-test-runner', './tools/deploy'],
}),
],
}const conciv = require('@conciv/it/plugin/rspack')
module.exports = {
mode: 'development',
plugins: [
conciv.default({
plugins: ['@conciv/plugin-test-runner', './tools/deploy'],
}),
],
}Restart your dev server to load them.
'@conciv/plugin-test-runner'is a package name. The engine installs it from npm into its own cache, so you do not add it to yourpackage.json.'./tools/deploy'is a folder in your project. It resolves from your project folder, not from the config file.
Pass options
Write an entry as a pair, the name and then its options:
import {} from 'vite'
import from '@conciv/it/plugin/vite'
export default ({
: [
({
: [['@conciv/plugin-test-runner', {: 'playwright'}]],
}),
],
})Every option value must be JSON: a string, number, boolean, null, array or object.
Turn a plugin off
Put - before a plugin's id:
import {} from 'vite'
import from '@conciv/it/plugin/vite'
export default ({
: [
({
: ['-project-version'],
}),
],
})This turns off a plugin that loads on its own, such as one in the conciv/plugins folder.
Add a plugin from your project
Every plugin in a conciv/plugins folder at your project root loads with no config entry. A plugin there is one
.ts or .js file, or a folder:
The engine watches these files. Save a change and the plugin loads again with no restart. Learn to write one in the first plugin guide.
The plugins conciv ships
The first two are on in every widget. Add the others with the line in the third column.
| Plugin | What it gives you | Add it | Options |
|---|---|---|---|
| Page | The agent reads and drives the page you have open. See Page control. | On by default | None |
| Terminal | The Terminal tab, the agent CLI in a terminal. See Terminal. | On by default | None |
| Test runner | Runs your tests from the chat, live in a Tests tab. See Live tests. | '@conciv/plugin-test-runner' | runner: vitest (default) or playwright |
| Recorder | Records the page, replays it and exports a video. See Live recorder. | '@conciv/plugin-recorder' | masking, windowMinutes, console |
| TanStack | Build errors, routes and server function calls of a TanStack app. See TanStack. | '@conciv/plugin-tanstack' | bundlerWaitMs |
| iOS | Builds, runs, screenshots and reads the logs of your iOS app in the simulator. See iOS. | ['@conciv/plugin-ios', {...}] | projectRoot and bundleId (required), and more |
| Whiteboard | A shared canvas over the app. See Whiteboard. | '@conciv/plugin-whiteboard' | None |
| Try it | The connect pane of the widget on conciv.dev. | Not added in config | None |
Next steps
- Live tests: the test runner, step by step.
- Live recorder: the recorder and its options.
- TanStack: the TanStack plugin and its tools.
- iOS: every iOS plugin option.
- Plugins: write a plugin of your own.