Metadata-Version: 2.4
Name: datapaw-host-core
Version: 0.1.1
Summary: Shared host foundation for DataPaw.
Project-URL: Homepage, https://github.com/agentscope-ai/QwenPaw-Data
Project-URL: Documentation, https://github.com/agentscope-ai/QwenPaw-Data/tree/main/packages/datapaw-host-core
Project-URL: Repository, https://github.com/agentscope-ai/QwenPaw-Data
Project-URL: Issues, https://github.com/agentscope-ai/QwenPaw-Data/issues
Project-URL: Changelog, https://github.com/agentscope-ai/QwenPaw-Data/blob/main/CHANGELOG.md
Author: QwenPaw-Data Contributors
License-Expression: Apache-2.0
Keywords: ai-agents,data-analysis,orchestration,sandbox
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: agentscope<2.1,>=2.0.5
Requires-Dist: aiodocker<0.28,>=0.27
Requires-Dist: datapaw-skills<0.2,>=0.1
Requires-Dist: httpx<0.29,>=0.28
Requires-Dist: pydantic<3.0,>=2.13
Requires-Dist: pyyaml<7.0,>=6.0
Requires-Dist: shortuuid<2.0,>=1.0
Description-Content-Type: text/markdown

# datapaw-host-core

Shared host foundation for DataPaw.

This package owns the non-HTTP DataPaw host runtime:

- `DataPawHost` runtime handle for `plan`, `execute`, and `run`
- AgentScope agent, toolkit, workspace tools, and prompt templates
- DAG orchestration, session trace storage, and artifact path helpers
- MCP Context Manager timeout and metadata injection helpers
- Context Manager HTTP discovery client used by CLI integrations

Concrete host packages such as `datapaw-cli` should depend on this package instead of duplicating host orchestration logic.

This first migration stage intentionally leaves HTTP server and router code out.

## Default local state

`datapaw-host-core` resolves its own local state through
`datapaw.host.core.paths`; it does not use DataBridge path helpers.

```text
${DATAPAW_HOME:-~/.datapaw}/host/
├── .secrets/                              # shared durable Host secrets
└── workspace/
    ├── .mcp                               # shared durable MCP config
    ├── skills/                            # shared durable skills
    ├── sessions/
    │   ├── console/                       # session traces
    │   ├── dag/                           # session DAG snapshots
    │   └── {session_id}/                  # AgentScope context/tool offload
    ├── data/                              # shared durable AgentScope blobs
    └── artifacts/
        └── {session_id}/                  # direct-chat artifacts
            └── {graph_id}/{node_id}/      # optional TaskGraph node scope
```

Directories are created lazily by their writers. The Host does not read or
migrate the historical `${DATAPAW_HOME}/agents/default` layout.
