feat(cli): slack, email, notion + daily briefing commands - #1
Open
Pietrovendra wants to merge 1 commit into
Open
feat(cli): slack, email, notion + daily briefing commands#1Pietrovendra wants to merge 1 commit into
Pietrovendra wants to merge 1 commit into
Conversation
Add four self-extending pocket subcommands plus shared libs: - slack: post to Slack via chat.postMessage (user or bot token), with --thread for in-thread replies - email: send mail via Gmail SMTP (App Password) - notion: list open M&S tickets from Notion (--all, --json) - briefing: compose an Italian morning briefing from todos.md + open Notion tickets and post it to Slack (wired to a 09:15 launchd job locally) Shared logic extracted into lib/slack.ts (postSlack) and lib/notion.ts (fetchOpenTickets). All credentials and personal IDs stay in the gitignored .env — only variable names are mirrored in .env.example. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds four self-extending
pocketsubcommands plus shared libs, following the append-only command contract in AGENTS.md.New commands
chat.postMessage(user tokenxoxpposts as you, or bot tokenxoxb);--thread <ts>for in-thread replies.--allfor everyone,--jsonfor raw).todos.md+ open Notion tickets and post it to Slack. Wired locally to a 09:15launchdjob.Shared libs
lib/slack.ts→postSlack()(used byslack+briefing)lib/notion.ts→fetchOpenTickets()(used bynotion+briefing)Security
All credentials and personal IDs live in the gitignored
.env; only variable names are mirrored (commented) in.env.example. No secrets or personal identifiers in tracked source.contacts.jsonandtodos.mdare also gitignored.🤖 Generated with Claude Code