Contributing
Packages
Which package in the conciv repo to open for the change you want to make.
This page is for working on conciv itself. An app installs only @conciv/it. The repo holds one folder per package
under packages/. Each list below names the package to open for one kind of change. A @conciv/* package is
published to npm. An @internal/* package is never published. It is built into the package that uses it.
Install conciv in an app
@conciv/it: what an app installs, with the build plugin for each bundler.@conciv/cli: the CLI,initincluded.@conciv/unplugin: how conciv starts with a dev server, on every bundler.@conciv/itwraps it.
The engine
@conciv/backend-defaults: the engine, with its HTTP and rpc surface, login, chat and code mode.@conciv/backend-app-api: the plugin host, the tool service, permissions and hooks.@conciv/backend-plugin-api: what a plugin's engine part imports. Change it only to change the plugin API.@conciv/backend: the shipped engine, and the plugins it always loads.@conciv/harness: one adapter per agent CLI.
The widget
@internal/frontend-defaults: the widget shell, with the router, the pane, the composer, sessions and settings.@internal/frontend-app-api: plugin loading in the browser, and what plugins save.@conciv/frontend-plugin-api: what a plugin's browser part imports.@conciv/app: the shipped widget, its built-in plugins and the widget bundle.@conciv/ui-kit-system,ui-kit-chat,ui-kit-chat-toolsandui-kit-terminal: the base parts, the thread and composer, the tool cards and the terminal.@conciv/react,preactandsolid: the widget as a component, for an app that places it itself.
Both sides
@conciv/protocol: the rpc contract between the widget and the engine.@conciv/types: the wire types and the config schema. A new conciv option starts here.@conciv/client: the browser's connection to the engine.@conciv/home: the per-user registry, so engines, connected agents and the CLI find each other.
Plugins
Each plugin is one package under packages/plugins/, with its engine part and its browser part together.
@conciv/plugin-page: the agent's actions in an open tab.@internal/plugin-terminal: the session's Terminal tab.@conciv/plugin-test-runner: runs tests into the Tests tab.@conciv/plugin-recorder: records the page for the agent.@conciv/plugin-tanstack: TanStack Router and Start tools.@conciv/plugin-ios: builds and runs an iOS app in the simulator.@conciv/plugin-whiteboard: the shared canvas over the app.@conciv/plugin-try-it: starts a local engine from the conciv.dev site.
Tests
@conciv/backend-test-utils: starts the real engine with a scripted model, for engine and plugin tests.@internal/frontend-test-utils: renders a plugin's screens, or the whole widget, against a fake or a real engine.@internal/test-utils: the fake engine those renders use.@conciv/simulation: the engine with a driver in place of the model. Learn more in Drive the widget from a script.
The repo's rules
No package may depend on another in a loop, through any dependency field. A test lives in the package whose code it
tests. The repo's AGENTS.md holds the full rules.
Next steps
- Engine and widget: how the engine and the widget connect.
- Plugins: add a feature as a plugin, the usual way to change conciv.