Skip to Content

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:

vite.config.ts
import {} from 'vite'
import  from '@conciv/it/plugin/vite'

export default ({
  : [
    ({
      : ['@conciv/plugin-test-runner', './tools/deploy'], 
    }),
  ],
})
next.config.ts
import type {NextConfig} from 'next'
import {} from '@conciv/it/plugin/nextjs'

const : NextConfig = {}

export default (, {
  : ['@conciv/plugin-test-runner', './tools/deploy'], 
})
webpack.config.js
const conciv = require('@conciv/it/plugin/webpack')

module.exports = {
  mode: 'development',
  plugins: [
    conciv.default({
      plugins: ['@conciv/plugin-test-runner', './tools/deploy'], 
    }),
  ],
}
rspack.config.js
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 your package.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:

vite.config.ts
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:

vite.config.ts
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:

project-version.ts
server.ts

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.

PluginWhat it gives youAdd itOptions
PageThe agent reads and drives the page you have open. See Page control.On by defaultNone
TerminalThe Terminal tab, the agent CLI in a terminal. See Terminal.On by defaultNone
Test runnerRuns your tests from the chat, live in a Tests tab. See Live tests.'@conciv/plugin-test-runner'runner: vitest (default) or playwright
RecorderRecords the page, replays it and exports a video. See Live recorder.'@conciv/plugin-recorder'masking, windowMinutes, console
TanStackBuild errors, routes and server function calls of a TanStack app. See TanStack.'@conciv/plugin-tanstack'bundlerWaitMs
iOSBuilds, runs, screenshots and reads the logs of your iOS app in the simulator. See iOS.['@conciv/plugin-ios', {...}]projectRoot and bundleId (required), and more
WhiteboardA shared canvas over the app. See Whiteboard.'@conciv/plugin-whiteboard'None
Try itThe connect pane of the widget on conciv.dev.Not added in configNone

Next steps

On this page