Commit Graph
107 Commits
Author SHA1 Message Date
Chris Beck 99fceda25e rename claudeapi to claudeagent 2025-12-08 20:04:48 -07:00
Chris Beck e280b4118e add a plot tool to claude 2025-12-08 20:03:31 -07:00
Chris Beck 429c4beef9 make claude return AdminMessageResponse instead of string, so it can return files potentially 2025-12-08 19:10:07 -07:00
Chris Beck 4cf90fe61e cargo clippy --fix 2025-12-08 19:07:12 -07:00
Chris Beck f49916811b cargo fmt 2025-12-08 19:06:51 -07:00
Chris Beck c78c2f388e add SourcedAdminMessageResponse to cleanup how AdminMessageResponse is used 2025-12-08 19:06:16 -07:00
Chris Beck 9c7275ed79 simplify configuration, no more subcommands 2025-12-08 18:59:22 -07:00
Chris Beck 996ed1ed0f add and use command-router to simplify the way signal-gateway processes admin commands 2025-12-08 18:39:11 -07:00
Chris Beck 84e2d57688 expose signal chat history to claude as message history
with role attributions, and a new compaction command which just
discards the message buffer.
2025-12-08 00:43:50 -07:00
Chris Beck 9826bbf8c2 move messages schema types to worker 2025-12-07 21:54:44 -07:00
Chris Beck facc288d6a workaround parser limitations for /c command 2025-12-07 21:21:08 -07:00
Chris Beck 0862e3ce38 add support for requesting claude to stop what it's doing if it's taking too long 2025-12-07 20:57:35 -07:00
Chris Beck 63e3eb213c split claude api into an api and a background worker 2025-12-07 20:31:44 -07:00
Chris Beck b8f9030d94 cargo fmt 2025-12-07 19:53:42 -07:00
Chris Beck 70d09ffc98 make claude hold a weak reference back to gateway 2025-12-07 16:28:00 -07:00
Chris Beck 739075f2e2 make Gateway::new return Arc::Self 2025-12-07 16:06:52 -07:00
Chris Beck 6633768df6 add claude module 2025-12-07 15:59:46 -07:00
Chris Beck 0b244b8e38 add regex support 2025-12-07 00:24:39 -07:00
Chris Beck ba69f5d592 add debug supressions feature 2025-12-07 00:17:35 -07:00
Chris Beck 36511d2fd1 re-order fields of log handler config to improve debugging output 2025-12-07 00:07:53 -07:00
Chris Beck 13b6490525 improve debug formatting of config 2025-12-07 00:02:45 -07:00
Chris Beck 35f8ff766d stronger parsing for signal trust set 2025-12-06 23:16:23 -07:00
Chris Beck c2ad134393 add support for toml file parsing, tweak some configuration names 2025-12-06 22:53:08 -07:00
Chris Beck df1616daeb fix code position 2025-12-06 21:11:07 -07:00
Chris Beck 0bc1329fcf fixups after deployment 2025-12-06 21:03:48 -07:00
Chris Beck 0cca1f8da3 remove admin-netcat thing 2025-12-06 20:43:49 -07:00
Chris Beck c62bac4a1d refactor suppression reason overall 2025-12-06 19:47:58 -07:00
Chris Beck 12f0c99ef9 factor out common loop that tests a sequence of limiters 2025-12-06 19:45:33 -07:00
Chris Beck 225b308a26 factor out unnecessary inputs to log handler (ts_sec) 2025-12-06 19:36:52 -07:00
Chris Beck 63ab1a62d3 rejigger collected_at timestamp 2025-12-06 19:32:55 -07:00
Chris Beck 77a0767db5 add CollectedAt to message, get rid of backfilling timestamps with Utc::now() 2025-12-06 19:30:01 -07:00
Chris Beck 7791af162c cargo fmt, fix limiter set evaluate semantics 2025-12-06 19:24:39 -07:00
Chris Beck 20604b1d08 fixups to signal trust set update set 2025-12-06 10:46:46 -07:00
Chris Beck b0d1c1bd92 refactor signal trust set API 2025-12-06 10:21:11 -07:00
Chris Beck f8e214cc8d refactor to move functions onto signal-trust-set 2025-12-06 10:18:01 -07:00
Chris Beck 133a367a36 rename struct to signal trust set 2025-12-06 10:12:33 -07:00
Chris Beck 6ed38cb1fd refactor admin_signal_uuids container 2025-12-06 10:09:54 -07:00
Chris Beck 5779edb610 rename admin safety numbers to admin_signal_uuids 2025-12-06 09:57:40 -07:00
Chris Beck ac6beaf8e4 add conf-test on top-level config 2025-12-06 09:52:55 -07:00
Chris Beck 393d68e5ef remove unnecessary dependencies, put prefix on log handler when flattening 2025-12-06 09:50:33 -07:00
Chris Beck 64bc606201 enable conf serde and test the toml format with our current schema 2025-12-06 03:26:30 -07:00
Chris Beck 0de84bcd60 factor out last async mutex 2025-12-06 02:53:10 -07:00
Chris Beck ae3761bffe make rate limiters thread-safe with fine-grained locks, remove hard locks at higher levels 2025-12-06 02:34:36 -07:00
Chris Beck 9b47963f16 improve the multi rate limiter for correctness (tracking evicted elements) 2025-12-06 02:11:41 -07:00
Chris Beck fed5f7e468 make RateThreshold always >= or < than, and make multiratelimiter respect this
require comparators to be explicit
2025-12-06 00:13:42 -07:00
Chris Beck 9d650c3df2 source locaiton rate limiter is a set of multirate limiters 2025-12-05 23:59:39 -07:00
Chris Beck 4e9704def2 flatten logfilter into route 2025-12-05 23:51:05 -07:00
Chris Beck 928a1aba78 simplify an import 2025-12-05 23:47:31 -07:00
Chris Beck 4f84cacc7b rejigger concurrent map api into lazy map 2025-12-05 23:39:45 -07:00
Chris Beck d2d9754df0 commit a rustfmt toml and merge imports 2025-12-05 23:22:16 -07:00