参考
CLI 命令
Downcity 命令行参考入口
CLI 命令
CLI 文档按“单命令页面 + 命令组”组织。
命令目录
- 直接在
Commands分组中选择具体命令或命令组。 - 固定命令和动态命令都在这里汇总展示。
主要命令组
- 固定根命令:
- 固定模块命令:
- 动态 action 命令:
运行模型(简版)
town start:仅启动 Town runtimetown start --console/town start -a:同时启动 Town runtime 和 Consoletown console start:只启动 Console,前提是 Town runtime 已经运行town stop:先停止 Console,再停止 Town runtime 与托管 agenttown restart:重启 Town runtime,恢复之前运行中的 agent,再重启 Consoletown update:更新当前全局安装来源对应的downcityCLI 聚合包town public:管理 Console 的持久化公网暴露,支持交互式 manager 和on/off/statustown agent:在交互式终端中打开 agent managertown agent create:初始化项目运行文件town agent list:查看已登记 agent,也可加--running只看正在运行的项目town agent start:启动项目 agent daemontown agent stop:停止项目 agent daemontown agent chat:在终端中与 agent 对话,也可通过--message发送一次性消息town console:管理 Console 模块本身town city:选择 City base,并管理 Town user 登录态town plugin ...:查看 agent plugin catalog,或使用显式高级 plugin command 形式town chat/task/memory/contact/shell ...:日常托管 plugin runtime 命令town web/skill/asr/tts ...:日常本地 plugin 命令
保持最新
本地帮助输出永远是最新的:
city --help
city <command> --help
town --help
town <command> --help