@generalintelligence/cofounder

中文文档
0.1.1-preview.43493110368发布于 2026/11/14SEE LICENSE IN LICENSE近 30 天下载 2.3万

Cofounder CLI (production).

原始使用文档
文档目录7 节
  1. Get started
  2. Vercel CLI
  3. Find your next milestone
  4. Working with your coding agent
  5. Production and staging
  6. Updates and supported platforms
  7. Documentation

Cofounder CLI

Cofounder connects you and your coding agent to the company behind your product: persistent resources and operations such as hosting, databases, domains, email, payments, and analytics.

Keep using your local tools for code, Git, and tests. Use Cofounder to manage company resources, permissions, approvals, and status in one shared place. Your next session can pick up from the company's current state instead of reconstructing it from chat history.

Get started

You'll need Node.js 22 or newer.

npm install -g @generalintelligence/cofounder [email protected]
cofounder auth login
cofounder company list
cofounder --help

Select a company with cofounder company use COMPANY_ID, replacing COMPANY_ID with an ID from the list. Starting a new company? Run cofounder company create --help. Add --json to commands when you need structured output for scripts or agents.

Vercel CLI

The install command above installs the official vercel package alongside Cofounder. Both Cofounder environments use that same vercel command. Request credentials with cofounder hosting credentials create --resource-id <id> --json, then export its env fields and run Vercel commands directly. Cofounder does not automatically renew these credentials.

If you already have a compatible global Vercel installation, you can omit [email protected] from the install command. Global Vercel updates are managed separately from Cofounder. Project-local Cofounder installs include the pinned Vercel dependency and its ordinary vercel executable automatically.

Find your next milestone

After selecting a company, see where it stands and what to work on next:

cofounder roadmap get

The roadmap shows your recommended milestone and progress by department. Inspect a milestone with roadmap nodes get --node-key <milestone-key>. Viewing the roadmap doesn't start work.

Working with your coding agent

Use local tools to build and test your project. For company operations:

  1. Find the Cofounder Capability that matches your goal—the instructions and tools for that kind of work.
  2. Check the company's existing resources and requirements.
  3. Follow the Capability's instructions, use its tools, and respect required approvals.
  4. Verify the outcome and keep its receipt or evidence.

Cofounder is the source of truth for its managed resources, permissions, approvals, and status. Reuse those resources rather than creating parallel infrastructure directly with a provider when Cofounder supports the work.

If multiple resources match, ask which one to use. If Cofounder doesn't support the work, say so before taking another path.

A project-local .cofounder/ directory may identify the project. It must not contain credentials or be treated as live company state.

Production and staging

This package runs cofounder and connects to https://api.cofounder.co by default. Saved login and settings live in ~/.cofounder, outside your project. Production and staging commands can be installed together and keep separate saved logins. Explicit COFOUNDER_CONFIG_DIR and API URL overrides remain supported.

Updates and supported platforms

Update with npm install -g @generalintelligence/cofounder@latest.

Supported: macOS ARM64 (Apple Silicon; Intel Macs are not supported), Linux glibc x64/ARM64, and Alpine Linux musl x64. You don't need Bun. Keep npm optional dependencies enabled; reinstall if the platform package is missing.

Documentation

Visit the Cofounder docs for guides to the workspace, roadmap, company resources, and more. Use cofounder --help for available CLI commands.

版本与发布记录

@generalintelligence/cofounder 共发布 227 个版本,首次发布于 2026/09/17;过去 12 个月发布了 227 个版本。

版本发布日期距今
0.1.1-preview.43493110368latest2026/11/142 天前
0.1.1-preview.434835248372026/11/142 天前
0.1.1-preview.434636180662026/11/142 天前
0.1.1-preview.434535667232026/11/132 天前
0.1.1-preview.433753084712026/11/132 天前
0.1.1-preview.433395426402026/11/133 天前

关于 @generalintelligence/cofounder 的常见问题

@generalintelligence/cofounder 是什么?

Cofounder CLI (production).

如何安装 @generalintelligence/cofounder?

在项目目录运行 npm install @generalintelligence/cofounder,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 cofounder,可以用 npx cofounder 直接运行。

@generalintelligence/cofounder 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/generalintelligence__cofounder 是否存在。

@generalintelligence/cofounder 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@generalintelligence/cofounder 可以商用吗?

@generalintelligence/cofounder 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@generalintelligence/cofounder 的下载量有多少?

根据 npm 官方下载统计,@generalintelligence/cofounder 在 2026/10/16 – 2026/11/14 这 30 天内被下载 23,104 次,日均约 770 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@generalintelligence/cofounder 还在维护吗?

最新版本 0.1.1-preview.43493110368 发布于 2026/11/14(2 天前);至今共发布 227 个版本,其中过去 12 个月发布了 227 个;首次发布于 2026/09/17。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。