The services.dev CLI

The running jobjob_7Hq2 · delivered · document.fr-CA.pdf · $49.00 charged

Every npx services.dev command: what it does, who runs it, the operation it calls, and its status, with the exit codes an agent branches on.

83 commands. Yours read the folder; the rest are the operations registry's CLI column, each calling one operation against a running brand, and v2's short names stay as aliases. Every command takes --json and exits by the type of its answer: Errors has the codes.

CommandDoesWho runs itOperation
npx services.dev init [name]write services/<id>.ts, its brief and AGENTS.mdyou—
npx services.dev dev [--port 8787] [--members N --market tight|normal|flush]serve every Service on localhost; an agent orders a first jobyou—
npx services.dev check [--json]what each Service sells and leaves you, and anything to fixyou—
npx services.dev sdk [--out sdk]write the brand's typed client: index.js, index.d.ts and package.jsonyou—
npx services.dev diff <before> <after>what a change does on the API, CLI, MCP, SDK, Site, Docs and Appyou—
npx services.dev verify [--url <url>] [--surface http|mcp|all] [--suite <file|url>]run a brand's conformance suite against it, or any suite@1 document: pass, fail, skippedyou—
npx services.dev mcp [--url <url>]serve this folder's MCP server on stdio, or relay to a running brand'syou—
npx services.dev helpprint thisyou—
CommandDoesWho runs itOperation
npx services.dev jobs get <job>read a jobbuyerjob.get
npx services.dev jobs wait <job>wait up to 50 seconds for a job to finishbuyerjob.wait
npx services.dev jobs listthe buyer's jobs, newest firstbuyerjob.list
npx services.dev jobs accept <job>accept a delivered jobbuyerjob.accept
npx services.dev jobs send-back <job> <note>send a job back with a note, and the AI redoes itbuyerjob.send_back
npx services.dev jobs cancel <job>cancel a job before deliverybuyerjob.cancel
npx services.dev jobs end <job> <end>end a job at one of its ends, as that end's by allowsbuyerjob.end
npx services.dev jobs again <job>order an ended job againbuyerjob.again
npx services.dev jobs set-policy <job> k=v …set a job's policy values within their boundsbuyerjob.policy
npx services.dev jobs signal <job> <signal>raise one of the Service's inbound signalsbuyerjob.signal
npx services.dev jobs message <job> <text>say something in the job's thread as the clientbuyerjob.message
npx services.dev jobs messages <job>read the job's messages, oldest firstbuyerjob.thread
npx services.dev jobs record <job>a job's record as you may read it, oldest firstbuyerjob.record
npx services.dev jobs approve <job>approve, sign or do a job waiting on a personpersonjob.approve
npx services.dev members add <pool> <email> k=v …join a Pool, email first and resumablepersonmember.join
npx services.dev me availability <availability>set your availabilitypersonmember.availability
npx services.dev me ledgerread your conflicts ledgerpersonmember.ledger.get
npx services.dev me ledger add <name> k=v …add a party to your conflicts ledgerpersonmember.ledger.add
npx services.dev me ledger checksevery check of your conflicts ledgerpersonmember.ledger.checks
npx services.dev me missedthe open Tasks your own declarations kept from youpersonmember.missed
npx services.dev tasks listyour feedpersontask.list
npx services.dev tasks get <task>read a Task's teaserpersontask.get
npx services.dev tasks sheet <task>read a Task's sheetpersontask.sheet
npx services.dev tasks pass <task> <reason>pass on a Taskpersontask.pass
npx services.dev tasks claim <task>claim a Taskpersontask.claim
npx services.dev tasks clear <task>clear a held Taskpersontask.clear
npx services.dev tasks packet <task>read a cleared Task's packetpersontask.packet
npx services.dev tasks release <task>give a held Task back before it is donepersontask.release
npx services.dev tasks offer <task> <member>name the member a Task goes toyoutask.offer
npx services.dev tasks attest <task> k=v …attest the Task you claimed and clearedpersontask.attest
npx services.dev tasks send-back <task> <defects>send the work back with its defectspersontask.send_back
npx services.dev tasks decline <task> <memo>decline the Task, with a reasoned memo only the client readspersontask.decline
npx services.dev tasks recuse <task>step aside from a Task you hold, for a conflictpersontask.recuse
npx services.dev tasks extend <task>extend your hold on a Task, oncepersontask.extend
npx services.dev tasks contest <task> <reason>contest a send-back your attested work receivedpersontask.contest
npx services.dev tasks message <task> <kind> <text>reach the client through the job's thread, by kindpersontask.message
npx services.dev subjects listthe subjects your jobs joinedbuyersubject.list
npx services.dev subjects get <subject>read a subjectbuyersubject.get
npx services.dev me subjectsthe subjects where you are of recordpersonmember.subjects
npx services.dev subjects withdraw <subject> <successor>withdraw as the member of record, naming your successorpersonsubject.withdraw
npx services.dev clocks listthe clocks your jobs and their subjects runbuyerclock.list
npx services.dev clocks get <clock>read a clockbuyerclock.get
npx services.dev clocks ack <clock>acknowledge a clock you answer forbuyerclock.ack
npx services.dev clocks satisfy <clock>close a clock you answer for, on evidence on the recordbuyerclock.satisfy
npx services.dev clocks choose <clock> <option>choose one of a clock's lapse options at its datebuyerclock.choose
npx services.dev clocks assign <clock> <member>assign the member who answers for a clockyouclock.assign
npx services.dev subscriptions listyour subscriptionsbuyersubscription.list
npx services.dev subscriptions get <subscription>read a subscriptionbuyersubscription.get
npx services.dev subscriptions cancel <subscription>cancel a subscriptionbuyersubscription.cancel
npx services.dev members login <member>mint a member's own session on localhostyoumember.login
npx services.dev asks get <ask>read an askyouask.get
npx services.dev asks reissue <ask>reissue an open ask's link, to hand to its party againbuyerask.reissue
npx services.dev jobs files list <job>the files a job holds, each by its sha256buyerjob.files.list
npx services.dev jobs files put <job> <path>put a file in a job's documents plane under its own sha256buyerjob.files.put
npx services.dev jobs files get <job> <sha256>read a file a job holds, by its sha256buyerjob.files.get
npx services.dev jobs export <job>one job's evidence bundleyoujob.export
npx services.dev jobs ledger <job>one job, as the owner reads ityoujob.ledger
npx services.dev test-clocks create <frozen_at>make a test clock frozen at a timetesttest_clock.create
npx services.dev test-clocks advance <clock> <to>move a test clock to a time, or by a spantesttest_clock.advance
npx services.dev events listthe brand's events after a seqtestevent.list
npx services.dev listen [--forward-to <url>]the brand's eventstestevent.stream
npx services.dev watches create <url>watch events at a URLtestwatch.create
npx services.dev watches listthe watches this key holds, with their deliveriestestwatch.list
npx services.dev watches delete <watch>stop a watchtestwatch.delete
npx services.dev watches replay <watch>deliver to a watch again every event it covers after a seqtestwatch.replay
npx services.dev events send <type>send an event intestevent.inbound
CommandDoesWho runs itOperationStatus
npx services.dev order <service> k=v …order a job: --max <usd>, --key <key>, --approved, --policy k=v, --metadata k=vbuyerservice.orderalias
npx services.dev get <job>jobs getbuyerjob.getalias
npx services.dev wait <job>jobs wait, until it stops workingbuyerjob.waitalias
npx services.dev accept <job>jobs acceptbuyerjob.acceptalias
npx services.dev send-back <job> <note>jobs send-backbuyerjob.send_backalias
npx services.dev cancel <job>jobs cancelbuyerjob.cancelalias
npx services.dev approve <job>jobs approvepersonjob.approvealias
npx services.dev tick <span> [--to <time>] [--test-clock <tc_>] [--trace] [--compare] [--market <m>]test-clocks advance: move dev's own clock, or --test-clock that one, by a span such as 7d or --to a time, only forward; --trace prints each timer fired (owed, fired, order, kind); --compare runs the span three ways and prints each record's sha256; --market checks dev's simulated markettesttest_clock.advancealias
npx services.dev trigger <type>events send: fire a synthetic event, or raise a signaltestevent.inboundalias
Output
magic values: none

