@agentage/extension-probe 0.9.0 → 0.9.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,11 +1,13 @@
1
1
  # extension-probe
2
2
 
3
- The probe is a small agentage extension that has one of every part kind: pages, ui, api, mcp, worker, store and cli. A part does one job. Extension authors use it
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
4
  as proof that the shape works. Maintainers test with it. To start your own
5
5
  extension, run `npx @agentage/cli@latest extension create <id>` or copy
6
6
  [agentage/extension-template](https://github.com/agentage/extension-template).
7
7
 
8
- ## Use its command
8
+ ## Quick start
9
+
10
+ ### Use its command
9
11
 
10
12
  You need the agentage command line, installed globally. You do not need a clone, Docker or a
11
13
  sign-in.
@@ -16,34 +18,14 @@ agentage extension install probe # installs @agentage/extension-probe from np
16
18
  agentage ping # prints pong
17
19
  ```
18
20
 
19
- ## Parts
20
-
21
- 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)`.
22
- The ui part exports a `widgets` map instead, and the app part a default root component. The kit,
23
- [`@agentage/extension`](https://github.com/agentage/platform), runs each part and builds one image
24
- each for pages, ui, api, mcp and worker, so this repo has no Dockerfile or compose file.
25
-
26
- | Part | Serves |
27
- | ------ | ------------------------------------------------------------------------------------- |
28
- | pages | `/`: `probe {version} · {commit}` |
29
- | ui | `/ui/{version}/probe.js`, `harness.html` |
30
- | api | `GET /api/probe/echo`, `GET /api/probe/ticks`, `POST /api/probe/emit`, `openapi.json` |
31
- | mcp | `POST /mcp`: tool `probe__echo` |
32
- | worker | job `tick`, one row in `ticks` per minute |
33
- | store | postgres |
34
- | cli | `agentage ping [msg]` |
35
- | app | the shell page `/probe`: nav row Probe (`radar`), Ping, Notify, Details, the draft |
36
-
37
- More: [docs/parts.md](docs/parts.md), with what the kit owns.
38
-
39
- ## Run it from a clone
21
+ ### Run it from a clone
40
22
 
41
23
  You need Node 22 or newer, npm 10 or newer, Docker and git. Nothing needs a sign-in.
42
24
 
43
25
  ```bash
44
26
  git clone https://github.com/agentage/extension-probe && cd extension-probe
45
27
  npm ci # installs the cli pinned in the lockfile
46
- npx agentage extension up --docker # last line: ready 7 parts healthy <n> s
28
+ npx agentage extension up --docker # last line: ready <n> parts healthy <n> s
47
29
  # open http://localhost:4280/ui/<version>/harness.html (version from package.json), click ping
48
30
  curl -s localhost:4280/.well-known/agentage-extension.json
49
31
  T=$(npx agentage extension token --scope probe:read) # from the dev issuer on localhost:4281
@@ -56,11 +38,32 @@ npx agentage extension down # removes the containers, network and v
56
38
  Use `npx agentage` inside the clone. A global `agentage` can be older than the pinned one and lack
57
39
  `extension up --docker`.
58
40
 
59
- `up` reports 7 parts. Five run as containers: pages, ui, api, mcp and worker. `store` is
60
- postgres. `cli` runs on your machine.
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.
61
44
 
62
45
  More: [docs/develop.md](docs/develop.md#run-it-from-a-clone)
63
46
 
47
+ ## What it serves
48
+
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.
53
+
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 |
64
+
65
+ More: [docs/parts.md](docs/parts.md), with what the kit owns.
66
+
64
67
  ## Verify
65
68
 
66
69
  What CI runs, in order:
@@ -81,8 +84,9 @@ More: [docs/develop.md](docs/develop.md#verify)
81
84
  ## Release
82
85
 
83
86
  A `v*` tag runs `.github/workflows/release.yml`. It builds and pushes
84
- `ghcr.io/agentage/probe-{pages,ui,api,mcp,worker}:{version}`. It attaches the build record with the
85
- five image digests to the GitHub release as `agentage-extension.json`. It publishes
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
86
90
  `@agentage/extension-probe` to npm with provenance.
87
91
 
88
92
  1. Bump `version` in `package.json`.
@@ -92,10 +96,22 @@ five image digests to the GitHub release as `agentage-extension.json`. It publis
92
96
  A released version never changes. A re-run keeps its images and record and only retries npm. `agentage extension release`
93
97
  refuses a tag moved to another commit. Ship a fix as a new version.
94
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
+
95
110
  ## Documentation
96
111
 
97
112
  - [docs/parts.md](docs/parts.md): each part's routes, scopes and limits.
98
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.
99
115
 
100
116
  ## License
101
117
 
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "id": "probe",
3
- "version": "0.9.0",
4
- "commit": "a67dd538924954836581902743a0a67d893d630b",
5
- "buildTime": "2026-11-17T03:48:31Z",
3
+ "version": "0.9.2",
4
+ "commit": "bd65b2490839d5bc5876594b03eb18903a1c725f",
5
+ "buildTime": "2026-11-19T04:55:53Z",
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:43e702badea152c944e6b023c00a450110a2ebaf2a7784eda1da0971cef97a30",
12
+ "image": "ghcr.io/agentage/probe@sha256:588e6327694022fbe630a3c4705ee36e911ef2d253568c66513495052a272370",
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.0/probe.js"
24
+ "module": "/ui/0.9.2/probe.js"
25
25
  }
26
26
  ],
27
27
  "commands": [
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "id": "probe",
3
- "version": "0.9.0",
4
- "commit": "a67dd538924954836581902743a0a67d893d630b",
5
- "buildTime": "2026-11-17T03:47:55Z",
3
+ "version": "0.9.2",
4
+ "commit": "bd65b2490839d5bc5876594b03eb18903a1c725f",
5
+ "buildTime": "2026-11-19T04:55:11Z",
6
6
  "parts": {
7
7
  "pages": {
8
- "image": "ghcr.io/agentage/probe-pages@sha256:62e96bd55c8b9aaeaa095d788d7f3948e5c833e9048aa3a80836e4165798e214"
8
+ "image": "ghcr.io/agentage/probe-pages@sha256:41a0ed023ab5efd5e707e06f6544edecd0467e70416b2f41d71d414329cc9a29"
9
9
  },
10
10
  "ui": {
11
- "image": "ghcr.io/agentage/probe-ui@sha256:682d075c3ddc56505c253a413f0bfed2cd4bf37b6f99ae0a28e710bc9937bbb6"
11
+ "image": "ghcr.io/agentage/probe-ui@sha256:eb71c497a263e1f1d2613975bb0ba18a0d289f6e2e60c3f75d394f0ec2d717ef"
12
12
  },
13
13
  "api": {
14
- "image": "ghcr.io/agentage/probe-api@sha256:34f98ca0108ded0dfa84d509dbf3d1b8be8085fbe09b55b3dd916ce90ce0a2b9"
14
+ "image": "ghcr.io/agentage/probe-api@sha256:768789de82c34c7d890590ee6f098c40a0a4c767d8c9413d6772f7232971024c"
15
15
  },
16
16
  "mcp": {
17
- "image": "ghcr.io/agentage/probe-mcp@sha256:82527c33c9fabcde42d7b51b57958c9309e997e236ab92aaddf0e11087b176ae"
17
+ "image": "ghcr.io/agentage/probe-mcp@sha256:09f9c30d2c1ea727255723c3dee26037c03caded4dc52282b47ef0c41da9be34"
18
18
  },
19
19
  "worker": {
20
- "image": "ghcr.io/agentage/probe-worker@sha256:609db6741e401ef1193143060e85de2f7584ca2f3ae42c17bedf109f391c1dd2"
20
+ "image": "ghcr.io/agentage/probe-worker@sha256:f53f9bbcae2f6974210b7e20bab5c99dbcbdc6df83dbe060ec37288d8fa73d60"
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.0/probe.js"
38
+ "module": "/ui/0.9.2/probe.js"
39
39
  }
40
40
  ],
41
41
  "commands": [
@@ -2,4 +2,3 @@ import { z } from 'zod';
2
2
  export declare const EchoQuerySchema: z.ZodObject<{
3
3
  msg: z.ZodString;
4
4
  }, z.core.$strip>;
5
- export type EchoQuery = z.infer<typeof EchoQuerySchema>;
@@ -5,8 +5,8 @@ export declare const TicksQuerySchema: z.ZodObject<{
5
5
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
6
6
  }, z.core.$strict>;
7
7
  export declare const encodeCursor: (id: string) => string;
8
- export type TicksQuery = z.infer<typeof TicksQuerySchema>;
9
- export interface Tick {
8
+ type TicksQuery = z.infer<typeof TicksQuerySchema>;
9
+ interface Tick {
10
10
  id: string;
11
11
  job: string;
12
12
  tickedAt: string;
@@ -16,3 +16,4 @@ export declare const recentTicks: (store: Store, query: TicksQuery) => Promise<{
16
16
  total: number;
17
17
  nextCursor: string | undefined;
18
18
  }>;
19
+ export {};
@@ -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.0" />
8
- <title>probe 0.9.0 widgets</title>
7
+ <meta name="agentage-version" content="0.9.2" />
8
+ <title>probe 0.9.2 widgets</title>
9
9
  <style>
10
10
  :root {
11
11
  color-scheme: dark;