Skip to content

PDD 0.1.61

Latest

Choose a tag to compare

@Serhan-Asad Serhan-Asad released this 04 Dec 07:59
8e9eea8

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 --main to install the latest from the main branch). Help, shell completion, the "new version available" notice, docs and the bundled /pdd skills all use pdd update.
  • pdd upgrade is gone: it now shows the normal unknown-command message.
  • If you are on 0.1.60: run pdd upgrade one last time to get this release, then run pdd setup once to refresh your agent setup. After that, use pdd update.

Linked mockups always reach the runtime (#3881)

  • Any Markdown link style works: a .ui.svg mockup or .css file linked from a prompt is now sent with pdd 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 ## Appearance or ## 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.svg mockup 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 style properties 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