v2.0.12026-08-31
v2.0.1 把 Potpie 的本地优先架构收拢到一套统一的 Context Engine 运行时:库、资源管理器与进程内/守护进程执行共用同一套类型化契约,守护进程统一走 python -m potpie.daemon,旧的反射式宿主与 RPC 架构随之退役。
同时发布 potpie-context-engine v0.2.0,命名空间改为 potpiecontextengine;上下文图运行时与异步 reconciliation 转为公开,图读取、视图、排序、实体重分类、语义搜索与 workbench 命令一并改进。CLI 和守护进程并入根 potpie 包,新增 GitLab、GitBucket 集成,JSON 错误与退出码更规范,不再支持的旧服务与摄取命令已移除。兼容 Python 3.12–3.14,修复 aiohttp、cryptography、torch 等依赖中的多项 CVE。
迁移:potpie-context-core 已删除,导入改用新命名空间;破坏性图导入与修复操作现在要求确认,脚本化调用加 --yes。
v2.0.02026-07-03
Potpie v2.0.0
Potpie v2.0.0 introduces the new local-first Potpie architecture: a packaged CLI, local context engine, daemon workflow, and agent-facing context graph designed for installation and use outside the development repository.
This release makes Potpie’s context graph available through the main potpie package and the potpie-context-engine package, giving users a cleaner way to install, set up, and validate local repository context, CLI workflows, and agent integrations.
Highlights
Local Context Engine and CLI
Potpie v2 ships the foundation for the local context engine, including a packaged daemon workflow, improved setup and authentication flows, GitHub login handling, root CLI version support, and installability through uv tool install potpie.
Agent Runtime and Context Graph
The release strengthens agent workflows with Potpie skills, agent-facing context graph support, a graph workbench command surface, graph explorer UI, and improved read-surface and domain contracts for context-engine usage.
Integrations
Potpie v2 expands context-graph integrations with Linear and Jira ingestion, executable diff-sync skills, GitHub and Linear OAuth packaging support, and improved flow through Pot creation with agent harness skills.
Cleanup and Platform Direction
Potpie v2 deprecates older server, library, UI-submodule, scanner-ingest, and dead context-engine surfaces that are no longer part of the OSS direction. It also includes dependency, CVE, Vanta, credential-storage, and auth hardening work.
Potpie v2.0.0 is the stable release of the v2 line, intended for users and contributors to install Potpie directly, run the local context engine, and use the new CLI and context graph as the foundation for local agent workflows.
What's Changed
* fix(deps): upgrade torch to 2.12.0 for Python 3.13.8 and add missing tree-sitter packages by @ASCE-D in https://github.com/potpie-ai/potpie/pull/793
* med vulns fixed by @shmbhvi101 in https://github.com/potpie-ai/potpie/pull/812
* fix(ci): harden prod Jenkins deployment pipelines by @yashkrishan in https://github.com/potpie-ai/potpie/pull/752
fix: move PROJECTPATH from os.getenv() to ConfigProvider by @arnavp27 in https://github.com/potpie-ai/potpie/pull/666
* feat(observability): new logging + Sentry + logfire package by @yashkrishan in https://github.com/potpie-ai/potpie/pull/785
* feat(observability): switch the codebase to the new logging package by @yashkrishan in https://github.com/potpie-ai/potpie/pull/790
* feat(hatchet): optional durable agent runtime by @ASCE-D in https://github.com/potpie-ai/potpie/pull/816
* feat(hatchet): route regenerate through backend selection by @ASCE-D in https://github.com/potpie-ai/potpie/pull/817
* Fix auth responses, agent tool wiring, user setup, and logging by @loopassembly in https://github.com/potpie-ai/potpie/pull/758
* Add docker ignore by @jdyaberi-pp in https://github.com/potpie-ai/potpie/pull/830
* feat(cli): potpie skills manager (fixes POT-1397) by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/840
* Remove potpie library (solves POT-1499) by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/848
* feat(debug-agent): VS Code DAP debug loop with hypothesis-driven workflow by @ASCE-D in https://github.com/potpie-ai/potpie/pull/845
* Remove potpie-ui as submodule by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/850
* Feat/local context engine by @nndn in https://github.com/potpie-ai/potpie/pull/853
* chore: clean up by @nndn in https://github.com/potpie-ai/potpie/pull/854
* Deprecate the server and related components by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/851
* Fixed Med Vulnerabilities by @shmbhvi101 in https://github.com/potpie-ai/potpie/pull/856
* feat(context-graph): one-shot Linear team ingestion skill + CLI trigger by @yashkrishan in https://github.com/potpie-ai/potpie/pull/839
* fix(github): stop leaking shared/system OAuth tokens across users (#727) by @ASCE-D in https://github.com/potpie-ai/potpie/pull/859
fix(users): remove debug/PII log statements from userservice (#633) by @ASCE-D in https://github.com/potpie-ai/potpie/pull/860
* Fix missing context graph files in migration by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/858
* Complete flow till Pot creation along with Agent harness skills added with Multiple integrations added. by @shmbhvi101 in https://github.com/potpie-ai/potpie/pull/855
* feat(context-graph): one-shot Jira project ingestion skill + CLI trigger (POT-1442) by @yashkrishan in https://github.com/potpie-ai/potpie/pull/857
* feat(context-graph): Jira/Linear integration + executable diff-sync skills by @yashkrishan in https://github.com/potpie-ai/potpie/pull/864
* Add support for logging errors in sentry for cli and daemon) by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/865
* Added potpie skill to agents selected by @shmbhvi101 in https://github.com/potpie-ai/potpie/pull/869
* Add faster indexing and search capabilities using fff by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/866
* Fix context-engine CI regression for missing fixtures and flaky OAuth by @Nih1tGupta in https://github.com/potpie-ai/potpie/pull/871
* Improve CLI Integration auth UX (POT-1410 and POT-1541) by @Nih1tGupta in https://github.com/potpie-ai/potpie/pull/863
* Removed unecessary data shown in UI by @shmbhvi101 in https://github.com/potpie-ai/potpie/pull/872
* Fix shared CLI auth credential regressions by @Nih1tGupta in https://github.com/potpie-ai/potpie/pull/874
* [Vanta] Fix Low vulnerabilities in potpie-ai/potpie by @cursor[bot] in https://github.com/potpie-ai/potpie/pull/875
* BEAUTIFY CLI OUTPUT by @shmbhvi101 in https://github.com/potpie-ai/potpie/pull/877
* Fix interactive setup source deferral by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/882
* Don't use potpie observability package for v0 analytics by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/878
* feat: add Sentry metrics instrumentation by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/886
* Add posthog instrumentation by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/885
* Add PostHog CLI usage instrumentation by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/888
* [Vanta] Fix High vulnerabilities in potpie-ai/potpie by @cursor[bot] in https://github.com/potpie-ai/potpie/pull/883
* fix(cli): smooth GitHub login cancel flow, auto-open countdown, and setup skip when authenticated by @BrhKmr23 in https://github.com/potpie-ai/potpie/pull/880
* Restore detached context-engine daemon lifecycle by @Dsantra92 in https://github.com/potpie-ai/potpie/pull/889
New Contributors
* @arnavp27 made their first contribution in https://github.com/potpie-ai/potpie/pull/666
* @loopassembly made their first contribution in https://github.com/potpie-ai/potpie/pull/758
Full Changelog: https://github.com/potpie-ai/potpie/compare/v1.1.1...v2.0.0
v2.0.0b3预发布2026-06-24
Potpie v2 首个 beta 版已登陆 PyPI,同时发布主包 potpie==2.0.0b3 与上下文引擎包 potpie-context-engine==0.1.0b3,可通过 uv 安装:
uv tool install potpie
这版的目标是把本地上下文引擎、守护进程和新版 CLI 从开发仓库搬到可安装的状态,供早期用户与贡献者验证安装配置、上下文图行为、CLI 流程以及 agent 集成。属于测试版本,不建议直接用于生产。
功能方面,补齐了上下文引擎的领域契约、写入模型、读取接口与 FalkorDB 后端,落地独立守护进程运行时,并新增 CLI 图工作台命令与图形化探索界面;安全上修复了仓库全部已知 CVE 及多项高、中、低危漏洞,同时调整了遥测与 OAuth 客户端 ID 的打包方式,移除了废弃的扫描摄取路径和可观测性包。
v2.0.0b1预发布2026-06-18
Potpie v2.0.0b1 预发布版:为 2.0 打下地基,重点是本地优先的上下文引擎——新增本地 context engine 基础框架,配套 CLI 与守护进程工作流优化,恢复了 detached daemon 生命周期支持,登录与安装流程也更顺手。Agent 运行时方面,可通过 Hatchet 开启持久化执行,重新生成改走后端选择逻辑,并加入 VS Code DAP 调试回路,支持假设驱动的排查方式。集成能力上,Linear 团队与 Jira 项目均可一次性导入,并带可执行的 diff-sync skills。可观测性整体换新:日志、Sentry、Logfire 打包统一接入,CLI 与 daemon 错误上报、指标统计与 PostHog 使用埋点一并补齐。同时弃用旧 server,移除 library 与 UI 子模块,索引检索改用 FFF 提速。此版本仅供新架构早期验证,稳定版仍需等待 v2.0.0。
v1.1.12026-05-20
v1.1.1 这个候选版本主要打磨 @ 文件提及与模糊搜索的底层能力。后端新增了一套仓库文件结构索引:在仓库初始化之前,就能从本地裸仓库直接读取完整目录树,支持分支、标签和提交 SHA 等引用,返回路径、类型、权限模式与层级关系等结构化元数据。这样一来,用户输入 @ 后模糊搜索文件或目录会更快更稳,同时绕开了 GitHub API 的 tree 数量限制,超大仓库也能顺畅使用。
另外修复了 context-engine 合并后出现的 CI 挂掉问题,并按严重程度清理了多批安全漏洞。涉及 PR:#764、#765,以及 #766、#770、#773、#779、#784、#788。
v.1.1.02026-05-06
v1.1.0:Potpie 重构了 Agent 执行架构
这版核心变化是引入与后端无关的沙箱层:Agent 不再直接操作宿主机文件系统,也不必每次会话都完整 clone 仓库。仓库交互统一走沙箱层,管理持久化 bare 仓缓存、临时 git worktree,以及可插拔的执行后端——本地子进程、Docker、Daytona、NFS 挂载均已支持,e2b 在计划中。工具集也整体重做,碎片化的旧工具合并为统一的 sandbox_* 接口,会话开始时即绑定 workspace 句柄,省去每次调用的项目解析开销;写操作在只读工作区中自动隐藏。
性能方面,仓库解析完成就预热缓存,Agent 首次调用即可开工;支持按行读取文件、结构化 JSON 工具输出,并对 shell(80KB)与搜索(200 条)输出设上限,避免上下文膨胀。安全上新增能力标志(可写/隔离/持久),凭据按次注入且不落盘,拒绝 .. 路径穿越。
旧的非沙箱文件系统工具已弃用;LocalSubprocessRuntimeProvider 配合 allow_write=True 不构成安全边界,不可用于不可信负载。
v1.0.22026-04-22
Potpie 1.0.2:解析流程并行化与混合检索升级
这版把代码解析整体重构进了新的 app/src/parsing/ 模块,旧的 creategraphrs Rust 模块随之退役。新模块基于 tree-sitter 支持多语言,含 800 多行标签提取逻辑,并通过 PyO3 暴露 Python 接口。
检索质量是重点:代码图谱管线接入 Qdrant,采用 ColBERT 稠密向量加 BM25 稀疏向量的混合索引,代码搜索效果更好;索引失败不再阻断图谱创建,项目清理时同步删除数据。Qdrant 的连接配置(host、port、gRPC、API Key、HTTPS)也一并补齐。
会话方面,创建时可传 attachmentids,首条消息的附件先存 Redis,客户端未重发也能追溯应用;多模态处理从仅支持图片扩展到文档(AttachmentType.DOCUMENT);新增 updateagent 接口,可在对话中动态切换 Agent。
另有几项修复:Docker 下的 Rust 构建(#744)、使用三级 GitHub token 解析时的未绑定变量错误(#748)、邮箱密码注册的 Slack 告警(#747)等。
v.1.0.12026-04-15
Potpie v1.0.1:新增 Spec Gen 规格生成 agent,代码生成 agent 改为把改动写入 worktree,PR 创建工具能拿到完整上下文;代码库列表加分页,解析失败会触发邮件告警,另加入 Rust 解析模块。稳定性方面修复了 Neo4j 连接泄漏、异步调用与 setupprojectdirectory 的 UnboundLocalError,大体积工具结果改为截断且不再入库。API Key 支持在本地回退到密钥加密环境变量生成;接入 Logfire 日志与 Stripe 订阅用量上报。安全上修复多轮 Vanta 高危及中低危漏洞,并搭建测试套件与数据种子,设定 50% 覆盖率与 PR 回归门槛。
v1.0.02026-02-23
Potpie v1.0.0 是一次面向「规格驱动开发」的大版本更新,围绕大型代码库中复杂变更的研究、规划与实施搭建了整套基础设施。内置编码 Agent 在 SWE Bench Lite 上取得 63% 的成绩,位居榜单前列。
本次新增了 Subagents 多 Agent 督导/委派架构,让任务可隔离执行;配套的 To-do list 工具便于 Agent 追踪进度、协调多步任务。编码 Agent 换上「研究/规划/实现」的结构化工作流,并补全了 commit、push、PR、评论等端到端自动化能力。借助 Repo Manager,bash 与本地 worktree 操作更可靠,旧仓库与非裸仓库的兼容也做了修整。
集成方面新增 Slack、Linear、Confluence、Jira 的 OAuth 与 webhook,支持 Gitbucket 等代码源,聊天支持图片与多模态开关;认证新增 Gmail SSO 及工作邮箱校验。依赖管理从 pip 迁移到 uv,并集中修复了若干 CVE 安全问题。VS Code 扩展现在可直接调用知识图谱与 Agent,在本地终端完成执行。
0.1.72025-06-13
v0.1.7 主要围绕工具能力与稳定性做了一轮迭代。工具侧新增了 Web Search 和 fetch files,配合 prompt 与 pydantic agent 的调整,智能体现在能更灵活地检索和读取资料;模型调用加上了重试机制,模型列表也做了更新,并接入 OpenRouter。会话与 API 路由器引入用量上限,避免资源被滥用。数据处理方面,解码错误现在会被捕获并兼容 UTF-8 等多种编码,update branch 工具不再泄露 token,解析改为按 commit id 定位并修复了合并冲突问题。共享对话时会校验收件人邮箱格式。性能上,目录递归不再每次重复解析 .gitignore。此外还修了 logger 传递、apikeyservice 的错误处理、本地文件结构读取,补了服务端停止脚本,并把 UI 更新到最新版本。