Skip to main content

ChatTask

English | 简体中文

ChatTask 从 0.1.0 版本起提供可复用的任务模板、受信 Git 源码快照、真实 Sandbox 预检、持久运行记录和显式发布批准,同时保留整数统计 Task 与持续 Shell 实验。0.0.2 是历史包骨架,不包含这些能力;请以 PyPI 实际版本和安装后的 chattask --version 为准。

  • 任务模板:内置 Python 包发布预检;自定义模板只能选用允许的探测、测试、构建和检查步骤,并保留修订版本。
  • 真实执行:管理员登记干净 Git 根目录,运行绑定 HEAD;跟踪源码归档只进入受控 Sandbox,结果记录真实退出码、日志、wheel/sdist 摘要和独立清理证据。
  • 发布门禁:默认仅预检。创建 GitHub 标签需针对仓库、版本、源码提交与源码树、确认文字再次批准,并核验已合并 PR、精确 test CI/工作流、合版树与预检树一致。标签只代表等待 OIDC 工作流和 PyPI 产物独立核验。
  • 持久页面:刷新后从运行历史重新连接;支持合作式取消、摘要校验下载、受保护的工具状态与失效登录清理。Sandbox 实验仍有独立主导航。

通用任务入口

ChatTask 的主模型是 任务 → Codex + Sandbox → 结果。任务说明和所选镜像决定工作内容;发包只是示例,不是执行器的固定步骤。当前源码提供 chattask run 和受站点登录保护的 /api/agent/tasks,结果保存原生事件、产物摘要和 Sandbox 回收证据。镜像预装 infra,运行时 env 只注入服务端选择的模型/工具凭据;优先使用短期受限网关,不把原始 GitHub/PyPI 凭据交给 guest。参见通用任务、Python 发包模板与网关边界。源码能力不等于 PyPI 或线上已更新。

长期任务候选

“长期任务”视图和 chattask task 命令保存稳定 Task 与逐轮 Run;独立 chattask worker --env-profile site --operator operator 处理队列。每轮保存受限的工作区与原生 Codex 会话检查点,后续轮次在新 Sandbox 原生接续。暂停是排队前或本轮结束时的协作式操作。生产部署须单独核验真实镜像、网关、原服务和浏览器;详见长期任务合约。

显式选择 research 时,可提交已核对来源记录,也可通过受限的 arXiv 摘要自动检索创建;后者只保存摘要,不代表读过论文全文。受信 worker 在本轮原生执行及清理通过后,将 result/research/main.tex 等文件发布到配置的原 Overleaf 工程并核对源码;PDF 由独立隔离容器使用原服务镜像和只读公共 TeX 工具链编译,PDF/源码回读归入本轮产物。未知外部写入或编译清理结果保持阻塞,需显式同操作核对。普通开发任务不依赖 Overleaf 配置。

从源码使用

Workspace 材料分析

从 0.1.4 起,受信 Workspace 可创建资料快照、单独确认运行,并回读真实模型生成的摘要校验报告。Task 页面「材料分析」显示任务来源与 Run 历史。这是只读材料执行器,不调用工具或读取宿主文件,也不会把报告完成标成原建议完成;配置、认证与 HTTP 合约见材料分析接入。

python -m pip install -e ./packages/chatsandbox
python -m pip install -e '.[web,dev]'
chattask --tree
chattask paths --json-output
chattask repository register --id demo --path /srv/managed/demo --github-repo owner/demo --package-name demo
chattask serve --env-profile site --host 127.0.0.1 --port 8000

必须先配置原 OpenSandbox Docker 连接或显式的 ChatSandbox 命名 profile、站点账号和既有 PyPI ChatEnv 命名连接 task-tools;见快速接入与公共后端。同仓库 packages/chatsandbox/ 是独立发行包,先从源码安装,公开发布需先于依赖它的新版 ChatTask。仓库路径只可通过服务器 CLI 登记,浏览器只能选择 ID。Web、Tool、Sandbox 和 ChatGH 的真实生产验收由部署方完成;源码测试使用标明的合成依赖。

边界

这是受信单用户服务。项目的构建/测试代码仅在 Sandbox 内执行;普通 Docker/runc 不等于强隔离。运行记录持久化,重启后中断的执行标为待核对且不会自动重放不确定写入。登录会话和旧 Shell 历史仍不跨重启恢复。代码候选不代表已部署或已发布。

CLI 树 · 能力地图 · Python API

Metadata

Release files for ChatTask 0.1.6

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

Source distribution (sdist)

Source distribution for ChatTask 0.1.6
File Size Uploaded Provenance Actions
chattask-0.1.6.tar.gz 126.2 kB With provenance Details for chattask-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ChatTask 0.1.6
File Interpreter ABI Platform Actions
chattask-0.1.6-py3-none-any.whl Python 3 none any Details for chattask-0.1.6-py3-none-any.whl

Total release size: 265.1 kB

Release files / chattask-0.1.6.tar.gz

Download URL chattask-0.1.6.tar.gz
Size 126.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f5d13732c3e5e5b72e8ac7e86c3aefd06adf1e3291bb568e4b095607ee9773e8
BLAKE2b-256 checksum
How to use checksums
b23b74d381d5d8c2c5c724b6b3a0b68bd02b32e529a0d4e87a01333cc029639b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / chattask-0.1.6-py3-none-any.whl

Download URL chattask-0.1.6-py3-none-any.whl
Size 139.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2ce12f97e0578e76877f4b0fe002ef28c5576520945517b1a7fe39142be8684
BLAKE2b-256 checksum
How to use checksums
8de7dec5fe85b80885c7d5379cf4dbdfea07ce6362126b629b07e53703ec8bd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for ChatTask 0.1.6

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chattask-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

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