Cursor 推出 Origin 代码托管:Beta 上线,支持仓库、PR 与 GitHub 同步
Origin Code Hosting
Cursor 用户注意:Origin 代码托管已开始 Beta 推送,付费用户可立即体验。它把代码、PR 与 Agent 整合到同一平台,并支持 GitHub 双向同步,建议创建首个仓库并连接 GitHub 试用。
Cursor can now host your code.
Cursor 现在可以托管你的代码。
Origin begins rolling out today in early beta on all paid plans. We're starting with the essentials, designed for agent scale: repos, pull requests, code browsing, and GitHub sync. Agent-native features ship soon.
Origin 今天开始在所有付费计划中推出早期测试版。我们从基础功能入手,专为代理规模设计:仓库、拉取请求、代码浏览和 GitHub 同步。代理原生功能即将推出。
Origin Repos
Origin 仓库
The new Codebase tab is home for Origin repos.
新的 **代码库** 标签页是 Origin 仓库的所在地。
Click **+New** to create a new repo and name it. Once you do, a page shows you how to install the CLI, with commands for how to clone a repo or push a local project. Push, and your code is hosted on Origin.
点击 **+新建** 创建新仓库并命名。完成后,页面会显示如何安装 CLI,以及克隆仓库或推送本地项目的命令。推送后,你的代码就托管在 Origin 上。
Name your codebase when you create your first repo. That name becomes part of every repo's URL: cursor.com/codebase/`acme-corp`.
创建第一个仓库时,为你的代码库命名。该名称将成为每个仓库 URL 的一部分:cursor.com/codebase/`acme-corp`。
Bring your GitHub repos
导入你的 GitHub 仓库
Your GitHub repos can sit alongside the ones Cursor hosts. Connect GitHub to Cursor, pick your org, and you'll see the repos you can sync. Select one and Cursor pulls it in. You choose what gets synced and can disconnect a repo at any time. Anyone with read or write access to a synced repo can view it in Cursor too.
你的 GitHub 仓库可以与 Cursor 托管的仓库并排放置。将 GitHub 连接到 Cursor,选择你的组织,就能看到可以同步的仓库。选择一个,Cursor 就会拉取它。你可以选择同步内容,并随时断开仓库连接。任何对同步仓库有读写权限的人也可以在 Cursor 中查看它。
Synced repos update in real time. Browse, search, and pull from the copy in Origin. Pushes keep going to GitHub, which stays the source of truth for anything started there. Icons next to each repo name tell you which ones Cursor hosts and which came from GitHub.
同步的仓库会实时更新。浏览、搜索并从 Origin 中的副本拉取。推送仍会继续到 GitHub,对于在那里开始的任何内容,GitHub 仍然是事实来源。每个仓库名称旁边的图标会告诉你哪些是 Cursor 托管的,哪些来自 GitHub。
Pull requests
拉取请求
Every repo has pull requests. Open one to see the timeline, commits, checks, and files changed. Review the diff, leave comments, and merge.
每个仓库都有拉取请求。打开一个即可查看时间线、提交、检查和文件更改。查看差异、发表评论并合并。
Pull requests on synced repos sync both ways: comment in Cursor and it posts to GitHub, react or reply on GitHub and it shows up in Cursor within seconds. Got a review assigned to you on GitHub? Review and merge it from Cursor.
同步仓库上的拉取请求双向同步:在 Cursor 中评论会发布到 GitHub,在 GitHub 上回复或回应会在几秒内显示在 Cursor 中。在 GitHub 上有分配给你的审查任务?从 Cursor 中审查并合并即可。
Agents in every repo
每个仓库中的代理
Your code, PRs, and agents are now in the same place. Ask Cursor questions about code you're browsing. It can answer, make changes, update PRs, or push a branch.
你的代码、PR 和代理现在都在同一个地方。向 Cursor 询问你正在浏览的代码相关问题。它可以回答、进行更改、更新 PR 或推送分支。
App extensions for Cursor repos
Cursor 仓库的应用扩展
We're building an app ecosystem so your whole stack works seamlessly with Origin. Integrations with Vercel, Depot, and Buildkite are already available, with more coming soon.
我们正在构建一个应用生态系统,让你的整个技术栈与 Origin 无缝协作。与 Vercel、Depot 和 Buildkite 的集成已经可用,更多集成即将推出。
Connect Vercel from a repo's Apps tab and every PR gets a preview deployment where you can test and make comments. Merge, and it ships to production. For CI, connect Depot or Buildkite. Both run your existing GitHub Actions workflows and Buildkite also runs its native pipelines.
从仓库的 **应用** 标签页连接 Vercel,每个 PR 都会获得一个预览部署,你可以在其中测试并发表评论。合并后,它就会发布到生产环境。对于 CI,连接 Depot 或 Buildkite。两者都能运行你现有的 GitHub Actions 工作流,Buildkite 还能运行其原生流水线。
<figure><img src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/changelog/origin-apps-VXN2qUBlVUoZVFkdDCeojn1GkN4IIb.png" loading="lazy" alt="Vercel, Depot, and Buildkite apps connected to an Origin repo" /><figcaption>Vercel, Depot, and Buildkite apps connected to an Origin repo</figcaption></figure>
<figure><img src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/changelog/origin-apps-VXN2qUBlVUoZVFkdDCeojn1GkN4IIb.png" loading="lazy" alt="连接到 Origin 仓库的 Vercel、Depot 和 Buildkite 应用" /><figcaption>连接到 Origin 仓库的 Vercel、Depot 和 Buildkite 应用</figcaption></figure>
Settings
设置
Every repo has settings. Check sync status for GitHub repos, manage who has access, and see which apps are connected.
每个仓库都有设置。检查 GitHub 仓库的同步状态,管理谁有访问权限,并查看哪些应用已连接。
<figure><img src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/changelog/origin-settings-tipE1aGfr5qnTYJlRVBbwYwqsxfCSC.png" loading="lazy" alt="Origin repo settings showing sync status, access, and connected apps" /><figcaption>Origin repo settings showing sync status, access, and connected apps</figcaption></figure>
<figure><img src="https://ptht05hbb1ssoooe.public.blob.vercel-storage.com/assets/changelog/origin-settings-tipE1aGfr5qnTYJlRVBbwYwqsxfCSC.png" loading="lazy" alt="显示同步状态、访问权限和已连接应用的 Origin 仓库设置" /><figcaption>显示同步状态、访问权限和已连接应用的 Origin 仓库设置</figcaption></figure>
Origin is rolling out in early beta to all paid plan users starting today, except enterprise orgs whose admins opt out. Name your codebase and create your first repo.
从今天起,Origin 将向所有付费计划用户推出早期测试版,但企业组织管理员选择退出的除外。为你的代码库命名并创建你的第一个仓库。
Learn more in our docs or get started today.
在我们的文档中了解更多信息,或立即开始使用。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力