Skip to content

v0.119.1

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 28 Oct 18:24
d4064c2

Install or update: npm i -g cotal-ai@0.119.1

Changes in this release

  • cotal daemon lines now name commands in backticks, so a Next or message wraps each command whole and --json carries the same text. cotal daemon serve prints one ready line, daemon ready at <socket>, on stdout; the duplicate daemon: ready at line on stderr is gone. cotal daemon install, --dry-run included, names what it read when it refuses outside a logged-in session: USER and LOGNAME when neither names a user, and systemctl --user show-environment when the user manager does not answer. Each refusal now has a Next. cotal service install gives the same user-manager refusal.

  • Redirecting stderr no longer leaves ANSI color in the file. Color under auto was decided by stdout alone, so cotal spawn 2>err.txt on a terminal wrote Mesh: headings and ✗ refusals to err.txt with their color codes, and cotal spawn >out.txt left the refusal on the terminal uncolored. Each stream is now colored only when it is a terminal, so a pipe or redirect of either stream is plain text. Reports, help, warnings and failure reports take their color from the stream they are written to, as do most error lines. Some other lines a command writes directly, such as progress notes, are colored only when stdout and stderr are both terminals. always, never, --no-color, NO_COLOR, FORCE_COLOR and TERM=dumb keep their meaning for both streams.

  • Clarify that a timed-out channel publish has an unknown outcome and that a disconnected send or yield refused before submission was not sent. Keep the Jcode user-auth tool catalog aligned with the host's capability gates without exposing credentials.

  • cotal up --max-payload <bytes> sets the broker's own message size limit, a positive integer up to 67108864. up renders it as max_payload: <bytes> in the broker config and records it in .cotal/broker-policy.json, which readBrokerPolicy reads back, so a later cotal up on the root renders it again without the flag, after cotal down or a preserved resume included. A running broker refuses a different value, and --open, -f and --restore refuse the flag. Service endpoint caller grants need at least 2098176 bytes, so a smaller value beside --service-endpoints refuses before anything starts. SERVICE_CALLER_PAYLOAD_FLOOR and SERVICE_CALLER_PAYLOAD_OVERHEAD now come from @cotal-ai/core, so the flag's validation and the auth host's assertion read one number. Before, serverConfig took a maxPayload that no up ever passed and no record kept, so a limit written into server.conf by hand was lost the next time up wrote the file.

    Caller issuance now survives a broker configuration reload. A reload keeps the same incarnation serving and moves VARZ config_digest, and issuance was bound to the digest the bootstrap observed, so every reload refused every later caller issuance until the auth plane was reopened. On a multi-tenant broker that is every tenant sign-up. The verifier now treats a moved digest as a trigger to re-measure: when the fresh observation proves the same broker incarnation and auth store, and proves the standalone topology, the payload floor, the control line, the system account and an uncapped auth stream again, it re-asserts the payload record under the held plane claim by CAS on the exact prior row and continues. A reload that breaks any of those still refuses, a max_payload below the floor included, a restart is a new incarnation and still refuses, and a withdrawn record is never overwritten.

  • A stopped space's last operation now names its command in backticks, as in "its last operation, cotal down, completed", so status, use, space and space show no longer split it after cotal. With a 36-character space name, status at 80 columns broke inside cotal down, and use broke the same way at 40 columns. --json carries the same text, so lastOperation and the selected space's message now hold the backticks. The --on help of run and its start, show, answer and amend verbs, and the refusal for a malformed --on, now write `cotal ps`, and the --launch help of supervise writes `cotal up -f` and `spawn -f`.

  • A bare cotal supervise for a space this machine hosts, run from a folder other than the space's root, now starts the manager in that root with its signer and instance, as cotal manager start does. It used to be refused with PERMISSION_DENIED because the folder it ran from holds no signer, after writing a new manager instance and serve identity into that folder, or into the .cotal of a parent folder that holds an unrelated space. With nothing selected, a bare cotal supervise in a folder that holds a prepared or stopped space is now refused for that space as not started, with the cotal up that starts it, where it used to print a log line about a main space nobody made.

What's Changed

  • ci(release): pack the release when the version PR is written and publish it on merge by @davidfarah2003 in #5115
  • fix(manager): run a bare supervise in the registered root and refuse a prepared folder as not started by @davidfarah2003 in #5117
  • fix(cli): name daemon commands in backticks, print one ready line and explain install refusals by @davidfarah2003 in #5111
  • feat(cli): render the broker payload limit with up --max-payload, and keep caller issuance across a broker reload by @davidfarah2003 in #5121
  • fix(cli): name a stopped space's last operation and run's --on target in backticks by @davidfarah2003 in #5120
  • fix(workspace): color each output stream by its own terminal by @davidfarah2003 in #5116
  • fix(ci): assemble the release pack's natives against the pushed commit they were built from by @davidfarah2003 in #5123
  • fix(connectors): clarify transport outcomes and align Jcode tool catalog by @davidfarah2003 in #5119
  • chore(release): version packages by @davidfarah2003 in #5118

Full Changelog: v0.119.0...v0.119.1