wg

command
v0.0.0-...-708f140 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command wg reaches Workgraph over HTTP, with a personal API token.

wg login                    store a token
wg whoami                   who this credential is
wg inbox                    what needs me
wg ask "what changed"       the chief-of-staff questions
wg work list|queue          what work exists, and what it cost
wg work file <plan.json> [--project <slug>]
                            queue a planning job
wg work dispatch wg-abc     run one bead
wg project list|show <slug>
wg tokens list

NOT wg-work, which is a different program for a different situation. Its own doc comment gives the reason: it reaches the queue over the database because it runs where the database is, so a demo or an incident does not depend on a browser. That is right for the control node and impossible on a laptop, which would need a PostgreSQL connection string — and handing that out is the opposite of what wg-p4h exists to do.

Two properties matter more than the command set (wg-p4h.6).

--json on everything, in the shape the OpenAPI document specifies rather than a second rendering. An agent parses stdout, and a pretty table that is subtly not the API's shape is a bug that only ever appears in agent transcripts.

Exit codes a script can branch on: 0 ok, 2 usage, 3 unauthenticated, 4 forbidden, 5 refused by policy, 6 rate limited, 7 conflict, 1 anything else. A skill can act on those; it cannot act on prose.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL