Commit Graph
100 Commits
Author SHA1 Message Date
Chris Beck 95e996bc7c fixup cargo toml, update readme for prometheus http client 2025-12-18 15:32:35 -07:00
Chris Beck 4783d2d9c6 move code out to a new signal-cli-jsonrpc-client
this makes it easier to reuse the RPC stuff and the signal trust set stuff
2025-12-18 15:21:44 -07:00
Chris Beck c326bd0a3b fixup semver check in CI 2025-12-18 14:50:09 -07:00
Chris Beck dd3ae11bef allow semver-checks to fail until crates are published 2025-12-18 14:44:10 -07:00
Chris Beck 2a8264aeba fixups to CI 2025-12-18 14:39:33 -07:00
Chris Beck a319ad98b3 add github actions ci 2025-12-18 14:19:38 -07:00
Chris Beck c2794dcb1d cargo fmt 2025-12-18 14:07:33 -07:00
Chris Beck 93544c3eef fix clippies 2025-12-18 14:07:17 -07:00
Chris Beck dca629d2cf add readme, docs, fmt 2025-12-18 14:02:31 -07:00
Chris Beck d2eca44587 tweak .gitignore 2025-12-18 13:50:43 -07:00
Chris Beck d83aa809db remove config.toml with rustflags, replace with release script 2025-12-18 13:46:40 -07:00
Chris Beck db5b31fd7b add README for signal-gateway 2025-12-18 13:33:50 -07:00
Chris Beck fe16c5dbd1 add a readme for prometheus-http-client 2025-12-18 13:21:06 -07:00
Chris Beck df5742d962 update README 2025-12-18 13:15:36 -07:00
Chris Beck 943141c0f6 add support for code-tool summary 2025-12-18 11:45:16 -07:00
Chris Beck 20eddca871 add summary tool 2025-12-18 11:23:30 -07:00
Chris Beck b0dd92aee8 more efficient line iterator 2025-12-18 11:04:27 -07:00
Chris Beck 89599e0b07 simplify cached tarball data structure for intended usage 2025-12-18 10:25:24 -07:00
Chris Beck 7038a5fa72 move CachedFile, CachedTarball tot heir own submodule, clean up things 2025-12-18 10:22:40 -07:00
Chris Beck 53a46b4e2a use globset crate for find functionality 2025-12-18 10:06:43 -07:00
Chris Beck 2c9d5cfb5e rename crate again to signal-gateway-code-tool 2025-12-18 09:56:32 -07:00
Chris Beck 63c7974184 make signal-gateway-repo-code also support reading code from a static tarball 2025-12-18 09:50:23 -07:00
Chris Beck 6f1af0d01f move repo-code config objects to their own submodule 2025-12-17 23:48:50 -07:00
Chris Beck 1a67da9e3d rename app-code crate to repo-code 2025-12-17 23:46:29 -07:00
Chris Beck c38c035d0b add metrics support in claude and gateway, and glob feature to signal-gateway-app-code 2025-12-16 16:08:20 -07:00
Chris Beck 2ce93be2de add tests of the signal-gateway-app-code infrastructure 2025-12-16 15:31:18 -07:00
Chris Beck 80ed6c2205 add doc-string for remove-path-prefixes 2025-12-16 12:02:38 -07:00
Chris Beck 498e7c7c1e refactor path prefix handling, normalize log paths at ingestion time not at formatting time 2025-12-16 02:06:40 -07:00
Chris Beck a5083c167c refactor path prefix code for simplicity, add tests, cargo fmt 2025-12-16 01:07:47 -07:00
Chris Beck e2d7d6bb8c add utilities for stripping path prefixes from filenames 2025-12-15 23:56:10 -07:00
Chris Beck 9a449a7e0a move http stuff to submodule in signal-gateway-bin 2025-12-15 15:52:09 -07:00
Chris Beck 01bbcd8fd0 update doc strings 2025-12-15 15:39:57 -07:00
Chris Beck e37bc1a986 move http body guts out to signal-gateway-bin
this is a cleaner separation of concerns
2025-12-15 15:31:37 -07:00
Chris Beck 0d284b54e4 systematically use lazy map cleaner on lazy maps 2025-12-15 14:42:01 -07:00
Chris Beck 2306364bbb add and use lazy map cleaner 2025-12-15 13:32:19 -07:00
Chris Beck 51d3ee1a10 pass child token into assistant agent 2025-12-15 12:47:45 -07:00
Chris Beck 2670104b49 factor out limit sequence object, simplify code, fmt 2025-12-15 12:32:12 -07:00
Chris Beck 3ae7030404 improvements to source location rate limiter cleanup scheme, concurrent map retain api and len impl 2025-12-15 11:34:17 -07:00
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
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