The-Agency/lib/src/constants/xml.dart

68 lines
1.9 KiB
Dart

// XML tag names used in message content
const String commandNameTag = "command-name";
const String commandMessageTag = "command-message";
const String commandArgsTag = "command-args";
// terminal / bash tags
const String bashInputTag = "bash-input";
const String bashStdoutTag = "bash-stdout";
const String bashStderrTag = "bash-stderr";
const String localCommandStdoutTag = "local-command-stdout";
const String localCommandStderrTag = "local-command-stderr";
const String localCommandCaveatTag = "local-command-caveat";
const List<String> terminalOutputTags = [
bashInputTag,
bashStdoutTag,
bashStderrTag,
localCommandStdoutTag,
localCommandStderrTag,
localCommandCaveatTag,
];
const String tickTag = "tick";
// task notification tags
const String taskNotificationTag = "task-notification";
const String taskIdTag = "task-id";
const String toolUseIdTag = "tool-use-id";
const String taskTypeTag = "task-type";
const String outputFileTag = "output-file";
const String statusTag = "status";
const String summaryTag = "summary";
const String reasonTag = "reason";
const String worktreeTag = "worktree";
const String worktreePathTag = "worktreePath";
const String worktreeBranchTag = "worktreeBranch";
const String ultraplanTag = "ultraplan";
const String remoteReviewTag = "remote-review";
const String remoteReviewProgressTag = "remote-review-progress";
const String teammateMessageTag = "teammate-message";
const String channelMessageTag = "channel-message";
const String channelTag = "channel";
const String crossSessionMessageTag = "cross-session-message";
const String forkBoilerplateTag = "fork-boilerplate";
// prefix before the directive text, stripped by renderer
const String forkDirectivePrefix = "Your directive: ";
const List<String> commonHelpArgs = ["help", "-h", "--help"];
const List<String> commonInfoArgs = [
"list",
"show",
"display",
"current",
"view",
"get",
"check",
"describe",
"print",
"version",
"about",
"status",
"?",
];