Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyxis-harness-workspace-changes

每一轮改动了哪些文件:来自 git 工作树快照。

项 值
条目 workspace-changes(base bundle)
服务 WorkspaceChangesService,ctx.workspaceChanges
注入 agents、workspace、store
数据 摘要:会话所在的 store(ctx.agents.store_for);diff:仅在本进程内

文件

文件 内容
__init__.py 导出
service.py WorkspaceChangesService、Config、store 命名空间:每轮的工作树快照、存储的摘要、diff
git.py Repo、GitError、parse_unified

事件

时机 工作
agent/turn-start 把会话工作区的工作树快照进私有对象目录(tree id);临时会话没有工作区:不快照
agent/turn-end 第二次快照;两者之间 diff-tree → 摘要;写入 turn.extras["changes"]
agent/session-delete 删除该会话的摘要与私有对象目录

服务

成员 契约
summaries(session_id) 会话中改动过文件的各轮的摘要,从旧到新(已存储)
summary(session_id, run_id) 一份摘要,或 None
diff(session_id, run_id, index) 所列文件的 hunk;重启后 available: False

available: False:记录该 diff 的进程已不存在。

摘要

{run_id, session_id, seq, at, after, workspace, repo,
 files: [{path, display, status, added, deleted, binary}],
 total, added, deleted}
字段 含义
path 相对仓库
display 相对工作区根;在其之上为 ../x
after 该轮结束时会话的消息数;Web UI 放置卡片的位置

快照

项 契约
仓库 不被改动
tree 的存放 仓库 index 的副本 + 私有对象目录(GIT_OBJECT_DIRECTORY);仓库的对象作为只读 alternate
index 的副本 保留原文件的修改时间:git 据此重读与 index 同一秒内修改的文件
.gitignore 生效;被忽略的文件不列出
工作区不在 git 仓库内 无摘要
该轮没有改动 无摘要
diff 仅在本进程运行期间存在
摘要 持久化在 ctx.store

git.py

名称 契约
Repo top(工作树)、objects(对象目录)、index(index 文件)
GitError 一条 git 命令失败或超时
parse_unified unified diff 的 hunk

Metadata

Release files for pyxis-harness-workspace-changes 0.1.1.dev7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyxis-harness-workspace-changes 0.1.1.dev7
File Size Uploaded Provenance Actions
pyxis_harness_workspace_changes-0.1.1.dev7.tar.gz 7.5 kB Without provenance Details for pyxis_harness_workspace_changes-0.1.1.dev7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyxis-harness-workspace-changes 0.1.1.dev7
File Interpreter ABI Platform Actions
pyxis_harness_workspace_changes-0.1.1.dev7-py3-none-any.whl Python 3 none any Details for pyxis_harness_workspace_changes-0.1.1.dev7-py3-none-any.whl

Total release size: 18.1 kB

Release files / pyxis_harness_workspace_changes-0.1.1.dev7.tar.gz

Download URL pyxis_harness_workspace_changes-0.1.1.dev7.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0eb6275341a94c94284a7864e44d1a2d83152def48e0c9eb2469eadd8774ccc7
BLAKE2b-256 checksum
How to use checksums
aa85d55b2e36fad80ced15341489d6234456da9af39286ff964e591ff7b17b15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pyxis_harness_workspace_changes-0.1.1.dev7-py3-none-any.whl

Download URL pyxis_harness_workspace_changes-0.1.1.dev7-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ce9af5c28f0c74fd2cf775842c9b4a74ba8634bf0e98014a22484b87932b60e
BLAKE2b-256 checksum
How to use checksums
6b321245874dc7685877d302eefb4183e5403c933a195a6d7386b4e11f2adf68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pyxis-harness-workspace-changes 0.1.1.dev7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page