@ayepi/context 0.4.0 → 0.5.0

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.
Files changed (2) hide show
  1. package/ayepi.md +7 -3
  2. package/package.json +1 -1
package/ayepi.md CHANGED
@@ -59,6 +59,7 @@ Cross-cutting conventions, true across the whole library:
59
59
  | [`./ayepi-core-middleware.md`](./ayepi-core-middleware.md) | author middleware: `middleware()` defs, `requires`/`provides`/loaders, `use()`/`.group()`/`.endpoint()`, the `io` object, short-circuiting with a `Response`. |
60
60
  | [`./ayepi-core-types.md`](./ayepi-core-types.md) | understand or extend the precise generic/type surface (inference helpers, type-level behavior). |
61
61
  | [`./ayepi-core-client.md`](./ayepi-core-client.md) | the zod-free client entry: `sdk.call`/`on`/`url`, the manifest, and resilient `wsTransport`. |
62
+ | [`./ayepi-core-peers.md`](./ayepi-core-peers.md) | call **both ways on one WebSocket**: the server calls back the client that connected (`peers`, `client({ serve })`), with typed results, errors, streams, cancellation and reconnects. |
62
63
 
63
64
  ### Run it on a runtime
64
65
  | Doc | Open it when you need to… |
@@ -84,13 +85,15 @@ Cross-cutting conventions, true across the whole library:
84
85
  | --- | --- |
85
86
  | [`./ayepi-work.md`](./ayepi-work.md) · [`-ports`](./ayepi-work-ports.md) · [`-deps-schedule`](./ayepi-work-deps-schedule.md) | a typed **work/job engine**: retries, dependencies, scheduling, batching, distributed waits. The `Queue`/`Store`/`PubSub` ports + the bundled in-memory (optionally **file-backed/durable**) backend. |
86
87
  | [`./ayepi-files.md`](./ayepi-files.md) | an **S3-like, stream-first file store** with prefix listing + presigned upload/download URLs (filesystem impl + `mountFiles`). |
88
+ | [`./ayepi-sqlite.md`](./ayepi-sqlite.md) | **SQLite** backends on one file (better-sqlite3): the `@ayepi/work` `Queue`/`Store`/`PubSub` and an `@ayepi/rate` store, shared across processes. |
87
89
  | [`./ayepi-redis.md`](./ayepi-redis.md) | **Redis** backends: pub/sub `Broker` (multi-pod fanout) + a `@ayepi/work` `Store`/`PubSub` + a cache store. |
88
90
  | [`./ayepi-aws.md`](./ayepi-aws.md) | **AWS** backends: an **SQS** work queue (large payloads offloaded to **S3**) + an **S3** file store/presigner. |
89
91
 
90
92
  ### Tooling & composition
91
93
  | Doc | Open it when you need to… |
92
94
  | --- | --- |
93
- | [`./ayepi-mcp.md`](./ayepi-mcp.md) | expose a spec as schema-validated **[MCP](https://modelcontextprotocol.io) tools** executed against your app. |
95
+ | [`./ayepi-mcp.md`](./ayepi-mcp.md) | expose a spec as schema-validated **[MCP](https://modelcontextprotocol.io) tools** executed against your app; serve any tools, resources and prompts, including tools defined at runtime and filtered views per client; many endpoints by path with bearer auth; and call MCP servers with a typed client (Streamable HTTP, stdio or in process). |
96
+ | [`./ayepi-push.md`](./ayepi-push.md) | send **web push** notifications: VAPID keys and signing, `aes128gcm` payload encryption (and decryption, for tests), on WebCrypto with no dependencies. |
94
97
  | [`./ayepi-mock.md`](./ayepi-mock.md) | stand up a **mock server** that returns schema-valid fake data (deterministic seeding, auto pagination). |
95
98
  | [`./ayepi-codec.md`](./ayepi-codec.md) | round-trip rich values (`Date`/`BigInt`/`Map`/`Set`/`Error`/custom) through JSON. |
96
99
  | [`./ayepi-updown.md`](./ayepi-updown.md) | orchestrate **graceful startup/shutdown** with dependencies + liveness/readiness probes. |
@@ -105,10 +108,11 @@ Cross-cutting conventions, true across the whole library:
105
108
  - **Rate-limit or cache** → `./ayepi-rate.md` / `./ayepi-cache.md`.
106
109
  - **Log with request-scoped context** → `./ayepi-log.md` (+ `./ayepi-otel.md` for request logging).
107
110
  - **Emit events to clients across multiple instances** → core `Broker` + `./ayepi-redis.md`.
108
- - **Run background jobs / a durable queue** → `./ayepi-work.md` (prod backends: `./ayepi-redis.md`, `./ayepi-aws.md`).
111
+ - **Run background jobs / a durable queue** → `./ayepi-work.md` (prod backends: `./ayepi-sqlite.md`, `./ayepi-redis.md`, `./ayepi-aws.md`).
109
112
  - **Store & serve files** → `./ayepi-files.md` (S3: `./ayepi-aws.md`).
110
113
  - **Deploy** → `./ayepi-node.md` / `./ayepi-bun.md` / `./ayepi-deno.md` (Workers/edge: `./ayepi-core.md`).
111
- - **Expose as MCP tools / mock the API** → `./ayepi-mcp.md` / `./ayepi-mock.md`.
114
+ - **Expose as MCP tools, serve MCP resources/prompts, call an MCP server / mock the API** → `./ayepi-mcp.md` / `./ayepi-mock.md`.
115
+ - **Send web push notifications to browsers** → `./ayepi-push.md`.
112
116
  - **Graceful shutdown / health probes** → `./ayepi-updown.md` (flush logs via `logger.close()`).
113
117
  - **Build a modular, hot-pluggable app** → `./ayepi-plugin.md`.
114
118
  - **Find the breaking point / load-test / harden under load** → `./ayepi-stress.md`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayepi/context",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Pull ayepi's agent context into your repo — flatten ayepi.md + every installed @ayepi/* package's ayepi-*.md into one folder to point a coding agent at.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {