惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
H
Help Net Security
博客园 - 叶小钗
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
腾讯CDC
MongoDB | Blog
MongoDB | Blog
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
GbyAI
GbyAI
Microsoft Security Blog
Microsoft Security Blog
A
About on SuperTechFans
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
Martin Fowler
Martin Fowler
月光博客
月光博客
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
Vercel News
Vercel News

Show HN

The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph
GitHub - idodekerobo/draft: Draft keeps your team's AI se...
idodekerobo · 2026-06-18 · via Show HN

Draft keeps your team's AI sessions grounded, so there's no more re-explaining your product, priorities, or decisions at the start of every session. It runs in the background, capturing context from your meetings, Slack, and GitHub, then injects it automatically for everyone.

Visit draftai.us to download the app. See below to run from source.

Platform: macOS on Apple Silicon. Intel Mac and Windows support is not available yet.

Draft Screenshot


How it works

Inputs (Granola, Slack, GitHub)
        |
        v
Background daemon — captures + synthesizes via Claude
        |
        v
Proposed updates land in your inbox (desktop app / CLI)
        |
        v  (you accept)
Workspace context: ~/.draft/workspaces/<profile>/context/
        |
        v
Plugin hook fires at every session start
        |
        v
Context injected into the agent's system prompt

The daemon is registered as a macOS LaunchAgent (com.draft.daemon). It starts at login and restarts automatically. All synthesis calls go through your own Claude subscription — Draft does not proxy them. Everything stays on your machine.


Repo structure

draft/
├── cli/                  # Draft CLI (TypeScript, compiled to a binary via bun)
├── background/           # Background daemon (TypeScript + shell scripts)
│   ├── integrations/     # Pollers: Granola, Slack, GitHub
│   ├── synthesizers/     # Per-source synthesizers (session, Granola, Slack, GitHub)
│   └── draft-background.ts
├── core/                 # Shared library (workspace resolution, config, types)
├── desktop/              # macOS desktop app (Electrobun + React 19)
├── cli-agent-plugin/     # Plugin for Claude Code, Codex, Cursor (subtree), OpenClaw, Hermes
│   ├── hooks/            # inject-context.sh (session start), on-session-end.sh
│   ├── skills/           # /draft:setup, /draft:synthesize, /draft:publish, etc.
│   └── agents/           # OpenClaw + Hermes plugin adapters
├── landing-page-app/     # Marketing site (Next.js)
├── install.sh            # One-shot install script
└── Makefile              # CLI + desktop release automation

Prerequisites

  • macOS (Apple Silicon)
  • git — to clone the repo
  • Bun — runtime + package manager for all TypeScript workspaces
  • tmux — used by the daemon to manage background processes
  • Claude Code (or Codex / Cursor) — the agent the plugin hooks into
  • gh CLI — required for team collaboration features (draft setup-collab)

Note: bun and tmux are bundled inside the macOS desktop app and extracted automatically at install time. If you're running from source (CLI only, no desktop app), install them manually:

curl -fsSL https://bun.sh/install | bash
brew install tmux

Running from source

1. Clone and install

git clone https://github.com/idodekerobo/draft.git
cd draft
bash install.sh

install.sh does the following:

  1. Verifies bun is installed
  2. Installs TypeScript dependencies for the CLI workspace (cli/)
  3. Copies the draft wrapper script to ~/bin/ (or /usr/local/bin/)
  4. Installs shell tab completion (zsh or bash)
  5. Runs draft add claude-code to wire the plugin and daemon into Claude Code

After install, run draft --help to verify everything is on PATH.

2. Initialize a workspace

This runs an interview to set up your first profile and writes context files to ~/.draft/workspaces/default/.

3. Start the daemon

Or let the LaunchAgent handle it — it starts automatically at login after install.sh runs.


Development

This is a Bun monorepo. Install all workspace dependencies from the root:

CLI

cd cli
bun run dev         # run directly with bun (no compile step)
bun run build       # compile to ../draft-bin binary
bun test            # run tests

The compiled binary is the draft-bin file at the repo root. The draft wrapper script in your PATH delegates to it.

Background daemon

cd background
bun run background/draft-background.ts   # run daemon directly

The daemon reads from ~/.draft/ and writes proposals to ~/.draft/workspaces/<profile>/proposals/. Logs go to ~/.draft/background/logs/.

Desktop app

The desktop app is built with Electrobun — a Bun-native desktop framework. The main process runs in Bun; views are webviews backed by React 19.

cd desktop
bun run dev         # dev mode with hot reload
bun run start       # dev mode without watch

For a local build (no signing or notarization):

Production builds use make desktop-release v=<version> from the repo root. This requires Apple Developer credentials for signing and notarization.

Plugin (cli-agent-plugin)

The plugin is a git subtree at cli-agent-plugin/ — the public-facing repo is at idodekerobo/draft-cli-plugin. Changes should always be made in the monorepo and pushed to the plugin repo via Make:

make cli-push                  # sync to plugin repo (development)
make cli-release v=1.2.0 m="release notes"   # cut a versioned release

The plugin hooks are shell scripts. inject-context.sh runs at session start and writes context into the agent's system prompt. on-session-end.sh queues a synthesis job for the daemon.


Context files

All workspace state lives under ~/.draft/:

Path Contents
~/.draft/workspaces/<profile>/context/ Accepted context files (company, product, priorities, etc.)
~/.draft/workspaces/<profile>/proposals/ Pending proposed updates
~/.draft/personal/memory.md Global personal memory (shared across all profiles)
~/.draft/config.json Global config (active profile, integration credentials)
~/.draft/background/ Daemon binary, start/stop scripts
~/.draft/background/logs/ Daemon logs
~/.draft/bin/draft CLI binary (symlinked to /usr/local/bin/draft)

Integrations

Connect data sources with draft connect or draft add <source>:

  • Granola — meeting notes (MCP or API)
  • Slack — threads and channel activity
  • GitHub — PR activity, commits, issues

The daemon polls each source on a schedule, synthesizes new information via Claude, and stages proposed context updates for your review.


Team collaboration

Draft can sync context through a GitHub repository you control. One person acts as the curator and publishes; teammates pull updates.

draft setup-collab     # configure the shared repo (run once)
draft publish          # push accepted context to the shared repo
draft load-team        # pull latest team context locally

This uses your local gh credentials and the separate-clone pattern — the Draft workspace (~/.draft/) is never initialized as a git repo.


Key CLI commands

draft --help                        # full command reference
draft init                          # set up a new workspace
draft status                        # show daemon status + active profile
draft proposals                     # review pending proposals
draft publish                       # accept + push context to team repo
draft profiles                      # list profiles
draft switch <profile>              # activate a named profile
draft add <tool>                    # install plugin into claude-code | codex | cursor
draft daemon start|stop             # control the background daemon
draft connect                       # configure integrations
draft dimension list|add <name>     # manage context dimensions
draft import <source>               # import context from local dir or GitHub repo

Docs