Commit Graph
135 Commits
Author SHA1 Message Date
Chris Beck 4584ae23bd make concurrent map able to give default values which depend on key
this allows to uphold more complex invariants
2025-12-15 10:26:49 -07:00
Chris Beck 6932407872 simplify code and improve code comments 2025-12-15 10:10:40 -07:00
Chris Beck 4061a9f4bf fixup code comments 2025-12-15 09:12:14 -07:00
Chris Beck 77ec9344a2 improve error hanlding in assistant worker 2025-12-14 22:00:08 -07:00
Chris Beck 7587d11ff4 claude - move api types to their own module, simplify message buffer computations 2025-12-14 21:09:22 -07:00
Chris Beck c66228f398 refactor claude message buffer 2025-12-14 12:20:29 -07:00
Chris Beck 4a1b1ecafb make admin compact requests cancellable as well 2025-12-14 12:11:43 -07:00
Chris Beck e9daba0d7c improve assistant behavior when the service is shutting down 2025-12-14 12:04:36 -07:00
Chris Beck d025b8f587 use cancellation token in claude API as well 2025-12-14 11:48:46 -07:00
Chris Beck 14a56cecfe fixup cancellation in assistant worker 2025-12-14 11:41:39 -07:00
Chris Beck ceb988dc07 abstract the claude module out of the signal-gateway and put interface and ipml in their own crates 2025-12-14 11:22:28 -07:00
Chris Beck 2682ee8ee6 split out log-ingest modules to their own crate 2025-12-13 21:40:30 -07:00
Chris Beck 2ecc614bb5 fix code comment 2025-12-13 21:06:35 -07:00
Chris Beck 51657dbd38 cargo fmt, allow rate-limiting requests to claude 2025-12-13 21:02:17 -07:00
Chris Beck fc7062d976 add readme 2025-12-13 17:14:53 -07:00
Chris Beck f3729ddea9 update code comment 2025-12-12 17:02:16 -07:00
Chris Beck b0496fbc9a integrat the app-code plugin to the signal-gateway-bin 2025-12-09 11:43:25 -07:00
Chris Beck 6c01a5f59f make sha callback async, change caching discipline for tarball 2025-12-09 11:28:13 -07:00
Chris Beck f4cf5b50bf add signal-gateway app-code crate 2025-12-09 11:01:42 -07:00
Chris Beck 775c66b287 use builder pattern with gateway 2025-12-09 09:38:23 -07:00
Chris Beck 6ac6beb9be log the summary when using claude-debug 2025-12-09 09:10:40 -07:00
Chris Beck 4a143bd6d2 make prompt caching optional, run clippy 2025-12-09 09:02:08 -07:00
Chris Beck 19b8561b9b fixup previous 2025-12-09 08:33:51 -07:00
Chris Beck 9d785d21b4 add mvp compaction implementation 2025-12-08 23:40:05 -07:00
Chris Beck 9482b37d6a fix bugs in our usage of claude api 2025-12-08 23:21:26 -07:00
Chris Beck d20fda07b8 add support for multiple system prompt files 2025-12-08 22:54:27 -07:00
Chris Beck 6c6323c6ae add request_debug command 2025-12-08 20:19:04 -07:00
Chris Beck 9aefc03b73 rename claude-stop and claude-compact commands 2025-12-08 20:06:53 -07:00
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