@agentage/extension-probe 0.9.2 → 2026.1123.1
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 +30 -94
- package/dist/agentage-container.json +5 -5
- package/dist/agentage-extension.json +9 -9
- package/dist/ui/harness.html +2 -2
- package/dist/ui/probe.js +1 -1
- package/dist/ui/widgets.json +1 -1
- package/openapi.json +1 -1
- package/package.json +13 -12
- package/probe.mcpc.json +7 -3
package/README.md
CHANGED
|
@@ -1,118 +1,54 @@
|
|
|
1
|
-
#
|
|
1
|
+
# probe
|
|
2
2
|
|
|
3
|
-
The probe is
|
|
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
|
-
|
|
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
|
|
17
|
-
|
|
18
|
-
agentage
|
|
10
|
+
npm ci
|
|
11
|
+
npm run verify
|
|
12
|
+
npx agentage extension check # PASS probe <version> conforms (6 rules)
|
|
19
13
|
```
|
|
20
14
|
|
|
21
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
32
|
+
Details of each part: [docs/parts.md](docs/parts.md).
|
|
68
33
|
|
|
69
|
-
|
|
34
|
+
## Checks
|
|
70
35
|
|
|
71
36
|
```bash
|
|
72
|
-
npm run verify
|
|
73
|
-
npx agentage extension check
|
|
74
|
-
npx agentage extension up --docker # each part's /health
|
|
75
|
-
|
|
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
|
-
|
|
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 `
|
|
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. Two files run the probe on `next`, the staging estate:
|
|
102
|
-
|
|
103
|
-
- The `probe` row in agentage/estate `estate.yaml` has `version: latest`. The cloud extension opens
|
|
104
|
-
a pull request for each new release, and the merge deploys `probe.next.agentage.io`.
|
|
105
|
-
- The `probe` row in `test/installation.json` of agentage/apphosts is an exact version on the `test`
|
|
106
|
-
app host.
|
|
107
|
-
|
|
108
|
-
Both repositories are private.
|
|
109
|
-
|
|
110
|
-
## 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.
|
|
111
48
|
|
|
112
|
-
|
|
113
|
-
- [docs/develop.md](docs/develop.md): what `up` does; the e2e gate.
|
|
114
|
-
- [CLAUDE.md](CLAUDE.md): the rules for an agent that changes this repo.
|
|
49
|
+
## More
|
|
115
50
|
|
|
116
|
-
|
|
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.
|
|
117
53
|
|
|
118
54
|
MIT. See [LICENSE](LICENSE).
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "probe",
|
|
3
|
-
"version": "
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildTime": "2026-11-
|
|
3
|
+
"version": "2026.1123.1",
|
|
4
|
+
"commit": "d2e561d1600c689ad7e1776ef67ad694fc48a8fb",
|
|
5
|
+
"buildTime": "2026-11-23T00:39:36Z",
|
|
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:
|
|
12
|
+
"image": "ghcr.io/agentage/probe@sha256:ee73bbf0732cd42c3ca49007065d9bcd70cb23c3aeac003e8b18624bc3cbf568",
|
|
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/
|
|
24
|
+
"module": "/ui/2026.1123.1/probe.js"
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
27
|
"commands": [
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "probe",
|
|
3
|
-
"version": "
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildTime": "2026-11-
|
|
3
|
+
"version": "2026.1123.1",
|
|
4
|
+
"commit": "d2e561d1600c689ad7e1776ef67ad694fc48a8fb",
|
|
5
|
+
"buildTime": "2026-11-23T00:38:55Z",
|
|
6
6
|
"parts": {
|
|
7
7
|
"pages": {
|
|
8
|
-
"image": "ghcr.io/agentage/probe-pages@sha256:
|
|
8
|
+
"image": "ghcr.io/agentage/probe-pages@sha256:30893bf36e0fee41655191991a50d195ebd0e60e0aed0d83448419cedeabb2c5"
|
|
9
9
|
},
|
|
10
10
|
"ui": {
|
|
11
|
-
"image": "ghcr.io/agentage/probe-ui@sha256:
|
|
11
|
+
"image": "ghcr.io/agentage/probe-ui@sha256:27a691c7928db3acf0f99caf563cfe2a2e3019292a05b6cdc7e092dd42a6b6ba"
|
|
12
12
|
},
|
|
13
13
|
"api": {
|
|
14
|
-
"image": "ghcr.io/agentage/probe-api@sha256:
|
|
14
|
+
"image": "ghcr.io/agentage/probe-api@sha256:563e93ae0d70963d434d6b3c0a897fa21270c3deb53515cb1f6fd368a5826cdf"
|
|
15
15
|
},
|
|
16
16
|
"mcp": {
|
|
17
|
-
"image": "ghcr.io/agentage/probe-mcp@sha256:
|
|
17
|
+
"image": "ghcr.io/agentage/probe-mcp@sha256:4ee3b9e2b212acce2ed30f63137073d842a39608be540779353592385ba8ec60"
|
|
18
18
|
},
|
|
19
19
|
"worker": {
|
|
20
|
-
"image": "ghcr.io/agentage/probe-worker@sha256:
|
|
20
|
+
"image": "ghcr.io/agentage/probe-worker@sha256:4b2b29bf7fe2ce13a7a1a15e5bf1a502d2167e4a034e71f1dc13117351d6eecc"
|
|
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/
|
|
38
|
+
"module": "/ui/2026.1123.1/probe.js"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"commands": [
|
package/dist/ui/harness.html
CHANGED
|
@@ -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="
|
|
8
|
-
<title>probe
|
|
7
|
+
<meta name="agentage-version" content="2026.1123.1" />
|
|
8
|
+
<title>probe 2026.1123.1 widgets</title>
|
|
9
9
|
<style>
|
|
10
10
|
:root {
|
|
11
11
|
color-scheme: dark;
|