Skip to content

About

npx @winding-labs/glow: send what your coding agents (Claude Code, Codex) do to your Glow channels, and message them back from Glow.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Glow for coding agents

npx @winding-labs/glow

Run it once on your computer. It finds the coding agents you use (Claude Code, Codex), pairs the computer with your Glow workspace (you approve it in Glow with your passkey, then type the 6-digit code Glow shows you back into the terminal), and adds a small hook to each agent. From then on, every session in a repo that's linked to one of your products keeps one post in that product's channel: what it did, its branch, commits and pull request. From that post in Glow you can send the session a message, and the agent gets it.

What it sends, and where

  • Only to Glow (https://app.meetglow.ai). The address is fixed when you set up and can't be changed by a repo or an environment variable (the hook runs with an empty environment but HOME and PATH).
  • Only from linked repos. A session in any other repo sends nothing. You link repos to products in Glow.
  • Never from a repo you ignore. /glow:ignore in a repo (or npx @winding-labs/glow ignore) and its sessions send nothing from this computer, even if it's linked: the hook stops before it makes any request.
  • Only the agent's last reply and the request it answers, with keys and tokens masked, plus the branch, the titles of the branch's commits and a pull request link on the same repo, and which of GitHub (gh signed in), Chrome, Docker and Xcode this computer has (yes or no each, for its tags in Glow). Never your code, files or the transcript: the hook reads only your latest request from the agent's own session file.
  • Glow turns the reply into a short summary right away and doesn't keep the reply or the request. From the request it keeps only the recipe it names when it's a job you'd run again ("Pen test the API", "Optimize SEO"), so it can count how often you run it and offer to run it for you. Don't want that? npx @winding-labs/glow recipes off.
  • This computer's key can do three things: send a report, read which repos are linked, and fetch messages you sent to its sessions. While glow run is on, it also picks up the sessions you start here and says how they're going (the repo, the last command or file, masked; never output or code). It can't read anything else in your workspace. It stops working after 90 days unused.

Messages back

Only the person who paired the computer can message its sessions, and Glow asks them for Face ID or their passkey first. Claude Code picks a message up while it's idle (for 25 minutes after its last reply); Codex picks it up when its current turn ends. Don't want that? npx @winding-labs/glow messages off on the computer.

Run your queue here

npx @winding-labs/glow run ~/code --background

Only if you want it, and only while it runs: press Run on your queue in the Glow app, look at your phone (Face ID), and the tasks in it run here in Claude Code, a few at once, top of the queue first, on Opus 5.5 at medium effort (GLOW_MODEL and GLOW_EFFORT change it) (whatever claude uses in a terminal). For the next 5 minutes, anything you add to the queue runs too. Nothing starts by itself. Glow's Agents tab shows the queue live: what's running and its last step, what's next, what finished and what came of it, with each run's time, turns, cost and how full its context is. Tap one for its whole run: what it was asked, what it said and did, its reply. Run on a row starts that task at once (Glow's suggestions and teammates' tasks run only when you press it); New session starts one with a prompt you type. Each runs in your checkout of a repo that's linked to the task's product and found under the folders you give it (the current folder by default). Its reply posts to the product's channel like any session's, except for a task someone else wrote or one filed from a capture: then only you see it, on its run. Pause the computer in Glow to hold the queue.

  • Only with your Glow phone's Face ID: one phone on your account is your Glow phone (the app: Settings › Glow phone). It holds a key that never leaves its Secure Enclave (or Android Keystore) and signs each session, and each message to a session, after Face ID or your fingerprint: what runs, in which repo, on this computer. This computer checks that signature against the phone it trusts before anything runs or reaches an agent, so Glow alone, or anyone who got into your Glow account, can't run anything here. It trusts the first Glow phone Glow names; after you make a new phone yours, run npx @winding-labs/glow phone trust here (it shows the fingerprint to check against the app). npx @winding-labs/glow phone says which one it trusts.
  • Only yours: only you (the person who paired the computer) start sessions on it. Glow's suggestions and teammates' tasks run when you press Run on them, like yours.
  • Full access: every session runs like your own claude --dangerously-skip-permissions: nothing asks before a command, so start the runner only on a computer where you'd run that yourself. Each works in a git worktree of its own (.claude/worktrees/glow-…, a new branch from your default branch), so your checkout stays as it is. pnpm and yarn work even if only Node's corepack is installed. Glow's own CLI and ~/.glow stay denied (a session can't turn Glow off, stop the runner or read the computer's key).
  • Run is the yes: a session is told to finish the job live, with no second yes: merge its pull request once checks pass, deploy with your repo's own deploy path, change ad campaigns through the provider's API with the credentials on this computer, send, submit and publish. Its limits: never spend above the budget the brief names (none named: total daily ad spend stays flat), check which branch production really deploys from first, never delete data, drop tables, force push or rotate credentials unless the brief says so, and never run a paid test twice. These are instructions, not locks, and no person reviews what it merges. So read a task someone else wrote, or one from a capture, before you press Run: it runs with the same access.
  • This computer decides too, whatever Glow sends: --repo owner/name (repeat it) runs only those repos, and --repo owner/name=~/code/zest picks the checkout when a repo is checked out more than once (otherwise it doesn't run; worktrees don't count: it runs in the main checkout). Only in a folder you've trusted in Claude Code (opened claude there and said yes), since its own .claude settings and hooks apply. A session id is run once, never again.
  • What Glow knows, read-only: every session gets one tool of this package, glow_memory (MCP server glow): what Glow knows about the run's product, its text and the links and media kept for runs to reuse (its pages, posts, videos, images and listings, from its timeline in Glow and the links you add on the product's About screen), minus the ones you X out there. It asks Glow with this computer's key and sends nothing but the run's id; Glow answers only for a run it handed this computer, while it runs. It changes nothing, here or in Glow. Listing runs don't get it.
  • Replays, read once: the same server's glow_replay turns a PostHog replay link from the task into a timeline (pages, taps with the element's words, typing without what was typed, scrolls, pauses, console errors, failed requests) and an app's frames as images, with the product's own PostHog key from the repo's .env. Each replay is fetched once and kept in ~/.cache/glow-replays for 30 days, so the next run reads it at once.
  • What Glow keeps of a run: its usage (how many of its tool calls failed), and for 2 days its transcript (Claude Code's words, each tool or command, the first lines of each result, its reply), keys masked and cut short, at most 256 KB, that only you can read.
  • Your Claude account on this computer's card: the email and plan claude auth status says, and how much of the plan its runs saw used, sent with the runner's poll (nothing else from auth status, never a token).
  • Up to 10 sessions at once on a computer, even in one repo (each in its own worktree), fewer while the computer is busy (load per core 1.5 or more), the rest wait their turn, 3 hours each at most. Stop from Glow ends the session and the commands it started. Pausing the computer in Glow stops them all; Ctrl-C (or closing the terminal) stops the runner and its sessions, and everything they started.
  • Runs in line for one repo go together. When a slot opens, Glow hands over the oldest run in line with the others in line for the same repo (yours, signed by the same phone, up to 8; never a listing run). Each one's signature is checked on its own, exactly as for a single run, and one that fails is left out (and reported failed). The rest run as one Claude Code session: a fixed note from this package (not Glow's words, and not signed, so it says only how to work: subagents for independent tasks, related fixes in one pull request, one release at the end, a report per task), then each signed prompt whole, in a section of its own. Each run keeps its own record in Glow: it shows as running with the first, ends as that one ends, and gets its own part of the reply (## Task k). Stop on any of them stops the session; a resume picks all of them up (the runner's own record names them).
  • Interrupted runs pick up again. When the runner stops (a restart, run stop, Ctrl-C) or Claude Code stops over its login or usage limit, the run is paused, not over: the next time the runner runs, it picks it up with claude --resume in the same worktree, at most 3 times and within a day. Only a run it started itself after checking your phone's signature. While Claude Code needs /login it takes nothing new and checks again every couple of minutes; at a usage limit it waits for the reset. Stop in Glow, pausing the computer and a removed key are final.
  • Listing runs are narrower. A signed brief whose first line is Task: Site listings · <Product> (or Rotate listing logins · <Product>) and that names its sites on one Sites: line (at most 15) runs with no shell, no files and no web fetch: only a Chrome of the product's own (Playwright MCP, profile ~/.glow/browsers/listing-<product>, signed in to that product's listing accounts only) and three tools of this package, new_login, fill and inbox, and only for the sites on that line. One at a time on a computer. A password is made here, kept in your login Keychain (ai.meetglow.sites, <product>:<site>) and put on the clipboard for 30 seconds to paste: Claude Code never sees it, and it's masked in everything Glow gets. glow sites list shows the logins (never a password); glow sites export --out file.csv writes them all for 1Password's import (a 0600 file, after you type export; delete it once imported). For verification mail, glow sites connect-mail links this Mac once to a small Apps Script relay you deploy on a member of your listing@ Google Group (lib/listing-mail.gs: read-only, answers only this Mac's key, only mail to listing+…@ from the last 30 minutes); runs get only codes and links that land on the site (its own domain, or an auth service's link on to it).
  • run --background keeps it going after you close the terminal (log: ~/.glow/runner.log); on a Mac it's a LaunchAgent (~/Library/LaunchAgents/ai.meetglow.runner.plist), so it starts again after a restart. run stop stops it and removes that. It picks up a new pairing by itself. A session the runner started can't stop it or turn Glow off.

