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.dev1

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

Built distribution (wheel)

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

Total release size: 17.3 kB

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

Download URL pyxis_harness_workspace_changes-0.1.1.dev1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
472a2177675c1a3c2d9f2942ed6b60918c22f90dea92d5c2d49b1152f94de1b8
BLAKE2b-256 checksum
How to use checksums
4ed9d71aa167f3606fa59fe4fa20085e093e79a40a1be5a4c0aa012f6c17c0d9
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.dev1-py3-none-any.whl

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

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