Repository navigation
PDD 0.1.61 — pdd update, Linked Mockups That Always Upload, Clearer CLI Messages
This release renames the update command to pdd update and fixes how mockups linked from prompts reach the hosted runtime. It also corrects the pdd test --help exit codes and improves one native CLI error message.
pdd upgrade is now pdd update (#3878)
- One name, everywhere: the command that updates PDD is now
pdd update(with--mainto install the latest from the main branch). Help, shell completion, the "new version available" notice, docs and the bundled/pddskills all usepdd update. pdd upgradeis gone: it now shows the normal unknown-command message.- If you are on 0.1.60: run
pdd upgradeone last time to get this release, then runpdd setuponce to refresh your agent setup. After that, usepdd update.
Linked mockups always reach the runtime (#3881)
- Any Markdown link style works: a
.ui.svgmockup or.cssfile linked from a prompt is now sent withpdd test, the Simulator, check and MCP, whether you write it as a plain link, an image, a reference link, an<img>tag or a path in backticks, under## Appearanceor## Dependencies. This fixes false "file missing" refusals (dependency-file-unreadable) for files that exist in your repo. - One safe automatic retry: if the runtime still asks for a file that exists in your repo, PDD adds it and retries once. Only files tracked by Git, inside the repo, not secret and not too large are ever sent.
- Mockup prompts open on the Screen tab: a prompt that links a mockup now opens the Simulator on the Screen tab.
- Less lint noise: the old link-style warning for mockups is removed, because any style now works.
Simpler, more reliable screens from the /pdd skill (#3884)
- A screen is prose plus a mockup: the bundled UI guide now teaches agents to describe a screen in plain prose and link one realistic
.ui.svgmockup under## Appearance. The runtime writes the HTML and CSS, so agents no longer hand-write an app map, a Runtime interface block or CSS for simple screen apps. - Mockups the runtime accepts: the guide lists exactly which SVG elements and
styleproperties the runtime allows, so mockups stop being refused. In our tests, Simulator runs passed every time with the new guide, and agents finished simple screen apps noticeably faster. - New example:
examples/ui-screen-snake/shows one prompt and one mockup.
Clearer CLI messages
- Correct exit codes in
pdd test --help(#3877): the help now lists the real meanings: 3 = result unknown or still running, 4 = refused, 5 = not run. The native and JavaScript CLIs print the same text. - Clear message when PDD Cloud can't confirm your access (#3876): the native CLI now says "PDD Cloud could not confirm your access. Try again in a minute." and exits 5, the same as the JavaScript CLI.
Install or Update
# On 0.1.60: one last time with the old name, then refresh setup
pdd upgrade && pdd setup
# On 0.1.61 and later
pdd update && pdd doctor
# Or install fresh via npm
npm install -g @promptdriven/pdd@latest && pdd setup
# Python package users
pip install -U pdd-cli