Release Notes
These notes summarize recent product releases by what readers and Agents notice. The complete history is in the Context CHANGELOG and the Agent Graph CHANGELOG. The site's own Changelog entry in the More menu is different: it lists the versions of this documentation, not product releases.
To upgrade Context, run the same two commands as a first installation — npm install -g @c4a/context-cli@latest and context plugin install — and restart the Agent session, or let the Agent do it when you next start production; see Installation. An active knowledge workspace needs no migration step: the next context status returns a fresh Route for the upgraded CLI, and workflow read receipts are kept when a task resumes.
Context 0.7.100 and 0.7.101 (2026-11-16 to 2026-11-24)
Bringing in existing knowledge
context-planresearches existing knowledge collections the same way every time: it settles purpose and constraints with you, identifies each collection's kind and real upstreams, audits a sample of claims against code, scores the ways to bring each one in, and presents a conclusions-first research report built with a bundled template (0.7.101). See Planning Large Projects in Stages and Migrating an Existing Knowledge Base.- A document source can follow content another team publishes as versions: you install the exact version as files, Context records the origin and version in the snapshot and the site links to that version. A source can also keep its folders and linked images, capture JSON or YAML files as documents, and be frozen after its original is archived. A broken or oversized linked image is now reported as an asset gap instead of stopping capture (0.7.101). See Published and Archived Collections.
- A requirement can keep its pages as written: articles keep the original titles, sections, order and wording, and passages that contradict the code are proposed as revisions you decide on in the review report (0.7.101). See Keeping Pages as Written.
Sites and packages
- A knowledge-map group can be hidden: it stays out of the website menus and the "All articles" list but remains in knowledge packages and LLM Docs, for content that only packages should carry (0.7.101). See Documentation Sites.
Fixes
- In a new workspace without requirements, the first step's resource commands no longer fail with "workflow revision is invalid" (0.7.100).
- Updating one repository in a workspace with many sources not checked out lists each unreadable source once, keeping the update's instructions small; knowledge-map adjustments report the map's own input errors (0.7.101).
Context 0.7.95 to 0.7.99 (2026-11-08 to 2026-11-13)
Keeping knowledge current
context update --pendingdownloads the contents of cited files that a partial clone does not have yet, once per source; when it cannot, it stops and names the source, the number of files and the reason. An update with an explicit input file reads only what the checkouts already have (0.7.95). See Updating Knowledge.- Source updates list the changed files that no approved page cites, grouped by directory, so new modules and interfaces are assessed too; routine updates write lasting knowledge from them into existing pages or at most five new pages per run (0.7.95). See Set Up Routine Updates.
- A routine update enters the workspace your host names, cloning it when needed and never creating one, and states its effective review, publishing and time settings before any other step (0.7.95). Its task content now starts with a plain line naming the Context Skill instead of a slash command, because some schedulers expand a leading command and drop the settings after it; update existing schedules.
- Long Git fetches and clones continue while Git shows progress, stop after about five minutes without progress and after 30 minutes at most (0.7.97). See Code Repositories.
Review and revision
- Previews and submissions report every citation problem of a page or production article at once, a revision of a source version cannot keep citations that version no longer confirms, and results list citations a section no longer carries (0.7.95 – 0.7.97). A capture gap cannot be cited; the captured text around it can (0.7.97). See Revising a Page.
context version recordrefuses while drafts await review, a version already on the remote default branch is never offered for reuse, and a knowledge-map-only change after delivery is recorded as a patch version and built straight away (0.7.96 – 0.7.97). See Versions, Changelog and Restoring.
Lark sources
- With Bot identity, a document the Bot cannot open (code 3380004) is read again as you; the capture report records the identity and the reason, and
context statuskeeps showing the fallback with its risk until the document is captured again (0.7.98). See Lark Documents. - A synced block whose source the reading identity cannot open becomes a permission gap that says how to close it, and refreshing an unchanged revision saves the snapshot and lists each downgrade (0.7.97).
Rolling back a task
context task rollbackfinishes when the workspace has an unfinished production stage, and its preview says whether that stage is discarded or kept; a stage prepared after the rollback is kept, and a requested partial delivery it cancels is listed (0.7.99). See CLI Commands.
Installation
- Local plugin installs also install the
resources/folders the commands link to and keep each command's front matter; a workspace that pins its own CLI runs workflow commands with it; the entry Skill starts when you ask in the conversation to produce, update, revise, publish or recover knowledge (0.7.96). See Installation. - Piping CLI output to a reader that stops early no longer crashes it (0.7.97).
Context 0.7.83 to 0.7.94 (2026-10-24 to 2026-11-08)
Keeping knowledge current
- Routine updates: a scheduled Agent run checks every registered source, updates what changed in batches, publishes once and reports what needs you. See Set Up Routine Updates.
- Updates ask only about pages whose cited text no longer matches; citations whose text only moved follow it, and a re-pinned repository is processed without restating the change — its new commit is fetched when the source checkout does not have it yet. See Updating Knowledge.
- A Lark document whose new copy comes back incomplete keeps its last good copy. See Lark Documents.
- A single document can be restored from an earlier capture. See Versions, Changelog and Restoring.
Review and revision
- Further changes asked for before approval join the open review, several revised pages are checked together before they are submitted, and small mechanical fixes after approval need no second review. See Revising a Page.
- Pages can be retired inside an open review, which shows the planned result before anything is removed. See Reorganizing at Scale.
- The review report starts in your workspace's language, has Previous and Next buttons and lists every navigation change, and every approved batch keeps its own copy of the report. See Reading Review Reports.
Installation and versions
- A missing CLI is installed once when your host allows Context upgrades, and the CLI, the Context Skill and your workspace's SDK are kept on the latest release of your version line. See Installation.
Packages and sites
- Knowledge packages share one query Skill that searches every installed Context package and follows each page's sources back to the recorded code or document. See Using Knowledge Packages in Agents.
- Website articles end with a map of their sources. See Documentation Sites.
- Translations of removed pages are cleaned up automatically, and links to another page's section use its section ID so they work in every language. See Multilingual Sites.
- A knowledge workspace kept inside a larger repository compares versions within its own directory. See Versions, Changelog and Restoring.
- Status, updates and page submissions are faster on large knowledge workspaces.
Context 0.7.81 and 0.7.82 (2026-10-22 to 2026-10-23)
Registering monorepo packages
- A repository source can name its module directory as a repository-relative
subpath: as thesubpathfield of a repo item incontext source add batch, or ascontext source add repo --subpath <dir>. A package can therefore be registered from the repository'sremoteand pinnedrefalone, before any checkout exists, or from a checkout root plus the package directory (0.7.81). - Pointing
localat a directory inside the checkout still sets the scope by itself; asubpaththat names a different directory is rejected instead of silently overriding it. Absolute paths and paths that leave the repository with..are refused, and.selects the repository root. - A batch item with a field Context does not accept now names the fields that item type does accept, so the Agent can correct the entry in one attempt. The source-capture guidance names the registration fields directly instead of asking the Agent to look them up.
Website navigation
- Website sidebars and section landing pages follow the knowledge map order at every level. Articles and directories can be interleaved, for example an overview and a quick start before a Guides directory and a Reference directory; earlier versions always moved directories ahead of their sibling articles (0.7.82).
- On a section landing page each directory is a card, and consecutive loose articles share one card at their position in the map. A site whose map already lists directories first looks the same after upgrading.
Context 0.7.72 to 0.7.80 (2026-10-15 to 2026-10-21)
Updates and revisions
- Settling a source update or a revision queue no longer leaves
knowledge/structure.yamlstale. Previously, relocated citations or advanced repository content references kept the old input hash, soverifyreported "Structure is stale; run Close" until Close ran again. - Citations can be relocated on a machine without the local source region cache, such as a fresh clone: for repository sources Context reads the cited region from the previously settled commit and uses it only when it still matches the recorded digest. Otherwise the citation is kept and reported as before.
- A source update that names
processed_versionwhile the repository checkout differs from its pinned ref returns the error and no longer leaves the workspace write lock behind. - Kept pages whose
repo-content:citations changed or cannot be confirmed are now listed in the update'sreference_warnings. Their citations are still re-signed to the current repository text, so the receipt is the place to find them.
Installation and sites
context plugin installandcontext plugin statuslook up theclaudeandcodexcommands on the inheritedPATHof the shell that runs them, and quote executable names safely (0.7.73).- The package output guide now states that websites open in light mode until the reader switches, rather than following the operating system.
Performance
- Within one command and its in-process workflow steps, Markdown link parsing is reused through a separate, bounded cache. File freshness and workflow authority checks are unchanged, and there is no background service or cross-process cache (0.7.80).
Context 0.7.70 and 0.7.71 (2026-10-14)
Installation
- Claude Code and Codex can also install the
c4aplugin by adding the context4ai/context repository as a plugin marketplace; the CLI is still installed from npm. The installation instructions list Bun next to Node.js 20, because knowledge workspaces install their dependencies withbun install. See Installation.
Revisions and updates
- A revised section that omits
referenceskeeps its validated citations; listing references re-confirms them against the task's sources. Citations can be located by Markdown heading or exact quote, and a fragment may cite regions from up to three source files, eight regions in total. Earlier CLIs cannot read structures with more than three regions in a fragment. - Rejected references and incomplete source-update decisions are reported as user input, naming the fragment, the input path and the allowed sources or pages. A revision that needs a source outside its scope explains how to register it, associate it with the requirement in
src/indexers.yamland runcontext task adjust; the added source stays citable by the remaining queued pages. - When a source update settles, citations of kept pages whose text only moved are relocated. Kept pages whose cited text changed or cannot be confirmed are listed in
reference_warnings, to be corrected withcontext reviseafter the update queue finishes.
Translation
translate prepareis incremental: each pending article gets a draft — its stale translation, or the approved source when missing — and asource_diffwhen Git history holds the version it was translated from. Edited drafts are kept and drafts are removed after a successful submission. Translations no longer storesource_parts.- Prose in
text,txtandplaintextcode blocks may be translated. In-page and cross-page anchors keep the reader's language, and reader pages expose each fragment ID as an anchor.
See Revising a Page, Updating Knowledge and Multilingual Sites.
Context 0.7.63 to 0.7.67 (2026-10-13 to 2026-10-14)
Knowledge websites
- Sites open in light mode regardless of the system color scheme. The reader's light/dark and language choices are remembered per origin by default, so sites on one origin share them.
context buildno longer compares cited source regions, so publishing builds do not need the registered source checkouts; runcontext verifybefore publishing.- Inline code that names a cited repository file, one of its directories or the unique name of such a directory links to that path at the recorded revision; uncited or ambiguous names stay plain text.
- Section landing pages show each first-level group as a card. A
site.navlink withposition: "start"appears before the sections, pages outside every section show no sidebar, and the homepage highlights a nav link to the current page instead of the first section. - Custom slots such as a homepage banner no longer collapse for readers in dark mode, and collapsed changelog cards keep long titles on one truncated line.
See Documentation Sites.
Context 0.7.62 (2026-10-13)
- An approved article that a More menu item targets no longer needs a knowledge map entry: package builds, knowledge map adjustments and structure approval accept it, and review reports no longer list it as unplaced.
- The repository README and the contributing, support and development guides link to this documentation site and describe the Context ecosystem.
Context 0.7.61 (2026-10-12)
Knowledge websites
- The reader's saved light or dark choice is applied from the first paint, so pages no longer flash the system scheme while loading.
- A reader language that leaves homepage fields unset inherits the site's own homepage title, slogan, description and actions instead of falling back to defaults.
- Unknown addresses show a centred 404 page in the reader's language with a link back home.
- Diagrams render in a single frame in both offline Review and websites; edge labels are smaller and centred on their edge, and subgraph titles no longer touch the border.
Planning
- Broad version updates compare the cited repository files by Git object ID before reading content and fetch partial-clone objects in one batch, avoiding long stalls.
Context 0.7.60 (2026-10-08)
Multilingual websites
site.localespublishes one website in several languages. Translations live undertranslations/<tag>/, remember which approved version they were written from, and show a notice when stale or missing.context translate status|prepare|submit|skipvalidates sections, code blocks and links; translation is a workspace Route step before the version is recorded, and it counts toward package freshness with a newtranslationchangelog trigger.
Site navigation
site.nav,site.moreandsite.socialLinksadd top links, More menu items and social icons. A More menu item may target an approved article kept outside the knowledge map — as this page is — and root-relative paths can link to sibling applications on the same domain.
See Multilingual Sites and Documentation Sites.
Context 0.7.50 (2026-10-03)
Same-repository content
- Register a repository's own documentation and authored Skills without copying their bodies into knowledge, with safe relative symlink entrances; see Same-Repository Docs.
- The evidence plugin and local or remote queries understand these references, including incomplete symlink-index coverage.
Evidence and builds
- Evidence keeps historical repository paths and commits, detects relocated document regions, and notices changes anywhere in a Skill directory.
- Optional repository entrance pages, original-source links, localized navigation and offline build fallbacks.
- Invalid registrations stay advisory with repair guidance, and invalid build inputs are rejected without replacing the previous output.
Context 0.7.40 – 0.7.43 (2026-09-29 to 2026-10-01)
These releases made remote code evidence part of normal querying:
- 0.7.40 — queries can use optional read-only remote code evidence at the recorded repository baselines before retrieving unavailable local sources, preserving fixed commits, returned line ranges, partial batch results and permission boundaries.
- 0.7.42 — approved knowledge and recorded code evidence can be read remotely without a checkout. The CLI bundles a read-only repository Wasm plugin that attaches section evidence and commit-specific source URLs, installed with
context evidence installor at workspace initialization. - 0.7.43 — the plugin moves to ABI 2 and attaches compact references to individual read items without replacing their content; remote query guidance follows bounded default reads, file-only search and per-file match limits.
Local and offline retrieval keep working throughout. See Choose how Context reads code.
Context 0.7.35 – 0.7.36 (2026-09-22)
- Planning for large projects. The
context-planSkill researches a project or a broad source update, hands one stage at a time to production, and recovers from a Git-backed plan. A stage is recommended at thirty documents and capped at fifty, with one newly researched repository per stage; broad discovery needs scope confirmation, and more than five hundred documents needs a person. See Planning Large Projects. - Delegated review. A task can delegate plan and article review while human review stays the default and authorization boundaries are kept; see Managed Mode and Review Policy.
- Document capture. Online document snapshots can be fetched without a workspace and imported later; directory discovery is resumable, and registrations are staged with checkpoints, status, replay and cancellation.
- Review reports list unplaced articles with navigation recovery guidance.
Releases before 0.7.35 are listed in the full CHANGELOG.
Agent Graph
0.3.1 (2026-10-13) raises the compatibility.agentGraph range in the scaffold, templates and examples to ^0.3.0, documents the 0.3.0 Resource protocol migration, and links the repository guides to this site.
0.3.0 (2026-08-31) is a breaking release for Provider authors. The Resource v1/v2 split is replaced by three independent v1 protocols — file, Graph-action and Host-action resources and their locations — and the former agent-graph.resource.v1, .v2, agent-graph.resource-location.v1 and .v2 identifiers are removed. The Host Action input, output and recovery interface is unchanged, but each materialization authority is now explicit in serialized Routes and SDK types. Follow Migration to rename the protocols in an existing Provider.
The 0.2 line built the contract that 0.3.0 renamed:
| Release | Main addition |
|---|---|
| 0.2.7 | Host-materialized resources with versioned input and output schemas and pre-dispatch Provider validation |
| 0.2.6 | Gate-owned delegated execution policies |
| 0.2.5 | Lifecycle-aware evidence as ordinary revision-bound Facts |
| 0.2.3 | Resource read receipts for the current conversation |
| 0.2.1 – 0.2.2 | Gate resolution and read-only Gate inspection Actions |
| 0.2.0 | Fact-grounded routing contracts and catalog-backed reason codes |
0.1.0 (2026-07-22) published the first specification, SDK, CLI, schemas, templates and examples. For what these terms mean, see Core Model.
发布说明
这里按读者和 Agent 能感知到的变化,汇总近期的产品版本。完整历史见 Context CHANGELOG 和 Agent Graph CHANGELOG。“更多”菜单里本站自己的 Changelog 是另一回事:它列出的是这套文档的版本,而不是产品版本。
升级 Context 时,运行与首次安装相同的两条命令——npm install -g @c4a/context-cli@latest 和 context plugin install——然后重启 Agent 会话;也可以在下次开始生产时让 Agent 来做。参见 安装。进行中的知识工作区不需要迁移步骤:下一次 context status 会为升级后的 CLI 返回新的 Route,任务恢复时也会保留工作流的读取回执。
Context 0.7.100 与 0.7.101(2026-11-16 至 2026-11-24)
接入已有知识
context-plan每次都用同样的方式调研已有知识资料集:与你确定目的和约束,识别每个资料集的类型和真实上游,抽样核对其中的说法与代码是否一致,为每个资料集的接入方式打分,并用内置模板生成结论先行的调研报告(0.7.101)。参见分阶段规划大型项目和迁移已有知识库。- 文档来源可以跟随其他团队按版本发布的内容:你把确切版本安装为文件,Context 在快照中记录来源和版本,站点链接到该版本。来源还可以保留文件夹和链接的图片、把 JSON 或 YAML 文件作为文档采集,并在原文归档后冻结。链接图片损坏或过大时,现在会报告为资源缺口,而不会中断采集(0.7.101)。参见按版本发布与即将归档的资料。
- 需求可以设置把页面原样纳入:文章保留原有标题、章节、顺序和措辞,与代码矛盾的段落作为修订建议,由你在审核报告中决定(0.7.101)。参见原样纳入页面。
站点与知识包
- 知识地图中的分组可以隐藏:它不出现在网站菜单和“全部文章”列表中,但保留在知识包和 LLM Docs 里,适合只由知识包承载的内容(0.7.101)。参见文档站。
修复
- 在尚无需求的新工作区中,第一步的资源命令不再因“workflow revision is invalid”而失败(0.7.100)。
- 在有大量来源未检出的工作区中更新单个仓库时,每个无法读取的来源只列出一次,使更新指令保持精简;知识地图调整会报告地图自身的输入错误(0.7.101)。
Context 0.7.95 至 0.7.99(2026-11-08 至 2026-11-13)
让知识保持最新
context update --pending会下载部分克隆中还没有的被引用文件内容,每个来源一次;下载不了时会停下,并说明来源、文件数和原因。带显式输入文件的更新只读取检出中已有的内容(0.7.95)。见更新知识。- 来源更新会按目录列出没有任何已批准页面引用的变更文件,新模块和接口也会被评估;例行更新会把其中的长期知识写进已有页面,或每次运行最多写五个新页面(0.7.95)。见设置例行更新。
- 例行更新会进入宿主指定的工作区,必要时先克隆,从不新建工作区,并在任何其他步骤之前说明生效的审核、发布和时间设置(0.7.95)。它的任务内容现在以一行点名 Context 技能的普通文字开头,而不是斜杠命令,因为有些调度器会展开开头的命令并丢掉后面的设置;请更新已有的定时任务。
- 耗时较长的 Git 拉取和克隆只要 Git 还在显示进度就会继续,约五分钟没有进度时停止,最长 30 分钟(0.7.97)。见代码仓库。
审核与修订
- 预览和提交会一次列出页面或生产阶段文章的所有引用问题,处理某个来源版本的修订不能保留该版本已无法确认的引用,结果会列出章节不再携带的引用(0.7.95 – 0.7.97)。采集缺口不能被引用,它周围已采集的文字可以(0.7.97)。见修订页面。
- 仍有草稿等待审核时
context version record会拒绝执行,已进入远端默认分支的版本不会再被提议复用,交付后只改动知识地图的变更会记录为补丁版本并直接构建(0.7.96 – 0.7.97)。见版本、Changelog 与恢复。
飞书来源
- 使用 Bot 身份时,Bot 打不开的文档(错误码 3380004)会改以你的身份重新读取;采集报告会记录身份和原因,在文档重新采集之前,
context status会一直显示这次回退及其风险(0.7.98)。见飞书文档。 - 读取身份打不开源文档的同步块会成为权限缺口,并说明如何补上;刷新修订版本未变的文档时会保存快照并列出每一处降级(0.7.97)。
回滚任务
- 工作区有未完成的生产阶段时,
context task rollback也能完成,预览会说明该阶段是丢弃还是保留;回滚之后才准备的阶段会保留,回滚取消的已请求部分交付会被列出(0.7.99)。见CLI 命令。
安装
- 本地安装插件时也会安装命令所链接的
resources/目录,并保留每个命令的 front matter;固定了自己 CLI 的工作区会用它运行工作流命令;当你在对话中要求生产、更新、修订、发布或恢复知识时,入口技能就会启动(0.7.96)。见安装。 - 把命令行输出交给提前结束读取的程序时,命令行不再崩溃(0.7.97)。
Context 0.7.83 至 0.7.94(2026-10-24 至 2026-11-08)
让知识保持最新
- 例行更新:定时运行的 Agent 检查所有已登记来源,分批更新有变化的内容,最后统一发布一次,并汇报需要你处理的事项。见设置例行更新。
- 更新只询问引用文字已对不上的页面;只是移动了位置的引用会自动跟随,重新固定版本的仓库无需再说明变更即可处理——来源检出还没有新 commit 时会先拉取。见更新知识。
- 飞书文档的新副本不完整时,保留上一份完好的副本。见飞书文档。
- 可以把单个文档恢复到更早的采集版本。见版本、Changelog 与恢复。
审核与修订
- 批准前追加的修改会并入正在进行的审核;多个修订页面在提交前一起检查;批准后的纯机械性修正无需再次审核。见修订页面。
- 可以在进行中的审核里下线页面,删除任何内容之前报告会先展示计划结果。见大规模重组。
- 审核报告以工作区语言打开,有“上一页”“下一页”按钮,并列出所有导航变化;每个批准的批次都保留一份报告副本。见阅读审核报告。
安装与版本
- 宿主允许升级 Context 时,缺少的命令行会自动安装一次;命令行、Context 技能和工作区的 SDK 保持在你当前版本线的最新正式版。见安装。
知识包与站点
- 知识包共用一个查询技能,它会检索所有已安装的 Context 知识包,并沿每个页面的来源追溯到记录的代码或文档。见在 Agent 中使用知识包。
- 网站文章末尾附有来源地图。见文档站。
- 已删除页面的译文会自动清理;链接到其他页面的某一节时使用章节 ID,各语言都能定位。见多语言站点。
- 放在更大仓库子目录中的知识工作区,只在自身目录内比较版本。见版本、Changelog 与恢复。
- 大型知识工作区中的状态查询、更新和页面提交更快了。
Context 0.7.81 和 0.7.82(2026-10-22 至 2026-10-23)
登记 monorepo 中的包
- 仓库来源可以用相对仓库根目录的
subpath指定其模块目录:既可以作为context source add batch中仓库条目的subpath字段,也可以使用context source add repo --subpath <dir>。因此,一个包可以只凭仓库的remote和固定的ref登记,无需任何检出;也可以用检出根目录加包目录来登记(0.7.81)。 - 把
local指向检出中的某个目录时,仍由它自行决定范围;若subpath指定了不同的目录,会被拒绝,而不是悄悄覆盖。绝对路径和用..离开仓库的路径会被拒绝,.表示仓库根目录。 - 批量登记中如果某个条目带有 Context 不接受的字段,错误信息现在会列出该类条目接受的字段,Agent 一次即可修正。来源采集指引直接说明了登记字段,不再要求 Agent 自行查找命令结构。
网站导航
- 网站侧边栏和分区落地页在每一层都遵循知识地图的顺序。文章和目录可以交错排列,例如先放概览和快速上手,再放「指南」目录和「参考」目录;早期版本总是把目录移到同级文章之前(0.7.82)。
- 在分区落地页上,每个目录是一张卡片,连续的独立文章在它们于知识地图中的位置合并为一张卡片。知识地图本来就把目录排在前面的站点,升级后看起来不变。
Context 0.7.72 至 0.7.80(2026-10-15 至 2026-10-21)
更新与修订
- 结算来源更新或修订队列后,
knowledge/structure.yaml不再处于过期状态。此前,重新定位的引用或推进的仓库内容引用会保留旧的输入哈希,因此verify会一直报告 "Structure is stale; run Close",直到再次运行 Close。 - 在没有本地来源区域缓存的机器上(例如全新克隆)也能重新定位引用:对于仓库来源,Context 会从上一次结算的提交读取被引用的区域,并且只有在它仍与记录的摘要一致时才使用;否则保留该引用并像以前一样报告。
- 当仓库检出与固定的 ref 不一致时,指定了
processed_version的来源更新会返回错误,并且不再遗留工作区写锁。 repo-content:引用发生变化或无法确认的保留页面,现在会列在更新的reference_warnings中。它们的引用仍会重新签名到当前仓库文本,因此要从这份回执中找到它们。
安装与站点
context plugin install和context plugin status会在运行它们的 shell 继承的PATH上查找claude和codex命令,并安全地为可执行文件名加引号(0.7.73)。- 包输出指南现在说明,网站默认以浅色模式打开,直到读者切换,而不是跟随操作系统。
性能
- 在同一命令及其进程内的工作流步骤中,Markdown 链接解析会通过一个独立的有界缓存复用。文件新鲜度和工作流权限检查不变,也没有后台服务或跨进程缓存(0.7.80)。
Context 0.7.70 与 0.7.71(2026-10-14)
安装
- Claude Code 和 Codex 也可以把 context4ai/context 仓库添加为插件市场来安装
c4a插件;CLI 仍从 npm 安装。安装说明在 Node.js 20 旁列出了 Bun,因为知识工作区使用bun install安装依赖。参见 安装。
修订与更新
- 修订时省略
references的章节会保留已验证的引用;列出引用则会按任务来源重新确认。引用可以用 Markdown 标题或精确引文定位,一个片段最多可引用三个来源文件中的区域,总计八个区域。较早的 CLI 无法读取片段中超过三个区域的结构。 - 被拒绝的引用和不完整的来源更新决定会作为用户输入问题报告,指明片段、输入路径以及允许的来源或页面。修订需要超出其范围的来源时,会说明如何登记该来源、在
src/indexers.yaml中将其关联到需求,并运行context task adjust;新增来源对队列中其余页面仍可引用。 - 来源更新收尾时,保留页面中仅位置移动的引用会被重新定位。被引用文本已变化或无法确认的保留页面会列在
reference_warnings中,待更新队列完成后用context revise修正。
翻译
translate prepare改为增量方式:每篇待翻译文章都会得到一份草稿——过期的现有译文,或缺失时的已批准原文;当 Git 历史中保有其翻译所依据的版本时,还会附带source_diff。编辑过的草稿会被保留,成功提交后草稿会被删除。译文不再保存source_parts。text、txt和plaintext代码块中的说明文字可以翻译。页内和跨页锚点会保持读者的语言,阅读页还会把每个片段 ID 暴露为锚点。
Context 0.7.63 至 0.7.67(2026-10-13 至 2026-10-14)
知识网站
- 无论系统配色如何,站点都以浅色模式打开。读者的浅色/深色和语言选择默认按源(origin)记住,因此同一源下的站点共享这些选择。
context build不再比对被引用的来源区域,因此发布构建不需要已登记来源的检出副本;发布前请运行context verify。- 文章中的行内代码如果是被引用仓库的文件、其中某个目录或此类目录的唯一名称,会链接到记录版本中的对应路径;未被引用或有歧义的名称保持纯文本。
- 分区落地页把每个一级分组显示为卡片。带
position: "start"的site.nav链接显示在各分区之前,不属于任何分区的页面不显示侧边栏,首页会高亮指向当前页的导航链接,而不是第一个分区。 - 主页横幅等自定义插槽在深色模式下不再塌陷,折叠的更新日志卡片会把长标题截断显示在一行内。
参见 文档站。
Context 0.7.62(2026-10-13)
- 被“更多”菜单项指向的已批准文章不再需要出现在知识地图中:知识包构建、知识地图调整和结构批准都接受这类文章,审核报告也不再把它们列为未放置。
- 仓库 README 以及贡献、支持和开发指南都链接到本文档站点,并介绍 Context 生态。
Context 0.7.61(2026-10-12)
知识站点
- 读者保存的浅色或深色选择从首次绘制起生效,页面加载时不再先闪现系统配色。
- 某个读者语言未设置的首页字段,会沿用站点自身首页的标题、标语、描述和操作按钮,而不是回退到默认值。
- 访问不存在的地址时,显示居中的 404 页面,使用读者的语言,并提供返回首页的链接。
- 图表在离线审核和站点中都一次渲染完成;连线标签字号更小、居中压在所标注的连线上,子图标题不再贴住边框。
规划
- 大范围版本更新时,先按 Git 对象 ID 比较被引用的仓库文件再读取内容,并在部分克隆中一次性批量拉取对象,避免长时间卡顿。
Context 0.7.60(2026-10-08)
多语言站点
site.locales让一个站点以多种语言发布。译文存放在translations/<tag>/下,记录它译自哪个已批准版本,过期或缺失时显示提示。context translate status|prepare|submit|skip会校验章节、代码块和链接;翻译是记录版本之前的一个知识工作区 Route 步骤,并计入知识包的新鲜度,同时新增translationChangelog 触发项。
站点导航
site.nav、site.more和site.socialLinks用于添加顶部链接、“更多”菜单条目和社交图标。“更多”菜单条目可以指向放在知识地图之外的已批准文章——本页就是这样——以根目录开头的路径还可以链接到同一域名下的兄弟应用。
Context 0.7.50(2026-10-03)
同仓库内容
- 登记仓库自身的文档和自编 Skill,不把正文复制进知识,并维护安全的相对符号链接入口;参见 同仓库文档。
- 证据插件以及本地或远程查询都能识别这类引用,包括符号链接索引覆盖不完整的情况。
证据与构建
- 证据保留历史上的仓库路径和提交,能发现文档区域的位置移动,也能察觉 Skill 目录中任意位置的变化。
- 可选的仓库入口页、原始来源链接、本地化导航和离线构建回退。
- 无效的登记只作为提示并给出修复指引;无效的构建输入会被拒绝,且不会替换上一次的输出。
Context 0.7.40 – 0.7.43(2026-09-29 至 2026-10-01)
这几个版本让远程代码证据成为日常查询的一部分:
- 0.7.40——查询在获取本地不可用的来源之前,可以先在记录的仓库基线上使用可选的只读远程代码证据,同时保留固定提交、返回的行范围、部分批量结果和权限边界。
- 0.7.42——无需检出仓库即可远程读取已批准的知识和记录的代码证据。CLI 内置一个只读的仓库 Wasm 插件,为读取结果附上章节证据和指向具体提交的源码 URL,通过
context evidence install或在初始化知识工作区时安装。 - 0.7.43——插件升级到 ABI 2,为每个读取项附上紧凑的引用而不替换其内容;远程查询指引改为遵循有界的默认读取、仅文件搜索和按文件的匹配上限。
本地和离线检索始终可用。参见 选择 Context 读取代码的方式。
Context 0.7.35 – 0.7.36(2026-09-22)
- 大型项目规划。
context-planSkill 负责调研项目或大范围的来源更新,每次把一个阶段交给生产,并依靠 Git 中的计划恢复进度。建议每个阶段三十篇文档、最多五十篇,每个阶段只新调研一个仓库;大范围发现需要确认范围,超过五百篇文档需要人工介入。参见 规划大型项目。 - 委托审核。 任务可以委托计划审核和文章审核,同时人工审核仍是默认方式,授权边界保持不变;参见 托管模式与审核策略。
- 文档采集。 在线文档快照可以脱离知识工作区先抓取、之后再导入;目录发现可以断点续跑,登记以暂存方式进行,支持检查点、状态查询、重放和取消。
- 审核报告会列出未放入导航的文章,并给出导航恢复指引。
0.7.35 之前的版本见完整的 CHANGELOG。
Agent Graph
<strong>0.3.1(2026-10-13)</strong>把脚手架、模板和示例中的 compatibility.agentGraph 范围提高到 ^0.3.0,补充了 0.3.0 Resource 协议的迁移说明,并让仓库中的各指南链接到本站。
<strong>0.3.0(2026-08-31)</strong>对 Provider 作者是一个不兼容版本。原来的 Resource v1/v2 划分被三个相互独立的 v1 协议取代——文件、Graph-action 和 Host-action 三类资源及其位置——原有的 agent-graph.resource.v1、.v2、agent-graph.resource-location.v1 和 .v2 标识被移除。Host Action 的输入、输出和恢复接口不变,但每种物化授权现在都在序列化的 Route 和 SDK 类型中明确写出。按 版本迁移 重命名现有 Provider 中的协议。
0.2 系列构建了 0.3.0 所重命名的契约:
| 版本 | 主要新增 |
|---|---|
| 0.2.7 | 由宿主物化的资源,带版本化的输入输出 schema,以及调度前的 Provider 校验 |
| 0.2.6 | 由 Gate 持有的委托执行策略 |
| 0.2.5 | 把感知生命周期的证据作为普通的、绑定修订号的 Facts |
| 0.2.3 | 当前会话中的资源读取回执 |
| 0.2.1 – 0.2.2 | Gate 解决动作和只读的 Gate 检查动作 |
| 0.2.0 | 基于 Facts 的路由契约和由目录支撑的原因码 |
0.1.0(2026-07-22)发布了最初的规范、SDK、CLI、schema、模板和示例。这些术语的含义见 核心模型。