@agentage/extension-probe 0.9.3 → 2026.1123.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,116 +1,54 @@
1
- # extension-probe
1
+ # probe
2
2
 
3
- The probe is a small agentage extension that has one of every part kind: pages, ui, api, mcp, worker, store, cli and app. A part does one job. Extension authors use it
4
- as proof that the shape works. Maintainers test with it. To start your own
5
- extension, run `npx @agentage/cli@latest extension create <id>` or copy
6
- [agentage/extension-template](https://github.com/agentage/extension-template).
3
+ The probe is an agentage extension with one of every part kind: pages, ui, api, mcp, worker, store, cli and app. It shows the shape that every extension copies, and it proves the kit on each release.
7
4
 
8
5
  ## Quick start
9
6
 
10
- ### Use its command
11
-
12
- You need the agentage command line, installed globally. You do not need a clone, Docker or a
13
- sign-in.
7
+ You need Node 22 or newer, npm 10 or newer and git. Run the commands in this folder.
14
8
 
15
9
  ```bash
16
- npm install -g @agentage/cli
17
- agentage extension install probe # installs @agentage/extension-probe from npm
18
- agentage ping # prints pong
10
+ npm ci
11
+ npm run verify
12
+ npx agentage extension check # PASS probe <version> conforms (6 rules)
19
13
  ```
20
14
 
21
- ### Run it from a clone
22
-
23
- You need Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in.
24
-
25
- ```bash
26
- git clone https://github.com/agentage/extension-probe && cd extension-probe
27
- npm ci # installs the cli pinned in the lockfile
28
- npx agentage extension up --docker # last line: ready <n> parts healthy <n> s
29
- # open http://localhost:4280/ui/<version>/harness.html (version from package.json), click ping
30
- curl -s localhost:4280/.well-known/agentage-extension.json
31
- T=$(npx agentage extension token --scope probe:read) # from the dev issuer on localhost:4281
32
- curl -s -H "Authorization: Bearer $T" "localhost:4280/api/probe/echo?msg=hi"
33
- npx agentage extension install . # linked: the working copy
34
- npx agentage ping # pong
35
- npx agentage extension down # removes the containers, network and volume
36
- ```
37
-
38
- Use `npx agentage` inside the clone. A global `agentage` can be older than the pinned one and lack
39
- `extension up --docker`.
40
-
41
- Five parts run as containers: pages, ui, api, mcp and worker. `store` is postgres. `cli` runs on
42
- your machine. The `app` part runs in the shell of the daemon: `npx agentage extension up` (no
43
- Docker) builds it and reloads it on each save.
44
-
45
- More: [docs/develop.md](docs/develop.md#run-it-from-a-clone)
46
-
47
- ## What it serves
15
+ Use `npx agentage` here: the lock file pins the cli version.
48
16
 
49
- A part is one unit of the extension that does one job. Most are `src/` folders; the store is `migrations/` and `seeds/`. Each part exports only `create(ctx)`.
50
- The ui part exports a `widgets` map instead, and the app part a default root component. The kit,
51
- [`@agentage/extension`](https://github.com/agentage/platform), runs each part and builds one image
52
- each for pages, ui, api, mcp and worker, so this repo has no Dockerfile or compose file.
17
+ ## Parts
53
18
 
54
- | Part | Serves |
55
- | ------ | ------------------------------------------------------------------------------------- |
56
- | pages | `/`: `probe {version} · {commit}` |
57
- | ui | `/ui/{version}/probe.js`, `harness.html` |
58
- | api | `GET /api/probe/echo`, `GET /api/probe/ticks`, `POST /api/probe/emit`, `openapi.json` |
59
- | mcp | `POST /mcp`: tool `probe__echo` |
60
- | worker | job `tick`, one row in `ticks` per minute |
61
- | store | postgres |
62
- | cli | `agentage ping [msg]` |
63
- | app | the shell page `/probe`: nav row Probe (`radar`), Ping, Notify, Details, the draft |
19
+ Each part is one folder that does one job and exports `create(ctx)`. The ui part exports a `widgets` map and the app part a root component.
64
20
 
65
- More: [docs/parts.md](docs/parts.md), with what the kit owns.
21
+ | Part | Source | Serves |
22
+ | ------ | ----------------------- | ------------------------------------------------------------------------------------- |
23
+ | pages | `src/pages` | `/`: `probe {version} · {commit}` |
24
+ | ui | `src/ui` | `/ui/{version}/probe.js`, `harness.html` |
25
+ | api | `src/api` | `GET /api/probe/echo`, `GET /api/probe/ticks`, `POST /api/probe/emit`, `openapi.json` |
26
+ | mcp | `src/mcp` | `POST /mcp`: tool `probe__echo` |
27
+ | worker | `src/worker` | job `tick`, one row in `ticks` per minute |
28
+ | store | `migrations/`, `seeds/` | postgres |
29
+ | cli | `src/cli` | `agentage ping [msg]` |
30
+ | app | `src/app` | the shell page `/probe` |
66
31
 
67
- ## Verify
32
+ Details of each part: [docs/parts.md](docs/parts.md).
68
33
 
69
- What CI runs, in order:
34
+ ## Checks
70
35
 
71
36
  ```bash
72
- npm run verify # type-check, lint, format, tests with coverage, build
73
- npx agentage extension check # six rules; PASS probe <version> conforms
74
- npx agentage extension up --docker # each part's /health body is asserted
75
- npx playwright install chromium # once; a bare Linux also needs --with-deps
76
- npm run test:e2e # smoke and the widget tests
37
+ npm run verify # type-check, lint, format, tests with coverage, build
38
+ npx agentage extension check # the kit's six rules
39
+ npx agentage extension up --docker # needs Docker; each part's /health is asserted
40
+ npm run test:e2e # needs Chromium: npx playwright install chromium
77
41
  ```
78
42
 
79
- CI then runs the gate of agentage/e2e against the same `up`. That repository is private, so only
80
- maintainers run the gate.
81
-
82
- More: [docs/develop.md](docs/develop.md#verify)
43
+ `up` starts the whole extension on ports 4280 and 4281, and `npx agentage extension down` removes it. Details: [docs/develop.md](docs/develop.md). The shared end-to-end gate lives in a private repo, so only maintainers run it.
83
44
 
84
45
  ## Release
85
46
 
86
- A `v*` tag runs `.github/workflows/release.yml`. It builds and pushes
87
- `ghcr.io/agentage/probe-{pages,ui,api,mcp,worker}:{version}`. It also builds the one image that an app host
88
- runs. It attaches two records to the GitHub release: `agentage-extension.json` (the five part images
89
- by digest) and `agentage-container.json` (the one image). It publishes
90
- `@agentage/extension-probe` to npm with provenance.
91
-
92
- 1. Bump `version` in `package.json`.
93
- 2. Run `npx agentage extension check --write` and `npm run format`.
94
- 3. Commit to `master`, then tag `v<version>`. The tag must equal the version.
95
-
96
- A released version never changes. A re-run keeps its images and record and only retries npm. `agentage extension release`
97
- refuses a tag moved to another commit. Ship a fix as a new version.
98
-
99
- ## Deploy
100
-
101
- A release deploys nothing. One file runs the probe on `next`, the staging estate:
102
-
103
- - The `probe` row in `test/installation.json` of agentage/apphosts is an exact version on the `test`
104
- app host, served at `https://test.next.agentage.io`. A change of that row deploys the app host.
105
-
106
- The agentage/apphosts repository is private.
107
-
108
- ## Documentation
47
+ A merge to master that changes this folder releases it, with the version `YYYY.MDD.N` and the tag `probe@<version>`. See the [repo README](../../README.md#how-a-change-is-released). A change to this README, to `CLAUDE.md` or to `docs/` releases nothing.
109
48
 
110
- - [docs/parts.md](docs/parts.md): each part's routes, scopes and limits.
111
- - [docs/develop.md](docs/develop.md): what `up` does; the e2e gate.
112
- - [CLAUDE.md](CLAUDE.md): the rules for an agent that changes this repo.
49
+ ## More
113
50
 
114
- ## License
51
+ - [CLAUDE.md](CLAUDE.md): the rules for an agent that changes this folder.
52
+ - [agentage/kit](https://github.com/agentage/kit): the kit `@agentage/extension` that runs each part.
115
53
 
116
54
  MIT. See [LICENSE](LICENSE).
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "id": "probe",
3
- "version": "0.9.3",
4
- "commit": "f35ceb517c01c493644ae2f4e38fe021f17442fe",
5
- "buildTime": "2026-11-20T09:08:55Z",
3
+ "version": "2026.1123.2",
4
+ "commit": "b3440e30bce835bb0ca6cc04a1b180626bd23d9b",
5
+ "buildTime": "2026-11-23T00:45:23Z",
6
6
  "parts": {
7
7
  "store": {
8
8
  "kind": "postgres",
9
9
  "migrations": 1
10
10
  }
11
11
  },
12
- "image": "ghcr.io/agentage/probe@sha256:23b27dfbc7acc84f031740a866ec8ef4ff66e9d3f94c1d59d42cf775b0ea06a2",
12
+ "image": "ghcr.io/agentage/probe@sha256:3ecdeb06f51fdcf1b3b0f0a4950f1464bddd369c655d12e6e4b4a3ec65aafd0a",
13
13
  "openapi": "/api/probe/openapi.json",
14
14
  "tools": [
15
15
  {
@@ -21,7 +21,7 @@
21
21
  {
22
22
  "name": "echo",
23
23
  "element": "probe-echo",
24
- "module": "/ui/0.9.3/probe.js"
24
+ "module": "/ui/2026.1123.2/probe.js"
25
25
  }
26
26
  ],
27
27
  "commands": [
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "id": "probe",
3
- "version": "0.9.3",
4
- "commit": "f35ceb517c01c493644ae2f4e38fe021f17442fe",
5
- "buildTime": "2026-11-20T09:08:12Z",
3
+ "version": "2026.1123.2",
4
+ "commit": "b3440e30bce835bb0ca6cc04a1b180626bd23d9b",
5
+ "buildTime": "2026-11-23T00:44:44Z",
6
6
  "parts": {
7
7
  "pages": {
8
- "image": "ghcr.io/agentage/probe-pages@sha256:876385784ce5397b635721a59b9d0b6170ea0efbc1dd9febca301a1acf0b3f95"
8
+ "image": "ghcr.io/agentage/probe-pages@sha256:8cf88ad8db1d695b07a4d08e7c6b1ff71449041842f22b4d5a4731373fc6236d"
9
9
  },
10
10
  "ui": {
11
- "image": "ghcr.io/agentage/probe-ui@sha256:5147d71804779dd0b1583368332ef81f5ddd4c7ad367fc51c4494586d99c8930"
11
+ "image": "ghcr.io/agentage/probe-ui@sha256:070167e00c44752271b6df6797d784091a3cb72a80fa01be3774c8d98f02a0a7"
12
12
  },
13
13
  "api": {
14
- "image": "ghcr.io/agentage/probe-api@sha256:ea4f05a1e11f902ba7e0f98f06f0910a628fa053c5b14152703e7c1ff594db03"
14
+ "image": "ghcr.io/agentage/probe-api@sha256:81ff2f9304b57d00e2f856959f45784e0ce3e43a1140d1613c387756adc3e16a"
15
15
  },
16
16
  "mcp": {
17
- "image": "ghcr.io/agentage/probe-mcp@sha256:3685028732829205d0b692c54ef37f4d0b1a6e02b01140d7f3077d4dfe1f8dcf"
17
+ "image": "ghcr.io/agentage/probe-mcp@sha256:88b217151da531be1ec1032c7918e7fc96c09e6c6678679a25287d9d0574ebbd"
18
18
  },
19
19
  "worker": {
20
- "image": "ghcr.io/agentage/probe-worker@sha256:e67bbb3eab9c935ac9d8e34d6454112697ea00ab42ea842038fdb237d5946464"
20
+ "image": "ghcr.io/agentage/probe-worker@sha256:a24725b76b73be070ed2a43e8eccea9dc60aa09bb987f80151d368e5fe922735"
21
21
  },
22
22
  "store": {
23
23
  "kind": "postgres",
@@ -35,7 +35,7 @@
35
35
  {
36
36
  "name": "echo",
37
37
  "element": "probe-echo",
38
- "module": "/ui/0.9.3/probe.js"
38
+ "module": "/ui/2026.1123.2/probe.js"
39
39
  }
40
40
  ],
41
41
  "commands": [
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <meta name="agentage-extension" content="probe" />
7
- <meta name="agentage-version" content="0.9.3" />
8
- <title>probe 0.9.3 widgets</title>
7
+ <meta name="agentage-version" content="2026.1123.2" />
8
+ <title>probe 2026.1123.2 widgets</title>
9
9
  <style>
10
10
  :root {
11
11
  color-scheme: dark;