Skip to content

Providers and adapters

Provider Role and data
Box Hacksgiving reads a JSON register through the Sprite’s Box connector. The register contains renewals and can include a budget snapshot. A separate standard or custom budget file, selected with BOX_BUDGET_FILE_ID or BUDGET_PATH, supplies the categories instead. Local Hacksgiving uses files.
YNAB Personal reads authorized plan data using GET requests and a token stored by the host. On a Sprite, the same adapter uses a custom API connector and sends no token. Selected recurring outflows become renewal notices. createYnabBudgetSource reads plan balances and posted transactions as the monthly snapshot.
Telegram Hacksgiving sends check-ins and accepts replies in the paired private chat. Personal sends check-ins with item IDs and brief spending or renewal details. Personal records the response through its local CLI.
Slack Hacksgiving can send the count of current, unanswered cards and a link to the private inbox.
TypeSafe AI Jev receives Hacksgiving check-in text, category names, and written category replies for classification. A suggested category requires both the category and its companion fit check to score above 70%.
Ollama Hacksgiving uses Ollama for wording and short chat answers. The cloud option receives check-in text and, for chat, up to 30 purchases and 50 categories. Local Ollama keeps this processing on the operator’s machine.
Claude Code or Codex Interactive chat receives up to 30 recent positive outflows and 50 category balances. The chosen CLI can retain conversation history.

Hacksgiving builds the receipt and decision prompt from the register. Its generated sentence goes through code checks and, when configured, Jev’s factuality check. If Ollama fails or the sentence is rejected, Julius uses a template. If classification fails, the user can still choose a category.

Package Public entry points
@julius-money/core isRenewalNotice and validateBudgetSnapshot validate inputs. selectDueRenewalCheckIns and budgetCheckIns select check-ins for a supplied calendar date.
@julius-money/adapters RenewalSource exposes a stable sourceId and readUpcoming(). BudgetSource exposes a stable sourceId and readBudget(month). createBudgetFileSource reads a standard month file or a custom category list. RenewalMessenger<Reply> delivers a prompt and correlates replies with the original sender and prompt. The shared decision currently supports keep.
@julius-money/ynab createYnabRenewalSource reads allowlisted recurring outflows. createYnabBudgetSource reads one month’s balances and transactions.
@julius-money/operator runJuliusChat("claude", snapshot) or runJuliusChat("codex", snapshot) launches an interactive session with a limited projection of an existing snapshot.
  1. Normalize each renewal into a RenewalNotice with a stable occurrence ID, service, currency, integer minor-unit amount, calendar date, and evidence reference. Supply a cancellation cutoff when known. Keep amount and name edits on the same occurrence ID.
  2. Pass notices to selectDueRenewalCheckIns(notices, options) with the person ID, source ID, local date and lookahead window. The earlier of the charge date and cancellation cutoff is the deadline. A check-in is due one through windowDays days before it.
  3. Persist each returned key so repeated reads or wakes reuse the check-in. A messenger delivers the key, person ID, and rendered text. Record the response only when both the sender and original prompt match. The host owns storage and retries.
  4. For purchases and category balances, pass a validated monthly snapshot to budgetCheckIns(snapshot, today). Positive outflows represent purchases, negative balances establish overspending, and a null category marks a purchase as uncategorized. A purchase still uncategorized on day three can receive a distinct follow-up.

The editions supply credentials, clocks, and runtime storage. Hacksgiving vendors the SDK packages it uses and owns its Box, Telegram, and Slack integrations. Personal reads the sibling SDK and uses the YNAB adapter. Responses and category suggestions live in edition state. Apply actual financial changes at the source.