Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
import { SKILL_COMMAND_TEMPLATES } from "@pibot/skills-contract";
export const botHooksZh = {
"hooks.title": "自动操作",
"hooks.format": "写入后运行格式化命令",
"hooks.command": "格式化命令",
"hooks.note": "在当前工作文件夹运行。保存设置不代表授权,执行仍按当前权限审批。",
"hooks.notify": "任务完成时通知",
"hooks.notifyNote": "成功完成用户发起的聊天后通知;不包含聊天正文,例行任务使用自己的通知设置。",
"hooks.failed": "自动操作设置未保存,请检查命令后重试。",
"hooks.loadFailed": "无法读取自动操作设置。",
"hooks.needCommand": "填好格式化命令后生效。",
"hooks.notification": "完成通知",
"hooks.requested": "已请求系统通知",
"hooks.shown": "系统通知已显示",
"hooks.foreground": "当前窗口已在前台,未弹通知",
"hooks.unsupported": "当前环境不支持系统通知",
"hooks.deliveryFailed": "系统通知失败或结果未知,未重发",
"skillCommands.title": "选择技能",
"skillCommands.more": "加载更多技能",
"skillCommands.limit": "更多技能可在 Bot 的能力面板中查看。",
"skillCommands.noMatch": "没有匹配「{query}」的技能",
"skillCommands.none": "还没有启用的技能",
"skillCommands.noneHint": "在 Bot 的能力面板里启用或导入技能,之后输入 / 就能直接选。",
"skillCommands.failed": "无法读取技能,请重试。",
"skillCommands.use": SKILL_COMMAND_TEMPLATES.zh,
} as const;
export const botHooksEn = {
"hooks.title": "Automatic actions",
"hooks.format": "Run formatting after writing",
"hooks.command": "Formatting command",
"hooks.note":
"Runs in the current working folder. Saving is not authorization; execution follows the current permission policy.",
"hooks.notify": "Notify on completion",
"hooks.notifyNote":
"Notify after a user-initiated chat completes successfully, without chat content. Routines use their own notifications.",
"hooks.failed": "Automatic action settings were not saved. Check the command and retry.",
"hooks.loadFailed": "Could not load automatic action settings.",
"hooks.needCommand": "Takes effect once a formatting command is filled in.",
"hooks.notification": "Completion notification",
"hooks.requested": "System notification requested",
"hooks.shown": "System notification shown",
"hooks.foreground": "Window already in front; notification suppressed",
"hooks.unsupported": "System notifications are not supported here",
"hooks.deliveryFailed": "Notification failed or delivery is unknown; not resent",
"skillCommands.title": "Choose a skill",
"skillCommands.more": "Load more skills",
"skillCommands.limit": "Find more skills in the Bot's capabilities panel.",
"skillCommands.noMatch": "No skills match “{query}”",
"skillCommands.none": "No skills enabled yet",
"skillCommands.noneHint":
"Turn on or import skills in the Bot's capabilities panel, then pick them here with /.",
"skillCommands.failed": "Could not load skills. Retry.",
"skillCommands.use": SKILL_COMMAND_TEMPLATES.en,
} as const;