Skip to content

PowerContext v1.6.1

Latest

Choose a tag to compare

@hidb4ai hidb4ai released this 01 Dec 07:59
· 1 commit to master since this release
25f300a

PowerContext v1.6.1

English

PowerContext v1.6.1 improves memory processing, Gateway conversation handling, installation and integration reliability, and processing visibility.

  • More reliable Atomic Memory processing. Improve one_pass completeness, candidate retention and error handling during prefixed extraction. ([#2840](#2840), [#2841](#2841))

  • Better Gateway conversation handling. Improve conversation replay and context deduplication, route model requests to explicit Scopes, and support host-marked internal requests. Extend cost guidance and cached-prefix reuse to Chat Completions; actual savings depend on provider cache behavior. ([#2810](#2810), [#2815](#2815), [#2837](#2837))

  • Simpler installation and more reliable integrations. Install verified Gateway native binaries alongside the CLI. Improve Gateway-owned recall, linked Git worktree bindings, completion-aware outcome guidance and recognized-credential redaction. ([#2811](#2811), [#2875](#2875), [#2863](#2863))

  • Clearer processing visibility. Expose Content Source metadata and configurable size limits. Show Source consumption and Topic Memory processing status in the Dashboard, and support viewing and editing Profile generation prompts. ([#2728](#2728), [#2745](#2745), [#2727](#2727), [#2724](#2724), [#2721](#2721))

  • Configurable tag limits. Configure per-Artifact limits with POWERCONTEXT_SERVER_RUNTIME_TAG_MAX_PER_ARTIFACT—default 32, maximum 256—and per-query limits with POWERCONTEXT_SERVER_RUNTIME_TAG_MAX_QUERY_LABELS—default 16, maximum 64. Changes take effect after Server restart. ([#2816](#2816))

  • Stronger request validation and maintenance guidance. Harden request-body admission and remote Skill enrollment, validate Source scheduling, and clarify offline maintenance requirements when widening Processing capabilities. ([#2824](#2824), [#2858](#2858), [#2758](#2758), [#2826](#2826))

Installation and compatibility

uv tool install --force "powercontext[cli,server]==1.6.1"

Use powercontext-v1.6.1 for integration refs and reopen Agent sessions. Upgrade Server, Gateway, SDK, CLI and integrations together.

This release adds no schema revision; the managed schema head remains v1_6_0. Databases at earlier released schema revisions require explicit offline maintenance. Databases created with unpublished migrations must be rebuilt.

中文

PowerContext v1.6.1 改进记忆处理、Gateway 对话处理、安装与集成可靠性,以及处理状态的可见性。

  • 记忆处理更可靠。 完善 Atomic Memory one_pass 操作完整性、候选保留,以及前缀提取过程中的错误处理。([#2840](#2840), [#2841](#2841))

  • 完善 Gateway 对话处理。 改进对话重放与上下文去重,将模型请求路由到显式 Scope,并支持 Host 标记的内部请求。将成本引导和缓存前缀复用扩展到 Chat Completions;实际节省取决于供应商的缓存行为。([#2810](#2810), [#2815](#2815), [#2837](#2837))

  • 安装更便捷,集成更稳定。 随 CLI 安装经过校验的 Gateway 原生二进制。完善由 Gateway 负责的召回、Git worktree 工作区绑定、任务完成结果引导,以及已识别凭证的脱敏。([#2811](#2811), [#2875](#2875), [#2863](#2863))

  • 处理状态更清晰。 提供 Content Source 元数据和可配置的大小限制。在 Dashboard 中查看 Source 消费进度与 Topic Memory 处理状态,并支持查看和编辑 Profile 生成提示词。([#2728](#2728), [#2745](#2745), [#2727](#2727), [#2724](#2724), [#2721](#2721))

  • 标签上限可配置。 通过 POWERCONTEXT_SERVER_RUNTIME_TAG_MAX_PER_ARTIFACT 配置单个 Artifact 的标签上限,默认 32、最高 256;通过 POWERCONTEXT_SERVER_RUNTIME_TAG_MAX_QUERY_LABELS 配置单次查询的标签上限,默认 16、最高 64。修改配置后需重启 Server。([#2816](#2816))

  • 加强请求校验与维护提示。 加强请求体准入和远程 Skill 登记限制,校验 Source 调度配置,并在扩展 Processing 能力时明确提示所需的离线维护。([#2824](#2824), [#2858](#2858), [#2758](#2758), [#2826](#2826))

安装与兼容性

uv tool install --force "powercontext[cli,server]==1.6.1"

集成的版本引用请使用 powercontext-v1.6.1,更新后重新打开 Agent 会话。Server、Gateway、SDK、CLI 与集成需协调升级。

本版本不新增数据库迁移,托管数据库的 schema head 保持为 v1_6_0。处于更早已发布 schema revision 的数据库仍需显式离线维护;使用未发布迁移创建的数据库必须重建。

What's Changed

  • fix(integrations): keep recognized credentials out of automatic recall and capture in in-process adapters by @Fengzdadi in #2703
  • docs: align the documented MCP boundary with the projected tool set by @AlexStocks in #2760
  • fix(access): accept a migrated owner on approval retry by @ctxloop in #2787
  • chore(deps): bump astral-sh/setup-uv from 10.3.2 to 10.4.0 by @dependabot[bot] in #2785
  • chore(deps): bump actions/setup-node from 4.4.0 to 7.1.0 by @dependabot[bot] in #2786
  • feat(gateway): add bounded replay epoch correlation by @MaoMengww in #2700
  • feat(dashboard): show passive Topic Memory processing status by @Lkx-JY in #2724
  • fix(plugins): validate Cron schedule expression and timezone at declaration by @123XieC in #2748
  • fix(atomic-memory): retain the proposal when revise identity correction is exhausted by @Fengzdadi in #2749
  • fix(topic-memory): size windows against the Scope's probe Prompt by @Fengzdadi in #2750
  • fix(artifacts): report undo_merge on a non-merge result as invalid state by @Fengzdadi in #2751
  • docs(integrations): leave prompt-time context to the gateway for OpenClaw and the SDK adapters by @Fengzdadi in #2759
  • fix(openclaw): recall with the end of a long prompt by @Fengzdadi in #2779
  • fix(cindy): recall with the end of a long prompt by @Fengzdadi in #2780
  • docs(opencode): name the Core target the gateway needs by @Fengzdadi in #2796
  • fix(gateway): omit unsupported Codex subscription options by @xixi-box in #2798
  • fix(openclaw): flush captured prompts at session end and Gateway stop by @Fengzdadi in #2799
  • docs(ci): explain runner selection and validation requirements by @frf12 in #2801
  • fix(knowledge-base): clear the import spinner when retries settle by @xixi-box in #2802
  • fix(gateway): record completed turns from Chat SSE by @xixi-box in #2812
  • fix(hermes): keep recognized credentials out of the pre-compression checkpoint by @Fengzdadi in #2821
  • fix(gateway): strip replayed plugin context before model admission by @xixi-box in #2809
  • feat(atomic-memory): recall merged memories through historical aliases by @Tech-Circle-48 in #2674
  • feat(installer): install the Gateway with the CLI and let the user's Agent follow an installation guide by @jasper-yl in #2811
  • feat(dashboard): show scoped source consumption progress by @Lkx-JY in #2727
  • feat(api): return Content Source metadata in detail and list responses by @Lumea-art in #2728
  • test(atomic-memory): preserve prior revisions during correction recovery by @xixi-box in #2753
  • fix(gateway): replay context for headerless conversations by @xixi-box in #2813
  • fix(server): harden request body admission by @klT45 in #2824
  • docs(integrations): Deep Agents and Dify behind the gateway, and streamed Chat capture by @Fengzdadi in #2828
  • fix(bub): keep recognized credentials out of automatic recall and capture by @Fengzdadi in #2820
  • feat(pydantic-ai): let PowerContextToolset leave out powercontext_context by @Fengzdadi in #2766
  • fix(cli): support OpenClaw setup on hosts without plugins install --no-enable by @Fengzdadi in #2765
  • fix(topic-memory): link only the previous revision on manual replace by @Fengzdadi in #2752
  • feat(gateway): classify an inbound request by turn type by @lizining1231 in #2792
  • fix(processing): classify window and Prompt storage failures (#2126) by @guamiao in #2761
  • refactor(integrations): generate the Kimi Code and ZCode prompt-privacy copies by @Fengzdadi in #2747
  • fix(ci): share package downloads across Harbor task containers by @frf12 in #2827
  • ci(hermes): run the real-manager conformance test against pinned Hermes by @Fengzdadi in #2719
  • Enable cost guidance and cached prefix reuse for Chat Completions by @xixi-box in #2815
  • docs(pydantic-ai): leave out the context tool with include_context_tool behind the gateway by @Fengzdadi in #2859
  • perf(experience): reuse FTS projection admission and narrow recurrence reads by @Junkrat77 in #2846
  • fix(ci): stabilize dependency setup and asynchronous regressions by @frf12 in #2865
  • feat(gateway): support steering instruction injection for Chat Completions by @Tech-Circle-48 in #2861
  • feat(hermes): let the gateway own prompt-time recall by @Fengzdadi in #2829
  • docs(integrations): describe the gateway's inferred conversation identity by @Fengzdadi in #2834
  • feat(bub): let the gateway own prompt-time recall by @Fengzdadi in #2836
  • fix(atomic-memory): require a one-pass operation for every listed entry by @Fengzdadi in #2840
  • fix(server): bound remote Skill enrollment before body parsing by @klT45 in #2858
  • fix(zcode): accept all of 127/8 as loopback like the other hosts by @Fengzdadi in #2866
  • fix(source): validate Cron schedules and isolate a scheduling failure in the device cycle by @RCliang in #2758
  • feat(gateway): bind model requests to an explicit Scope by @xixi-box in #2810
  • feat(sources): make the Content Source size limit configurable by @Lumea-art in #2745
  • fix(server): name the offline processing switch when widening capabilities by @RCliang in #2826
  • ci: dump thread stacks when a Python matrix test hangs by @Fengzdadi in #2878
  • fix(test): validate Scope-owned Topic Memory in supervisor acceptance by @xixi-box in #2883
  • feat(gateway): let hosts mark internal model requests by @Lumea-art in #2837
  • feat(pi): leave prompt-time context to the gateway by @Fengzdadi in #2755
  • fix(gateway): keep harness reminders out of turn selection by @xixi-box in #2771
  • feat(gateway): bind Core-approved target to upstream sends by @NeverENG in #2630
  • feat(dashboard): view and edit Profile generation prompts by @wycocoyu in #2721
  • fix(integrations): resolve linked Git worktrees to their main checkout's workspace binding by @Fengzdadi in #2875
  • Add completion-aware outcome guidance to coding plugins by @xixi-box in #2863
  • fix(ci): run knowledge-base on internal runners by @frf12 in #2906
  • fix(ci): move Linux native candidates to internal runners by @frf12 in #2909
  • fix(atomic-memory): keep the check error of an exhausted prefixed one-pass turn by @Fengzdadi in #2841
  • docs(integrations): describe how gateway requests select their Scope by @Fengzdadi in #2895
  • docs(integrations): size Pi and OpenClaw context windows for the gateway ceiling by @Fengzdadi in #2892
  • chore(deps): bump jdx/mise-action from 5.2.2 to 5.3.0 by @dependabot[bot] in #2914
  • feat(tags): make the per-Artifact and per-query tag limits configurable by @Lumea-art in #2816
  • feat(website): rebuild the site on Sunbeam with HTML blog figures by @stvlynn in #2732
  • revert(atomic-memory): withdraw historical alias recall (#2674) by @hidb4ai in #2935
  • revert(gateway): fully revert #2630 upstream target binding by @hidb4ai in #2920
  • chore(release): prepare PowerContext 1.6.1 by @hidb4ai in #2917

New Contributors

Full Changelog: powercontext-v1.6.0...powercontext-v1.6.1