From 6aef861463656e448c2e5cb85013ca3807bb6e20 Mon Sep 17 00:00:00 2001 From: Volodymyr Vreshch Date: Sun, 22 Nov 2026 18:28:11 +0100 Subject: [PATCH] feat(probe): publish probe to npm with the date version The private flag was a hold until the date version form was confirmed. The market names an npm package for probe, so each release must be on npm. Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212 --- README.md | 2 +- docs/release.md | 2 +- extensions/probe/package.json | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d5b3971..c2c9450 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ A merge to master is the release. `.github/workflows/release.yml` runs `agentage - Only an extension whose folder changed since its last tag is released. Each extension gets its own version and tag. - The version has the form `YYYY.MDD.N`: the year, the month times 100 plus the day, and the count of that day. Example: `2026.1122.3`. - The tag has the form `@`, for example `probe@2026.1122.3`. -- The release pushes the images `ghcr.io/agentage/-` and `ghcr.io/agentage/`. Both `package.json` files set `"private": true`, so nothing goes to npm. +- The release pushes the images `ghcr.io/agentage/-` and `ghcr.io/agentage/`. The release also publishes `@agentage/extension-probe` to npm with the same date version. `fixture` sets `"private": true` and is never on npm. - Nobody bumps a version by hand. A released version never changes: a fix is a new merge. - A change to a root-level `*.md` file or to `docs/` of an extension folder releases nothing. The same holds for the root `README.md`, `docs/` and `.github/` of this repo. - To stop a folder from releasing, add a line to `.github/release-hold`: the folder name, then the reason. A line with no reason fails the run. diff --git a/docs/release.md b/docs/release.md index 376b933..aeb9da0 100644 --- a/docs/release.md +++ b/docs/release.md @@ -23,5 +23,5 @@ name, then the reason. A line with a name and no reason fails the run (`FAIL rel ## npm -- TODO: remove `"private": true` from `extensions/probe/package.json` once the owner confirms the first date version of the public `@agentage/extension-probe` on npm (it cannot be undone) and its npm trusted publisher names agentage/examples `release.yml`. +- The release publishes `@agentage/extension-probe` to npm by trusted publishing (publisher: this repository, workflow `release.yml`), before it writes the release record. A date version on npm cannot be removed. - `fixture` is a private package for good: it is never on npm. diff --git a/extensions/probe/package.json b/extensions/probe/package.json index f40ed7b..5ee628f 100644 --- a/extensions/probe/package.json +++ b/extensions/probe/package.json @@ -1,7 +1,6 @@ { "name": "@agentage/extension-probe", "version": "0.9.3", - "private": true, "description": "The probe extension: one of every agentage part kind, the template every later extension copies", "type": "module", "license": "MIT",