In Claude Code and Codex

/glow:status      what this folder sends (and why not), what's set up, which repos report or are ignored
/glow:ignore      this repo never sends to Glow from this computer (add a folder or owner/name for another)
/glow:unignore    let it send again (only when you type it: an agent can't run it on its own in Claude Code)
/glow:run         start (or stop) the runner in the background, for the linked repos under the session's folder
                  (only when you type it; --repo and other folders are for the terminal)

In Codex they're $glow:status, $glow:ignore, $glow:unignore and $glow:run. Setup adds them as a glow plugin, through each agent's own plugin command; each may run only its own ~/.glow/glow command, and a session Glow started can't run any of them.

Commands

npx @winding-labs/glow                 set up (or add an agent you installed later)
npx @winding-labs/glow status          what this folder sends, what's set up, which repos report
npx @winding-labs/glow ignore [repo]   this repo (or a folder, or owner/name) never sends from this computer
npx @winding-labs/glow unignore [repo] let it send again
npx @winding-labs/glow off | on        stop or start sending from this computer
npx @winding-labs/glow messages off    messages from Glow no longer reach your agents here (messages on: again)
npx @winding-labs/glow run [folders]   run your queue (and sessions you start in Glow) in the linked repos under these folders
    [--repo owner/name[=path]…] [--background]
npx @winding-labs/glow run stop        stop the runner (and its sessions)
npx @winding-labs/glow sites list      the site logins listing runs made here (never a password)
npx @winding-labs/glow sites export --out <file>
                                       all of them, passwords too, as a CSV for 1Password's import (asks first)
npx @winding-labs/glow sites connect-mail
                                       let listing runs read their verification mail (the listings mail relay)
npx @winding-labs/glow uninstall       remove the hooks and the plugin, revoke the key, delete ~/.glow

Codex asks before it runs any new hook: open Codex and run /hooks once to trust Glow's.

Files: ~/.glow/ (owner-only: the key, the ignored repos, a copy of this package and the plugin), a Stop hook in ~/.claude/settings.json and ~/.codex/hooks.json (a symlinked settings file stays a link). The first time, the originals are copied to *.before-glow.

Security: SECURITY.md.

About

npx @winding-labs/glow: send what your coding agents (Claude Code, Codex) do to your Glow channels, and message them back from Glow.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages