pd publish
pd publish is an alias for pd pub <channel> <message>. Publish to a worktree-aware channel.
Run pd publish like this
pd publishCommand contract
pd pub <channel> <message>
/docs/cli/publish
Messaging, Tube, Inbox, Tuples, Webhooks, And Tunnels
daemon-backed CLI command
cli/commands/messaging.ts, cli/commands/tube.ts, cli/commands/inbox.ts, cli/commands/tuples.ts, cli/commands/webhooks.ts, cli/commands/tunnel.ts
pd publish, pd broadcast
human display with command-specific state changes
hand-authored route with catalog-backed fallback

This clip shows the daemon health check, command discovery, and message-loop patterns that recur across the CLI reference. Here it grounds the pd publish reference: daemon health, discovery, and message-loop patterns these pages keep pointing back to.
Common ways this command shows up in practice
pd publish belongs to Messaging, Tube, Inbox, Tuples, Webhooks, And Tunnels. Move events between agents, local tools, editors, browsers, hooks, and external adapters.
daemon-backed CLI command. Validate live behavior from the daemon and handler source when changing this command.
Use pd pub <channel> <message> in automation when you want the canonical spelling; pd publish resolves to the same command contract.
Options that change command behavior
--sender
Stamp the message with an explicit sender id.
--dir
Resolve project-scoped behavior from this working directory.
--raw-channel
Use the channel string literally instead of project scoping it.
Examples
Run pd publish from a coordinated checkout
pd publish
Runs the pd publish command family and prints the resulting Port Daddy state, ids, or readiness/error details.
Find this command from the full CLI reference
pd help pubopen /docs/cli/pub
The help topic and docs route both describe pd pub <channel> <message>, including aliases, flags, and source provenance.