Skip to content

v1.2.5

Choose a tag to compare

@github-actions github-actions released this 01 Dec 14:35
· 94 commits to main since this release
0590f62

Before upgrading.

  • Migrations run at start: three, and all are expands. The database moves from
    0203_work_items_announce_due, where 1.2.4 left it, to 0206_artifacts_collab. Each adds only
    new, empty tables that no 1.2.4 server reads or writes, so the upgrade rolls its servers one by
    one, with no downtime. Each waits at most 5 seconds for its locks and 60 seconds for a statement,
    and gives up rather than hold reads behind a long transaction. Every new table keeps one
    organization's rows to that organization.
    • 0204_artifacts_store adds artifacts: each artifact's title, kind, owner, audience and the
      conversation it came from. Never its content, which lives in the artifact store (below).
    • 0205_artifacts_share adds who an artifact is shared with (people and teams, as viewer or
      editor), invitations to people outside the organization (their one-time codes kept only as
      hashes), requests for access, and each organization's artifact policy.
    • 0206_artifacts_collab adds comment threads and their comments, who has an artifact open, what
      each person allowed a page artifact to use, and the small documents a page keeps.
  • Artifacts need a versioned bucket of their own, and are off until you give them one. Every
    version of every artifact is kept as a version of one object in that bucket, never in the
    database and never in the files bucket. The server reads ARTIFACTS_STORE (s3, gcs or
    azure) and ARTIFACTS_BUCKET, with ARTIFACTS_PREFIX, ARTIFACTS_REGION,
    ARTIFACTS_ENDPOINT, ARTIFACTS_FORCE_PATH_STYLE and ARTIFACTS_AZURE_ACCOUNT_URL beside them.
    Credentials are the artifact store's own (ARTIFACTS_ACCESS_KEY_ID and
    ARTIFACTS_SECRET_ACCESS_KEY, ARTIFACTS_GOOGLE_APPLICATION_CREDENTIALS,
    ARTIFACTS_AZURE_CONNECTION_STRING), so the files store's keys never reach it; without them the
    server uses its own identity. With neither ARTIFACTS_STORE nor ARTIFACTS_BUCKET set, the server
    keeps no artifacts and the artifacts API says so (ARTIFACTS_UNAVAILABLE). As it starts, a server
    given a store writes a probe object twice and checks that the bucket kept both versions and
    refused a stale write; if not, it does not start, and says which bucket, which identity and what
    to change. Leave no lifecycle rule that expires old versions on that bucket: they are people's
    history.
  • The artifacts host. Share links, and every page an artifact draws, are served from a host of
    their own (ARTIFACTS_PUBLIC_HOST), never the app's, so a page runs sandboxed on another origin
    and can never reach the app's sign-in. Unset, there is no artifacts host and pages are not
    framed. Behind Cloudflare, ARTIFACTS_CLOUDFLARE_ZONE_ID and ARTIFACTS_CLOUDFLARE_API_TOKEN (a
    token allowed only Cache Purge on that zone) let the server purge a page from Cloudflare's cache
    as soon as it stops being public; without them it purges nothing.
  • Pages are compiled on the server. A page artifact is built with OpenBot's design system before
    it is shown, and the packages it names are installed from https://registry.npmjs.org/
    (ARTIFACTS_NPM_REGISTRY names another registry), so the server needs to reach one.
  • Compose. docker-compose.yml adds object-storage (a MinIO build, pinned by digest) and
    object-storage-init, which makes the openbot-artifacts bucket and switches versioning on at
    every start. Both are on the data network only, with no published port; the server starts once
    the bucket is ready. ARTIFACTS_PORT publishes the artifacts host on 127.0.0.1 alone, and a
    single-user OpenBot refuses any artifacts host that isn't loopback. Set
    OBJECT_STORAGE_ACCESS_KEY and OBJECT_STORAGE_SECRET_KEY for a stack you start by hand; OpenBot
    Desktop makes its own for each installation.
  • Kubernetes. The openbot chart's new artifacts values are off by default and render nothing
    until set: artifacts.publicHost, artifacts.cloudflare and artifacts.objectStorage, which
    takes a bucket you already made and refuses one unless versioning: enabled says versioning is on.
    With an ingress or an HTTPRoute, the artifacts host is routed to the server too; add it to your TLS
    and DNS as you did the app's host. The chart README has a command per cloud to make the bucket and
    turn versioning on.
  • No downtime, and nothing new is required. The upgrade rolls (openbot.ai/requires-downtime
    stays "false"). Every new setting is optional; without them a deployment runs as 1.2.4 did, with
    no artifacts.

Artifacts.

  • A Bot's work is kept, versioned and shareable. When a Bot makes a document, a deck, a
    dashboard, a sheet, a diagram or a page, it makes an artifact: a card in the conversation that
    opens beside it, and a page of its own under Artifacts. Documents, decks, dashboards, sheets and
    diagrams are drawn with OpenBot's own components; a page is built with OpenBot's design system,
    and runs sandboxed. Every Bot gets the artifact tools, a Bot connected over AG-UI as much as one
    OpenBot runs.
  • Every version is kept. Each save is a new version (v1, v2, v3). Step back through them,
    compare two, and restore an older one, which adds a new version rather than losing any. A save
    made on an older version than the current one is refused instead of overwriting someone else's.
    Artifacts can be renamed, duplicated, pinned and deleted.
  • Share it. An artifact is seen by its owner alone, by everyone in the organization, or by anyone
    with its link. Share it with people and teams as viewers or editors, invite someone outside the
    organization by email with a one-time code, and take any of it back; a viewer who loses access is
    closed at once. People without access can ask for it. Admins decide whether public links, outside
    invitations and pages using connected apps are allowed, and how many days earlier versions are
    kept (for good unless they set it; the latest version is always kept). Turning public links or
    outside invitations off closes the ones already given.
  • Download it as a real file. A document as PDF, Word or Markdown; a deck as PowerPoint, PDF or
    pictures; a dashboard as PDF or a picture; a sheet as Excel or CSV; a diagram as SVG, a picture or
    PDF; a page as one HTML file, PDF or a picture.
  • Comment on it, and hand a comment to a Bot. Comment threads sit on a version, on a stretch of
    text or on one part of a page. Send to Bot hands a thread to a Bot, which answers for the person
    who sent it, with their access, and may resolve it. Who has an artifact open shows as their
    pictures, which an admin can turn off. Someone on a public link or an outside invitation sees the
    artifact alone, never its comments or who else is there.
  • Pages that do more ask first. A page artifact can keep data, ask the model, use the viewer's
    connected apps and know who is viewing, each only after that person says yes.
  • On OpenBot Desktop artifacts are kept in a versioned store on the computer and served on
    their own port. There are no public links or outside invitations there, because a computer has no
    address anybody else can open.
  • Moving to OpenBot Cloud carries artifacts, each with every version and the files it uses.

Security.

  • The web app turns on Trusted Types (require-trusted-types-for 'script'), so the browser
    refuses to put script into the page except through OpenBot's own policies.