Skip to content

v0.43.0

Choose a tag to compare

@h3xxit h3xxit released this 01 Dec 12:01
· 46 commits to main since this release

Upgrading

  • One migration, 0025_shared_state, is applied at start. Nothing else changes unless you set the new variables below.
  • 0.42.0 was published as an image only and never reached npm. This release carries everything it held.

New

  • Several server-workers. One deployment can run several identical server processes behind its one port. Set SERVER_WORKERS to the number you want (default 1). The workers share their state through Postgres, one of them at a time does the work that must happen once, and another takes over within seconds when it stops. SIGTERM stops them gracefully and SIGHUP replaces them one at a time without a gap in service. See "Several server-workers" in docs/configuration.md, including how many database connections to plan for (SERVER_WORKERS × (DB_POOL_MAX + 2)).
  • Drafts are read without a working copy. A boot no longer checks out every draft, and reading a draft that has no working copy (the file tree and pages, the agent's read, list and history tools, the access check, the review panel) makes none: it is read from the repository at its tip on the remote. Writing to a draft still makes its working copy, and so does the agent's grep. For such a draft a file's dates are the commit's, and a link is listed but not read through. To give back the disk existing working copies take, set KB_REMOVE_DRAFT_CHECKOUTS=1 for one start: a draft's working copy is removed only when it holds nothing the repository does not (no commit missing on the remote, no changed, untracked or ignored file, nothing queued, no live lock), and protected branches are never touched.
  • Opening a change request says which changed files have no owner. The answer names them (unownedPaths, the first 25, with unownedPathsTotal) and carries a sentence for the author, so a request nobody owns does not wait unnoticed. A deployment's change-request listeners are handed the owners of the changed files beside the approvers. Who may approve is unchanged.
  • Connected agents carry a setup for the person. When a tool needs a value or a sign-in, the agent hands over a link to the exact place to enter it. A tool that fails with 401, 403 or 404 on the person's own credential says the credential may be the cause.
  • Connecting an agent is one task. The External agent access page opens on connecting your agent, with one "Connect as" choice for every way of making a key.
  • An agent withdraws a change request by deleting its draft. Before, the delete was refused while a request from the draft was open.
  • Decline one file of a change request. The change request window has a Decline this file button beside Approve this file. Under a knowledge page, Decline now takes only that page out of the request; Withdraw still cancels the whole request.
  • Leave tools of a connected MCP server out. excludeTools in a plugin's mcp.json names tools that server should not offer.

Fixed

  • A tool of a connected MCP server that reports a failure now fails the call. Before, the failure arrived as an ordinary result, so a tool chain and the audit log read it as a success.
  • create_branch and the app's branch route give a bare draft name its maker's prefix.
  • The accounts page labels an account the platform runs its own work as a "System account", and no longer offers Set password or Reset password for it.

For integrators

  • A call_tool_chain that relied on a connected server's failure arriving as a value now has to handle a rejected call.
  • POST /workspace/:id/workflow/branches answers 400 for a name that is not a non-empty string and for a fromBase that is not a string.
  • Responses carry X-Server-Worker when the process is one of several.
  • @bevel-software/platform-core-frontend no longer exports AssistantConnectionInstructions, OtherAgentConnectionInstructions, ClaudeInstallLink and ChatGptInstallLink from src/shared/mcp.
  • IAccessControl gains eligibleOwnersForPathsAtRef; an implementation of your own must add it. ChangeRequestOpenedEvent gains owners and unresolvedOwners.