Richie
c73aa5c98a
setup context manger for SignalClient and LLMClient
2026-03-14 11:49:44 -04:00
Richie
f762f12bd2
added max retry and retry back off to run_loop
2026-03-14 11:49:44 -04:00
Richie
ab5df442c6
reworked dispatch
2026-03-14 11:49:44 -04:00
Claude
f11c9bed58
Remove LLMConfig, pass LLM settings directly to LLMClient
...
LLMConfig was an unnecessary intermediary — LLMClient now takes
model, host, and port directly as constructor args.
https://claude.ai/code/session_01AKXQBuVBsW7J1YbukDiQ7A
2026-03-14 11:49:44 -04:00
Claude
ab2d8dbd51
Remove unused LLMConfig from BotConfig
...
LLMConfig was stored in BotConfig but never accessed after
construction — LLMClient receives it directly.
https://claude.ai/code/session_01AKXQBuVBsW7J1YbukDiQ7A
2026-03-14 11:49:44 -04:00
Claude
42ede19472
Replace polling with WebSocket for real-time Signal message reception
...
Switch from polling /v1/receive every 2s to a persistent WebSocket
connection at ws://.../v1/receive/<number>. Messages now arrive
instantly via the signal-cli-rest-api WebSocket endpoint.
- Add `listen()` generator to SignalClient using websockets library
- Extract `_parse_envelope()` as standalone function
- Replace `run_loop` polling with WebSocket listener + reconnect logic
- Remove `poll_interval` from BotConfig and CLI args
- Add websockets to Nix overlay and pyproject.toml dependencies
https://claude.ai/code/session_01AKXQBuVBsW7J1YbukDiQ7A
2026-03-14 11:49:44 -04:00
Claude
f4f33eacc4
Run ruff format on Python files
...
https://claude.ai/code/session_01AKXQBuVBsW7J1YbukDiQ7A
2026-03-14 11:49:44 -04:00
Claude
51f6cd23ad
add Signal command and control bot service
...
Python service for jeeves that communicates over Signal via signal-cli-rest-api.
Implements device verification via safety numbers (unverified devices cannot
run commands until verified over SSH), and a van inventory command that uses
an LLM on BOB (ollama) to parse receipt photos or text lists into structured
inventory data. The LLM backend is configurable to swap models easily.
https://claude.ai/code/session_01AKXQBuVBsW7J1YbukDiQ7A
2026-03-14 11:49:44 -04:00
Richie
3dadb145b7
added congress data to database
2026-03-14 11:49:44 -04:00
Richie
75a67294ea
added bound checking to van invintory
2026-03-09 07:24:05 -04:00
Richie
58b25f2e89
ran treefmt
2026-03-09 07:18:01 -04:00
Richie
82851eb287
added van inventory serves
2026-03-09 07:18:01 -04:00
Richie
b7bce0bcb9
created alembic revision for van_inventory
2026-03-09 07:18:01 -04:00
Richie
583af965ad
fixed orm __init__.py
2026-03-09 07:18:01 -04:00
Richie
ec80bf1c5f
added commit to env.py
2026-03-09 07:18:01 -04:00
Richie
bd490334f5
added van api and front end
2026-03-09 07:18:01 -04:00
Richie
18f149b831
ran treefmt
2026-03-09 07:18:01 -04:00
Richie
69f5b87e5f
setup multy db suport
2026-03-09 07:18:01 -04:00
Richie
70d20e55d2
fix code rabbit warnings
2026-02-18 17:12:38 -05:00
Richie
f038f248a1
improved eval_warnings/main.py
2026-02-18 17:12:38 -05:00
Richie
959d599ff9
updated pyproject.toml
2026-02-17 23:06:03 -05:00
Richie
d96c93fa17
created fix_eval_warnings.yml and python eval_warnings
2026-02-17 23:06:03 -05:00
Richie
e7dae1eb4b
added retry logic to post_to_ha
2026-02-08 13:17:33 -05:00
Richie
fcfbce4e16
fix treefmt issues
2026-02-04 20:05:32 -05:00
Richie
80af3377e6
created python heater to contron the hln heater
2026-02-04 20:05:32 -05:00
Richie
557c1a4d5d
added van_weather
2026-02-04 18:59:24 -05:00
Richie
86e72d1da0
fixed ruff errors
2026-01-22 21:26:38 -05:00
Richie
88c2f1b139
updated contact_api.nix and how the api is
2026-01-22 21:26:38 -05:00
Richie
e75a3ef9c6
renamed random to stuff
2026-01-22 21:26:38 -05:00
Richie
258f918794
reworded fastapi code
2026-01-22 21:26:38 -05:00
Richie
8afa4fce6c
added Contact api and data model
2026-01-22 21:26:38 -05:00
Richie
0109167b10
base of sqlalchemy alembic
2026-01-11 11:41:19 -05:00
Richie
3be1b8aa8f
fixed some coderabit issues
2025-12-20 12:20:21 -05:00
Richie
7c56954cda
get splendor code ruff complient
2025-12-20 12:20:21 -05:00
Richie
290f972346
ran ruff check python --fix --unsafe-fixes
2025-12-20 12:20:21 -05:00
Richie
72c3ccfb6d
ran ruff check python --fix
2025-12-20 12:20:21 -05:00
Richie
9630633ff5
temp
2025-12-20 12:20:21 -05:00
Richie
8c83f306b2
added more options for simulat.py
2025-12-20 12:20:21 -05:00
Richie
5b4609dc3b
added can_bot_afford to improve profiling
2025-12-20 12:20:21 -05:00
Richie
d1be25c6e8
added load_cards and load_nobles
2025-12-20 12:20:21 -05:00
Richie
31910586d2
added __init__.py to splendor
2025-12-20 12:20:21 -05:00
Richie
b8dfd0852a
moved max_token_take to GameConfig
2025-12-20 12:20:21 -05:00
Richie
6ce622e93e
speed up check_nobles_for_player
2025-12-20 12:20:21 -05:00
Richie
55e652a51d
added .gitignore to splendor
2025-12-20 12:20:21 -05:00
Richie
b5455a5483
cleaned up human.py
2025-12-20 12:20:21 -05:00
Richie
8baf388061
starting splendor
2025-12-20 12:20:21 -05:00
Richie
908bccb8dc
fixed typo
2025-11-08 08:21:27 -05:00
Richie
0c9bd40659
fixed mypy and ruff errors
2025-11-08 08:21:27 -05:00
Richie
f713b8d4fa
added safe_insert
2025-11-08 08:21:27 -05:00
Richie
26cf123357
fixed ruff errors
2025-10-31 22:37:54 -04:00