sequenceDiagram
autonumber
actor User
participant Pi as pi CLI/TUI
participant Ext as Radius provider extension<br/>(pi-provider.ts)
participant Gateway as Radius Gateway Worker<br/>radius.pi.dev
participant Catalog as Gateway Catalog<br/>(DO/storage)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <sys/event.h> | |
| #include <sys/time.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| // Watches files for changes and prints which file changed | |
| int main(int argc, char *argv[]) { | |
| if (argc < 2) { |
All files go to the lefos-conversations-dev bucket (config: CONVERSATION_BUCKET), with one shared S3 client at packages/elwing/src/s3/client.ts.
S3 key hierarchy:
{domainId}/{mailboxId}/{conversationId}/
├── artifacts/{filename} # Agent-produced files
Elwing uses Polar (polar.sh) as its billing/subscription provider. Billing is credit-based: users purchase subscriptions or top-ups via Polar, receive credits, and credits are consumed as the AI agent processes emails, chats, and memory operations.
| Concept | Description |
|---|---|
| Credits | Internal currency. Converted from token cost: credits = tokenCents × 12.5 |
| Billing Owner | Each space has one billing owner (user). All charges in that space bill to them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://twitter.com/thorstenball/status/1576619567488475137?s=20&t=KaBdUrc5-M1bnNTMU6tuQA | |
| Working with Unix Processes | |
| Working with TCP Sockets | |
| Working with Ruby Threads | |
| Zed Shaw's C book | |
| Programming From The Ground Up | |
| Destroy All Software | |
| PeepCode Play by Play | |
| Pragmatic Programmer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install Karabiner Elements. | |
| Follow this | |
| https://github.com/tekezo/Karabiner-Elements/issues/638 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/vegard/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| ZSH_THEME="sobole" |
NewerOlder