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

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

Built distribution (wheel)

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

Total release size: 18.1 kB

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

Download URL pyxis_harness_workspace_changes-0.1.1.dev6.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
401ccd6601e87ff1458ca43fd950b5bd50dba849197a1d863a50c6e75a5202ed
BLAKE2b-256 checksum
How to use checksums
a0fa4a2c13f03693254d2b9626c18d280d17a1b9261595f3d893f4f0e275276e
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.dev6-py3-none-any.whl

Download URL pyxis_harness_workspace_changes-0.1.1.dev6-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e671bde04c5cd37bb8785964e98e54d236794778bfb6318689452a589627e46
BLAKE2b-256 checksum
How to use checksums
55052e216a9dacfe24354722fef88d302213dfd50bb9b91840c523ebb35712b3
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.dev6

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