Files
Dirigent/package.json
zhi 0729e83b38 feat: split dirigent_tools into individual tools + human @mention override
Feature 1: Split dirigent_tools
- Replace monolithic dirigent_tools (9 actions) with 9 individual tools
- Discord: dirigent_channel_create, dirigent_channel_update, dirigent_member_list
- Policy: dirigent_policy_get, dirigent_policy_set, dirigent_policy_delete
- Turn: dirigent_turn_status, dirigent_turn_advance, dirigent_turn_reset
- Extract shared executeDiscordAction() helper

Feature 2: Human @mention override
- When humanList user @mentions agents, temporarily override turn order
- Only mentioned agents cycle, ordered by their turn order position
- Original order restores when cycle returns to first agent or all NO_REPLY
- New: setMentionOverride(), hasMentionOverride(), extractMentionedUserIds()
- New: buildUserIdToAccountIdMap() for reverse userId→accountId resolution

Bump version to 0.3.0
2026-03-07 16:55:01 +00:00

40 lines
953 B
JSON

{
"name": "@hangman-lab/dirigent",
"version": "0.3.0",
"description": "Dirigent - Rule-based no-reply gate with provider/model override and turn management for OpenClaw",
"type": "module",
"files": [
"dist/",
"plugin/",
"no-reply-api/",
"discord-control-api/",
"docs/",
"scripts/install-dirigent-openclaw.mjs",
"docker-compose.yml",
"Makefile",
"README.md",
"CHANGELOG.md",
"TASKLIST.md"
],
"scripts": {
"prepare": "mkdir -p dist/dirigent && cp plugin/* dist/dirigent/",
"postinstall": "node scripts/install-dirigent-openclaw.mjs --install",
"uninstall": "node scripts/install-dirigent-openclaw.mjs --uninstall"
},
"keywords": [
"openclaw",
"plugin",
"discord",
"moderation",
"turn-management"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://git.hangman-lab.top/nav/Dirigent.git"
},
"engines": {
"node": ">=20"
}
}