Сообщение боту и в чате проекта сначала классифицируется (правила, затем модель на подписке проекта): вопрос получает ответ с кнопкой «Завести как задачу», описание изменения — черновик, неясное или сбой — выбор кнопками. OpenSpec change pep-153-question-not-task (в архиве). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
33 lines
2.8 KiB
TypeScript
33 lines
2.8 KiB
TypeScript
// PEP-153: a question is answered, not filed as a task — the bot, the project chat, the answer from data.
|
||
import type { Dict } from "../index.ts";
|
||
|
||
export const intent: Dict = {
|
||
"📝 Завести как задачу": "📝 File as a task",
|
||
"💬 Ответить": "💬 Answer",
|
||
"📝 Завести задачу": "📝 File a task",
|
||
"✅ Создать": "✅ Create",
|
||
"Эта кнопка уже не работает. Напишите сообщение ещё раз.": "This button no longer works. Please write your message again.",
|
||
"• Спросите, что сейчас происходит («какие задачи у агентов?», «что с PAY-3?») — отвечу сразу, задачу из вопроса не заведу.": "• Ask what is going on («what are the agents working on?», «what about PAY-3?») — I answer right away and never turn a question into a task.",
|
||
"Ответил": "Answered",
|
||
"Завожу задачу": "Filing a task",
|
||
"ждёт очереди": "waiting in the queue",
|
||
"агент составляет план": "the agent is making a plan",
|
||
"ждёт вашего одобрения плана": "waiting for you to approve the plan",
|
||
"в работе у агента": "an agent is working on it",
|
||
"готова, ждёт вашей приёмки": "ready, waiting for you to accept it",
|
||
"готова и принята": "done and accepted",
|
||
"остановлена": "stopped",
|
||
"Ждут вашего ответа: {n}": "Waiting for your answer: {n}",
|
||
"Готовы и ждут вашей приёмки: {keys}": "Ready and waiting for you to accept: {keys}",
|
||
"Все задачи: {url}": "All tasks: {url}",
|
||
"Не понял, это вопрос или новая задача. Ответить или завести задачу?": "I can't tell whether this is a question or a new task. Answer it or file a task?",
|
||
"Сейчас не получилось разобрать сообщение. Ответить или завести задачу?": "I couldn't work out this message right now. Answer it or file a task?",
|
||
"Ответить по данным проекта или завести задачу? Выберите кнопкой.": "Answer from the project's data or file a task? Pick with a button.",
|
||
"Сообщение не найдено. Обновите страницу.": "Message not found. Refresh the page.",
|
||
"📝 Новая задача «{title}». Создать?": "📝 New task «{title}». Create it?",
|
||
"Создано из чата проекта ({login}).": "Created from the project chat ({login}).",
|
||
"📥 Создал {key}: {title}": "📥 Created {key}: {title}",
|
||
"• {agent} — {task} — {state}": "• {agent} — {task} — {state}",
|
||
"📌 {task} — {state}": "📌 {task} — {state}",
|
||
};
|