feat: add per-group workDir for agent working directory override
Agents can now run in a specified project directory instead of the group folder. The group's CLAUDE.md is still loaded via additionalDirectories.
This commit is contained in:
@@ -227,14 +227,11 @@ export class DiscordChannel implements Channel {
|
||||
|
||||
// Convert @username mentions to Discord mention format
|
||||
const mentionMap: Record<string, string> = {
|
||||
'눈쟁이': '216851709744513024',
|
||||
눈쟁이: '216851709744513024',
|
||||
};
|
||||
let resolved = text;
|
||||
for (const [name, id] of Object.entries(mentionMap)) {
|
||||
resolved = resolved.replace(
|
||||
new RegExp(`@${name}`, 'g'),
|
||||
`<@${id}>`,
|
||||
);
|
||||
resolved = resolved.replace(new RegExp(`@${name}`, 'g'), `<@${id}>`);
|
||||
}
|
||||
|
||||
// Discord has a 2000 character limit per message — split if needed
|
||||
|
||||
Reference in New Issue
Block a user