Files
Mason Daugherty da67c86e52 chore(repo): remove deprecated libs/cli package (#5791)
`deepagents-cli` was deprecated in #5780 in favor of
`managed-deepagents` (`mda`), and 0.3.0 (#5782) was its final release.
The package has been warning at import time since; this PR deletes the
source tree and unwinds it from repo infrastructure.

What changes:

- Deletes `libs/cli/` (source, tests, lockfile, docs).
- Removes `libs/cli` from `release-please-config.json` /
`.release-please-manifest.json` and from the release detection/dispatch
logic in `release-please.yml` and `release.yml`, so release-please stops
managing the package.
- Removes the `cli`/`deepagents-cli` scopes from PR title lint,
branch-name check (workflow + `.githooks/pre-push`), the PR labeler
config and scope-rename aliases, the `cli` file rules, CI change
filters, lint/test jobs, integration-test options, dependabot,
pre-commit hooks, CODEOWNERS, and the bug-report template.
- Updates docs (`AGENTS.md`, `libs/README.md`, `libs/DEVELOPMENT.md`,
`RELEASING.md`, threat models, openwiki briefs) and release-infra script
tests that used `libs/cli` as a fixture (swapped to `libs/acp` /
`libs/evals` equivalents).

Intentionally left in place:

- `examples/ralph_mode/` still imports `deepagents_cli` — tracked
separately; the example needs migration onto `libs/code`'s
non-interactive runner.
- Historical references: the `libs/code/CHANGELOG.md` fork note, and the
`SNAPSHOT_NAME = "deepagents-cli"` constant in the LangSmith sandbox
integration test (it names a live LangSmith snapshot, not the deleted
package).
- `CLI_MAX_RETRIES_KEY = "__deepagents_cli_max_retries__"` in
`libs/code` — a live internal carrier key; renaming is out of scope.

Published `deepagents-cli` releases on PyPI are unaffected; the repo
simply stops cutting new ones.

---------

Signed-off-by: Mason Daugherty <github@mdrxy.com>
2026-08-24 15:26:38 -04:00
..