Loading...
Loading...
Compare original and translation side by side
openteamcliopenteamcliopenteamclinpm install -g @afumu/openteamclinpm install -g ./packages/openteamclinpm link ./packages/openteamcliopenteamclinpm install -g @afumu/openteamclinpm install -g ./packages/openteamclinpm link ./packages/openteamcliopenteamcli daemon start
openteamcli doctordaemon startalreadyRunningextension.connectedfalse本机智能体控制doctoropenteamcli daemon restart
openteamcli doctoropenteamcli daemon start
openteamcli doctordaemon startalreadyRunningextension.connectedfalseLocal Agent Controldoctoropenteamcli daemon restart
openteamcli doctortask.json{
"chat": {
"name": "方案评审",
"mode": "independent"
},
"roles": [
{
"source": "temporary",
"name": "工程师",
"systemPrompt": "从工程实现、复杂度、风险和测试角度评估。"
},
{
"source": "temporary",
"name": "产品经理",
"systemPrompt": "从用户价值、范围控制和交付节奏角度评估。"
}
],
"task": {
"target": "all",
"content": "请评估这个方案,给出风险、建议和最终判断。"
},
"options": {
"waitForReplies": true,
"activateChat": true,
"openTeamPage": true
}
}openteamcli run create-and-post --file task.json --waittask.json{
"chat": {
"name": "Solution Review",
"mode": "independent"
},
"roles": [
{
"source": "temporary",
"name": "Engineer",
"systemPrompt": "Evaluate from the perspectives of engineering implementation, complexity, risk and testing."
},
{
"source": "temporary",
"name": "Product Manager",
"systemPrompt": "Evaluate from the perspectives of user value, scope control and delivery rhythm."
}
],
"task": {
"target": "all",
"content": "Please evaluate this solution and provide risks, suggestions and final judgments."
},
"options": {
"waitForReplies": true,
"activateChat": true,
"openTeamPage": true
}
}openteamcli run create-and-post --file task.json --wait{
"source": "temporary",
"name": "研究员",
"description": "负责查漏补缺和事实核对。",
"chatSite": "deepseek",
"systemPrompt": "你是研究员,负责核对事实、找出假设漏洞,并列出需要补充的信息。"
}chatSitedeepseekchatgptgeminiclaudegroksystemPrompt{
"source": "temporary",
"name": "Researcher",
"description": "Responsible for filling gaps and fact-checking.",
"chatSite": "deepseek",
"systemPrompt": "You are a researcher, responsible for verifying facts, identifying hypothesis loopholes, and listing information that needs to be supplemented."
}chatSitedeepseekchatgptgeminiclaudegroksystemPromptchatIdopenteamcli task post --chat <chatId> --target all --content "继续追问的问题"
openteamcli task wait --chat <chatId> --message <messageId> --timeout 300000
openteamcli task read --chat <chatId> --message <messageId>task postchat gettask readopenteamcli daemon statuspending0openteamcli daemon restartchatIdopenteamcli task post --chat <chatId> --target all --content "Follow-up question"
openteamcli task wait --chat <chatId> --message <messageId> --timeout 300000
openteamcli task read --chat <chatId> --message <messageId>task postchat gettask readopenteamcli daemon statuspending0openteamcli daemon restartopenteamcli daemon start
openteamcli doctor
openteamcli daemon status
openteamcli daemon restart
openteamcli chat list
openteamcli chat get <chatId>
openteamcli chat create --name "群聊名" --mode independent
openteamcli chat activate --chat <chatId>
openteamcli chat initialize --chat <chatId>
openteamcli role list --chat <chatId>
openteamcli role batch-add --chat <chatId> --file roles.json
openteamcli task post --chat <chatId> --target all --content "任务"
openteamcli task wait --chat <chatId> --message <messageId> --timeout 300000
openteamcli task read --chat <chatId> --message <messageId>roles.json[
{
"source": "temporary",
"name": "研究员",
"systemPrompt": "负责查漏补缺和事实核对。"
}
]openteamcli daemon start
openteamcli doctor
openteamcli daemon status
openteamcli daemon restart
openteamcli chat list
openteamcli chat get <chatId>
openteamcli chat create --name "Group Chat Name" --mode independent
openteamcli chat activate --chat <chatId>
openteamcli chat initialize --chat <chatId>
openteamcli role list --chat <chatId>
openteamcli role batch-add --chat <chatId> --file roles.json
openteamcli task post --chat <chatId> --target all --content "Task"
openteamcli task wait --chat <chatId> --message <messageId> --timeout 300000
openteamcli task read --chat <chatId> --message <messageId>roles.json[
{
"source": "temporary",
"name": "Researcher",
"systemPrompt": "Responsible for filling gaps and fact-checking."
}
]error.code| 错误码 | 处理方式 |
|---|---|
| 请用户打开 OpenTeam 插件页面,确认已开启本机智能体控制,然后重跑 |
| 请用户在 OpenTeam 设置里开启 |
| 运行 |
| 运行 |
| 不要盲目重试。本地 token 或 daemon 状态可能异常,先运行 |
| 先运行 |
error.code| Error Code | Handling Method |
|---|---|
| Ask the user to open the OpenTeam plugin page, confirm that Local Agent Control is enabled, then re-run |
| Ask the user to enable |
| Run |
| Run |
| Do not retry blindly. The local token or daemon status may be abnormal; first run |
| First run |
run create-and-post --file ... --wait127.0.0.1run create-and-post --file ... --wait127.0.0.1