{
  "_说明": "pi-ntfy 只支持 NTFY。默认所有工作模式（tui/json/rpc/print）都会推送；excludedModes 仅列出不需要推送的模式，例如 [\"json\"] 可让 pi --mode json -p 的子代理保持安静。复制为 config.json 后按需修改。",
  "_占位符": "{{status}} {{reason}} {{text}} {{title}} {{event}} {{cwd}} {{project}} {{duration}} {{session}} {{sessionId}} {{model}} {{mode}} {{thinking}} {{task}} {{summary}} {{tools}} {{host}} {{time}} {{date}}",
  "enabled": true,
  "excludedModes": [],
  "timeoutMs": 5000,
  "shutdownTimeoutMs": 2000,
  "dedupeMs": 3000,
  "minDurationSec": 0,
  "maxTextChars": 2000,
  "debug": false,
  "titleTemplate": "[{{project}}] {{status}} · {{session}}",
  "template": "项目: {{project}}\n会话: {{session}}\n任务: {{task}}\n状态: {{status}}\n原因: {{reason}}\n摘要: {{summary}}\n耗时: {{duration}}\n模型: {{model}}\n主机: {{host}}\n时间: {{date}} {{time}}\n工具: {{tools}}",
  "events": {
    "idle": true,
    "interrupted": true,
    "needInput": true,
    "exit": false
  },
  "needInputTools": ["ask_user_question", "plan_mode_question"],
  "channels": [
    {
      "type": "ntfy",
      "name": "手机 ntfy",
      "enabled": true,
      "topic": "Agent",
      "server": "https://n.ipao.vip",
      "token": "$NTFY_TOKEN",
      "priority": "default",
      "tags": "pi,computer"
    }
  ]
}
