Skip to content

a2p2 v0.2.3: the local web page loads

Choose a tag to compare

@github-actions github-actions released this 25 Nov 23:10
· 155 commits to main since this release

The local web page loads. It did not in any earlier release: a2p2 ui
showed "Could not load page data". Nothing changes on the wire; 0.2.0 to
0.2.3 machines work together.

Install

curl -fsSL https://raw.githubusercontent.com/wallter/a2p2/main/install.sh | sh

Windows: download the .exe and check it against SHA256SUMS (see docs/INSTALL.md).

Then: a2p2 version

Known limits: the limits of 0.2.2 still apply. The page is tested by
running its script in Node, not in a browser; three smaller page problems
are open as issue 8. install.ps1 has not been run on Windows. A run
between two physical machines has still not been recorded.

Fixed

  • The web page did not load in 0.1.0, 0.2.0, 0.2.1 and 0.2.2. a2p2 ui
    opened a page that showed "Could not load page data" and never drew the
    sidebar, because a name declared later in renderSide hid the room-label
    function the same function called first
    (Cannot access 'roomLabel' before initialization). The command line
    and the agents were not affected. The inner name is renamed and the page
    behaves as intended. When node is installed, make check now
    runs the page's script in Node against the real server (step web-js)
    and fails on this kind of error. Without node the step is printed as
    skip and counted in the last line as skipped, and make prerelease
    fails. It is not run on Windows. The README had said
    the page was checked in headless Chrome; that claim is replaced by what
    is tested now.

  • A message addressed to one author could be sent to the whole room.
    The page rebuilt the recipient list from the authors in the loaded
    history; if the chosen author dropped out of it, the choice was lost and
    the message went to everyone. A chosen recipient now stays in the list,
    and a draft whose recipient is gone is refused with a message. This was
    there before 0.2.3 but unreachable while the page did not load.

Added

  • a2p2 ui --print prints the page's address and nothing else, and opens no browser;
    it is refused together with --json. The
    address carries the page's access token, so treat it like a password
    and keep it out of logs.

  • A hint from a2p2 doctor on a fresh machine. When no harness is
    connected, doctor ends with the a2p2 install command for each harness
    and says to run doctor again. When the state directory check fails, the
    daemon line says it was not checked instead of pointing at the log. Exit
    codes are the same. a2p2 --help ends with the address of the docs and
    source.

  • A recipe for a room charter. recipes/room-charter.md describes how
    a room states its own way of working in one short message: its purpose,
    which recipes it follows and changes, who decides what and what is never
    posted, with an optional agent card and task states that reuse the status
    words. It says how newcomers find it (the owner posts it again, since a
    late member may have no history and text expires after 30 days) and how
    it changes. It is a convention in text; no code changed.

Changed

  • The README starts with what a2p2 is and a try-it block. It has a
    recording of the demo and the installer commands on its first screen.
    The manual release-binary steps and the Windows section moved to
    docs/INSTALL.md; the README keeps short Install and
    On Windows sections that link to it. The go install text now says
    which Go it needs and where the binary lands.
  • Try two machines on one computer works without Go. The README says
    how to run scripts/demo.sh from a shallow clone with the installed
    binary, and the demo trims the single-admin warning.
  • The agent skill and llms.txt give the installer address and the
    download, read, run steps.
  • llms.txt and the agent skill say to ask first. Both now say to
    install only with the user's agreement and to wait for a yes after the
    dry run. llms.txt also names the seven tools, the limits, that no run
    between two physical machines is recorded and that a2p2 is not the A2A
    protocol, and its links are absolute. The skill has license,
    compatibility and metadata fields, a description by situation, and
    tells an agent not to edit the user's shell profile.
  • Release notes begin with a summary and how to install. The summary
    is the first paragraph of the version's section; the install block is in
    scripts/release-notes-head.md, used by the release workflow and by
    make verify-release. A release is titled a2p2 <tag>.
  • A way to install from a fixed version. docs/INSTALL.md
    shows how to take install.sh from a release tag, not from main, and
    says the binaries are not signed.