Platforms
Made by log new platform reddit. Reddit is a platform of its own: every command is log reddit <command> …, and each one is an MCP tool named reddit<Command>.
What is here
| Part | Where |
|---|---|
| The accounts | Twenty socialAccounts with platform REDDIT |
| The session (find the account, its gate, its engine, the answer back to Twenty) | src/reddit/account/session, on the shared src/platformKit/session |
| The commands | src/cli/reddit/index.ts: log reddit session check (MCP redditSessionCheck) |
| The engine | python/redditApi/engine.py, on the shared python/platformKit/engine.py; each account's governor is under ~/.logCli/reddit/<account> |
| The client | not vendored yet |
Next
- Vendor Reddit's client under
vendor/<library>and setLIBRARYinpython/redditApi/engine.py. - Fill in
pingthere: call Reddit with the account's cookies and answerloginStatefrom Reddit's own answer. - Add each family as an action in the engine, a command in
src/cli/redditand its rules inCOMMAND_RULES, with a…Liveflag for anything that acts on Reddit.