Commit Graph

59 Commits

Author SHA1 Message Date
Shadow
b1882d192d
woah lots of files didn't get committed 2026-04-27 20:54:48 -05:00
Shadow
7f85746cc1
switch to bun 2026-04-27 20:53:25 -05:00
Shadow
3178a81de9
misc fixes 2026-04-27 20:49:44 -05:00
Shadow
ccf0331b45
fix: fetch channels before helper thread actions 2026-04-27 20:48:57 -05:00
Shadow
1175fd90b0
convert to cf worker 2026-04-27 18:43:18 -05:00
Shadow
e792b3dcf8
fix(admin): always add shadow to inactivity warning thread 2026-04-17 15:51:54 -05:00
Shadow
1451bdf2ed
feat(admin): add inactivity warning thread command 2026-04-17 15:48:25 -05:00
Shadow
9ea6a90d82
feat(admin): refine trial-mod promote flow 2026-04-17 15:22:20 -05:00
Shadow
f9d9e58a4c
build(deps): update @buape/carbon to 0.16.0 2026-04-17 14:54:54 -05:00
Shadow
cf91db2f12
feat(admin): add trial-mod promote command 2026-04-17 14:54:28 -05:00
Shadow
ee6203bab0
fix(thread-welcome): fallback when template env is blank 2026-04-08 00:13:23 -05:00
Shadow
f42252977d
new migrations 2026-04-08 00:05:47 -05:00
Shadow
4cd7477538
fix: make sqlite migrations reliable across cwd 2026-04-07 23:58:21 -05:00
Shadow
a037e0bd43
update carbon 2026-04-07 23:54:57 -05:00
Julian Engel
f6d15fe2aa
Add Hermit-managed thread length monitoring (#6)
* Add /helper thread moderation commands with webhook tracking

- add new /helper root command with guild-only subcommands: warn-new-thread and close-thread

- implement warn-new-thread optional user mention support (matching prior /say new-thread mention behavior)

- implement close-thread thread-only guard, then post close message and archive/lock thread

- remove /say new-thread subcommand and route this workflow to /helper

- add shared command webhook utility posting to HELPER_COMMAND_WEBHOOK_URL

- include webhook payload fields: threadId, messageCount, time, command, invokedBy

- wire helper command registration in src/index.ts and extend env typings

- document HELPER_COMMAND_WEBHOOK_URL and helper command usage in README/.env.example

- fix TS typing issues uncovered during validation: interaction.user nullability, thread type guard, github option literal types

Validation: npx tsc --noEmit passes

* Add shared secret header for helper webhook delivery

- read HELPER_COMMAND_WEBHOOK_SECRET from env

- include x-helper-webhook-secret header on helper webhook POST when configured

- document new env var in README and .env.example

- extend ProcessEnv typing with HELPER_COMMAND_WEBHOOK_SECRET

* Add helper-thread welcome message on thread creation

- add ThreadCreate listener to post onboarding guidance for new helper threads

- target one configured helper parent channel via HELPER_THREAD_WELCOME_PARENT_ID

- set default in-file helper welcome template (overrideable via HELPER_THREAD_WELCOME_TEMPLATE)

- register listener in src/index.ts and update env/docs typing and examples

* Add /helper close command for thread lock+archive

- add /helper close subcommand that posts close message then archives and locks thread

- keep /helper close-thread as compatibility alias using shared close flow

- update README command list

* Updated to mention Krill by ID and compact welcome message

* Add moderated Answer Overflow solution marking

* Send worker event for welcome threads

* Add Hermit-managed thread length monitoring

* Migrate helper logs into Hermit

* Improve Hermit README

* fix: harden thread monitoring and helper log limits

---------

Co-authored-by: Shadow <hi@shadowing.dev>
2026-04-07 23:54:41 -05:00
Shadow
3e71d04eaf
admin and team lead commands 2026-04-07 23:31:06 -05:00
Shadow
e86579954e
chore: remove manage role requirement 2026-03-04 11:59:39 -06:00
Shadow
a43d019d48
feat: add new thread say command 2026-03-03 23:38:37 -06:00
Shadow
ec02c73aa7
fix: update model channel link 2026-03-03 23:36:15 -06:00
Shadow
b22733c252
feat: rename hermit and add drizzle setup 2026-03-03 23:35:48 -06:00
Shadow
bb8a556bd6
refactor: simplify role responses 2026-03-02 16:55:33 -06:00
Shadow
14eb9a2d8c
feat: replace goto with say command 2026-03-02 16:54:11 -06:00
Shadow
03f1e6fd69
cleanup 2026-03-02 08:53:40 -06:00
Shadow
4ef40a19e3
add role command 2026-03-02 08:52:30 -06:00
Asleep
5910ef52bb
feat: add goto command for user-to-user help (#4) 2026-03-02 08:32:49 -06:00
Shadow
dcff031190
Adjust Testflight automod response 2026-02-26 13:19:19 -06:00
Shadow
51abbfa46b
Add Testflight automod response 2026-02-26 13:16:12 -06:00
Shadow
c16f6203f6
chore: update carbon 2026-02-18 09:35:33 -06:00
Shadow
a4f06f6a35
Add autopublish for announcement channels 2026-02-15 13:02:37 -06:00
Shadow
028dca92ab
Update automod triggers 2026-02-08 20:06:04 -06:00
Asleep
edf0e3ea66
add moltbook to list of trigger words (#1) 2026-01-31 17:28:25 -06:00
Shadow
927f187290
update command links 2026-01-29 23:14:18 -06:00
Shadow
d6884ca1e6
Add goto security docs link 2026-01-29 10:59:16 -06:00
Shadow
3986f4fc9c
Add Answer Overflow command 2026-01-27 19:00:32 -06:00
Shadow
8877414807
Update barnacle links to molt.bot 2026-01-27 02:58:15 -06:00
Shadow
d2f9bc5d8a
Add note when pings are reposted 2026-01-27 02:42:53 -06:00
Shadow
e1082a51ff
Switch automod replies to plain text 2026-01-26 14:53:06 -06:00
Shadow
749e704c5c
Add non-censoring automod notices 2026-01-26 11:14:05 -06:00
Shadow
e28381abbe
Format goto mentions with lowercase copy 2026-01-25 02:00:32 -06:00
Shadow
aed2b3a66f
Refine goto install copy 2026-01-25 01:55:07 -06:00
Shadow
b506a5b95e
Add docs and install goto subcommands 2026-01-25 01:52:27 -06:00
Shadow
317dcac4b2
Wrap goto links to prevent embeds 2026-01-25 01:50:41 -06:00
Shadow
3e441fb1e9
Mask guide link in goto message 2026-01-25 01:49:18 -06:00
Shadow
43e421469d
Remove legacy goto commands 2026-01-25 01:48:10 -06:00
Shadow
f80592f30c
Add /goto subcommands for help links 2026-01-25 01:47:15 -06:00
Shadow
9318430a7d
Adjust guide command wording 2026-01-25 01:40:26 -06:00
Shadow
88da114d8b
Update help model discussion note 2026-01-25 01:38:54 -06:00
Shadow
bc374ebbbb
Update guide and help command text 2026-01-25 01:38:29 -06:00
Shadow
132c083af1
Add guide and help slash commands 2026-01-25 01:33:35 -06:00
Shadow
d951ccd701
Add mod-confirm automod flow 2026-01-23 18:44:40 -06:00