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
数据 摘要:ctx.store;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"]

服务

成员 契约
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.dev3

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.dev3
File Size Uploaded Provenance Actions
pyxis_harness_workspace_changes-0.1.1.dev3.tar.gz 7.1 kB Without provenance Details for pyxis_harness_workspace_changes-0.1.1.dev3.tar.gz

Built distribution (wheel)

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

Total release size: 17.3 kB

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

Download URL pyxis_harness_workspace_changes-0.1.1.dev3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
30fa0f132e47a514646fb947f90ac0239f4d85a407623b135867f70861a8153e
BLAKE2b-256 checksum
How to use checksums
b055cc2c518a9601e50d68360c4342bbf3b7ae2b48612f92a03bd6d2e5f39cd2
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.dev3-py3-none-any.whl

Download URL pyxis_harness_workspace_changes-0.1.1.dev3-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d4dc2a4ceedfc0939618568786d814be2d12e11590e79689b058e8138b31e9c
BLAKE2b-256 checksum
How to use checksums
ac463a82095be11cc0eccec4e921415e460ca371a9ee42e1163f530322688f26
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.dev3

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