run402 3.7.5 → 3.7.6

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/README.md +5 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -103,7 +103,7 @@ jobs:
103
103
  steps:
104
104
  - uses: actions/checkout@v4
105
105
  - name: Deploy to run402
106
- run: npx --yes run402@1.60.0 deploy apply --manifest 'run402.deploy.json' --project 'prj_...'
106
+ run: npx --yes run402@3.7.5 deploy apply --manifest 'run402.deploy.json' --project 'prj_...'
107
107
  ```
108
108
 
109
109
  CI deploys can ship `site`, `functions`, `database`, and absent/current `base` changes. Route declarations are allowed only when the binding was linked with covering `--route-scope` patterns (`/admin` exact, `/api/*` final wildcard); no scopes means no CI route authority. Keep secrets, domains, subdomains, checks, non-current base changes, and out-of-scope routes in a local `run402 deploy apply` where the full allowance-backed authority is present.
@@ -138,7 +138,7 @@ run402 functions rebuild <id> --all # refresh every function in the project
138
138
  Functions run on Node 22 with `@run402/functions` auto-bundled. Inside the handler:
139
139
 
140
140
  ```ts
141
- import { db, adminDb, getUser, email, ai } from "@run402/functions";
141
+ import { db, adminDb, auth, email, ai } from "@run402/functions";
142
142
  ```
143
143
 
144
144
  `db(req)` is the caller-context client (RLS applies); `adminDb()` bypasses RLS for platform-authored writes.
@@ -266,14 +266,15 @@ Same content also at [`cli/llms-cli.txt`](./llms-cli.txt) in the repo. Treat tha
266
266
 
267
267
  ## Other interfaces
268
268
 
269
- `run402` is one of five surfaces:
269
+ `run402` is one of the public Run402 surfaces:
270
270
 
271
271
  - [`@run402/sdk`](https://www.npmjs.com/package/@run402/sdk) — typed TypeScript client (isomorphic + Node entry)
272
272
  - [`run402-mcp`](https://www.npmjs.com/package/run402-mcp) — MCP server (Claude Desktop, Cursor, Cline, Claude Code)
273
273
  - [`@run402/functions`](https://www.npmjs.com/package/@run402/functions) — in-function helper imported inside deployed functions
274
+ - [`@run402/astro`](https://www.npmjs.com/package/@run402/astro) — Astro SSR, ISR cache, hosted auth, and image integration
274
275
  - OpenClaw skill — script-based skill for OpenClaw agents
275
276
 
276
- All five release in lockstep at the same version and share `@run402/sdk` as the kernel.
277
+ The in-repo packages `run402`, `run402-mcp`, and `@run402/sdk` release in lockstep. `@run402/astro` and `@run402/functions` publish on their own cadences.
277
278
 
278
279
  ## License
279
280
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "run402",
3
- "version": "3.7.5",
3
+ "version": "3.7.6",
4
4
  "description": "CLI for Run402 — provision Postgres databases, deploy static sites, generate images, and manage wallets via x402 and MPP micropayments.",
5
5
  "type": "module",
6
6
  "bin": {