Core · Reference

Core and tool package index

Use this index to map a capability to its package and public source. It is not a dependency list that every application must install; the application's manifest and lockfile determine its dependencies. See the Plugin index and API reference for plugins and common interfaces.

Use this index

  • Prefer the runtimes and services already integrated by the application template.
  • Import package roots or public subpaths declared in package.json, rather than private dependency files under src/ or dist/.
  • Keep server libraries in server code; use browser-compatible entries in client code.
  • Plugins provide runtime extensions. UI Registry provides editable source installed into the consuming project. Manage their dependencies and updates separately.

Application runtimes

PackagePurpose
@nocobase/app-clientClient applications, routes, services and React extensions
@nocobase/app-serverServer applications, HTTP, configuration and resource integration
@nocobase/app-cliApplication commands and development/build tooling
@nocobase/app-websocketWebSocket contracts and the Node server adapter

Core libraries

PackagePurpose
@nocobase/api-clientHTTP requests, streaming responses and remote Repositories
@nocobase/authorizationAuthorization, permission sets and data scopes
@nocobase/cachingCaching interfaces and adapters
@nocobase/configConfiguration sources, parsers and merging
@nocobase/dbData models, queries, migrations, transactions and database extensions
@nocobase/driveFile storage and storage drivers
@nocobase/i18nClient and server localization runtime
@nocobase/jobsBackground jobs and recurring scheduling
@nocobase/lifecycleRecord states, transitions and post-commit effects
@nocobase/loggingLogging interfaces, formats and output
@nocobase/mailerEmail delivery through SMTP, Resend and related mechanisms
@nocobase/queueQueues, producers and consumers
@nocobase/realtimeRealtime messages, client subscriptions and server topic authorization
@nocobase/repository-inputQuery input contracts and builders shared by browsers and servers
@nocobase/secretsVersioned keys and sensitive-data encryption
@nocobase/service-providerService containers, tokens, dependency injection and lifecycle
@nocobase/sessionSessions and session storage
@nocobase/snowflakeSnowflake ID generation
@nocobase/document-extractorIsolated document text extraction
@nocobase/markdown-mermaidMermaid diagrams in React Markdown

Database dialects

PackagePurpose
@nocobase/db-sqliteSQLite
@nocobase/db-postgresPostgreSQL
@nocobase/db-mysqlMySQL and MariaDB
@nocobase/db-mssqlMicrosoft SQL Server
@nocobase/db-oracleOracle Database

Commercial dialects include @nocobase/db-dameng, @nocobase/db-kingbase and @nocobase/db-oceanbase. See Database support and version compatibility for connection modes and version checks.

Agent and remote-command packages

PackagePurpose
@nocobase/acp-bridgeConnect local coding Agents through ACP
@nocobase/agent-protocolCommunication protocols for applications, Runners and remote CLIs
@nocobase/agent-runnerConnect to applications and claim and execute Agent runs
@nocobase/app-cli-clientSign in to applications and call their published remote business commands
@nocobase/cli-envelopeCLI JSON output contracts and Node version checks

Development and testing tools

PackagePurpose
@nocobase/app-skillsSkills for app development, upgrades, deployment and plugin development
@nocobase/app-testingApplication and plugin test helpers
@nocobase/db-testingIsolated database environments and portable test helpers
@nocobase/db-testkitShared integration-test contracts for database dialects
@nocobase/dev-configShared TypeScript, ESLint, Vitest, Vite and related configuration
@nocobase/create-appApplication scaffolding
@nocobase/create-pluginPlugin scaffolding

Deployment and hosting tools

PackagePurpose
@nocobase/app-installerInstall, upgrade and roll back applications from deployment archives
@nocobase/app-hostApplication runtime hosting
@nocobase/app-host-dockerDocker hosting backend for App Host

Installation and versions

Use the project lockfile to reproduce dependencies. During upgrades, check the template, runtimes, plugin peer dependencies and database dialects together. Packages have independent version numbers; their major versions do not determine whether they belong to NocoBase 2 or 3.

Create an app with pnpm create @nocobase/app@beta and a plugin with pnpm create @nocobase/plugin@beta. Their implementation packages are @nocobase/create-app and @nocobase/create-plugin. See the Command-line reference for commands within an app.

Verification scope

Package names, locations and purposes were checked on 2026-10-27 against Core revision 015404ecd0db. A beta version is not a permanent compatibility baseline; installed public entries and type declarations define the available interfaces.

NocoBase docs assistant

Ask anything about NocoBase…

Each question is answered independently, without earlier questions or answers. Include all relevant context.