Skip to content

Installed docs live under docs/, but Pi instructions point at missing dist/docs path #88

Description

@fitchmultz

Summary

The Pi-side instructions for reading bundled pi-agent-browser-native docs pointed me at dist/docs/COMMAND_REFERENCE.md, but the installed package has the docs under docs/ instead. The documented dist/docs path is dead in this install.

This is minor, but it slows down debugging because agents hit a missing file before finding the actual docs.

Environment

  • agent-browser CLI version from doctor: 0.31.1 (macos aarch64)
  • Installed under: /Users/mitchfultz/.pi/agent/npm/node_modules/pi-agent-browser-native
  • Reproduced on 2026-07-06

Evidence

I tried to inspect command docs at the path provided by the Pi instructions:

grep -n "find role\|find text" \
  /Users/mitchfultz/.pi/agent/npm/node_modules/pi-agent-browser-native/dist/docs/COMMAND_REFERENCE.md

Output:

grep: /Users/mitchfultz/.pi/agent/npm/node_modules/pi-agent-browser-native/dist/docs/COMMAND_REFERENCE.md: No such file or directory

Then checked the installed package:

ls -la /Users/mitchfultz/.pi/agent/npm/node_modules/pi-agent-browser-native/dist/docs || true
find /Users/mitchfultz/.pi/agent/npm/node_modules -path '*agent-browser*' -maxdepth 4 -type f -name 'COMMAND_REFERENCE.md' 2>/dev/null | head

Output:

ls: /Users/mitchfultz/.pi/agent/npm/node_modules/pi-agent-browser-native/dist/docs: No such file or directory
/Users/mitchfultz/.pi/agent/npm/node_modules/pi-agent-browser-native/docs/COMMAND_REFERENCE.md

Expected

Either:

  • package the docs at the dist/docs/... paths used by the Pi instructions, or
  • update the generated Pi/tool instructions to point at .../pi-agent-browser-native/docs/COMMAND_REFERENCE.md.

Actual

The dist/docs path does not exist in the installed package; docs/COMMAND_REFERENCE.md does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions