openoperator / plugins /_migrate_agents /api /migration_preview.py.dox.md
OpenOperator Deployer
Deploy source revision ef73a4b421f2d1ececca20f99c9118f4621c5e28
6918275
|
Raw History Blame Contribute Delete
551 Bytes

migration_preview.py DOX

Purpose

Preview a user-selected harness export without changing Agent Zero state.

Contract

  • Auth and CSRF use the default ApiHandler protections.
  • Accepts multipart source plus one or more files[] values.
  • Rejects unsafe archives and uploads larger than 256 MiB.
  • Returns counts, chat titles, knowledge files, skills, exclusions, and warnings.
  • Never returns source message bodies or credential values.

Verification

Run python -m pytest plugins/_migrate_agents/tests -q from the Agent Zero root.