Skip to Content
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, init included.
  • @conciv/unplugin: how conciv starts with a dev server, on every bundler. @conciv/it wraps it.

The engine

The widget

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.

Tests

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.

On this page