$ npx services.dev help
services.dev

You
  npx services.dev                  write a Service if this folder has none, then serve it
  init [name]                       write services/<id>.ts, its brief and AGENTS.md
  dev [--port 8787] [--members N --market tight|normal|flush]  serve every Service on localhost; an agent orders a first job
  check [--json]                    what each Service sells and leaves you, and anything to fix
  sdk [--out sdk]                   write the brand's typed client: index.js, index.d.ts and package.json
  diff <before> <after>             what a change does on the API, CLI, MCP, SDK, Site, Docs and App
  verify [--url <url>] [--surface http|mcp|all] [--suite <file|url>]  run a brand's conformance suite against it, or any suite@1 document: pass, fail, skipped
  mcp [--url <url>]                 serve this folder's MCP server on stdio, or relay to a running brand's
  tasks offer <task> <member>       name the member a Task goes to
  clocks assign <clock> <member>    assign the member who answers for a clock
  members login <member>            mint a member's own session on localhost
  asks get <ask>                    read an ask
  jobs export <job>                 one job's evidence bundle
  jobs ledger <job>                 one job, as the owner reads it
CommandDoesWho runs it
npx services.dev deploydeploy the brand to its domain, every surface and app at onceyou
npx services.dev previewdeploy the change to a preview address, on test keysyou
npx services.dev keysmake the brand's test and live keys, and rotate themyou
npx services.dev logstail the brand's request log, live or testyou
npx services.dev payoutsread each member's payouts and the Pool's scheduleyou

Every command the Operate tab runs, with its API call and the page that explains it:

CommandAPIExplained in
npx services.dev deployPOST https://services.dev/v1/deploysDeploy
npx services.dev deploy --live [--breaking]POST https://services.dev/v1/deploys/:version/liveDeploy
npx services.dev deploy --live --stages <shares> --hold <span>POST https://services.dev/v1/deploys/:version/live { stages, hold }Deploy
npx services.dev deploy --live --break-freeze --reason <why>POST https://services.dev/v1/deploys/:version/live { break_freeze }Deploy